¿ªÔÆÌåÓý

Date

Locked Re: Expanding signalColorType with additional colors

 

You can omit the <show> elements.

On the screen, JMRI displays little icon files. Those don¡¯t depend on what <show> says.

On the layout, JMRI has to drive hardware to display the right appearance. That¡¯s done through various kinds of signal masts. Some of those depend on the <show> elements, some don¡¯t. The ones that do use <show> won¡¯t work unless that¡¯s there, but others will.

Bob

On Jan 31, 2020, at 8:32 AM, tnt23 <tim.tashpulatov@...> wrote:

If the <show> tags can be totally left out, this would also suit me.

Is there a particular type of signal mast you¡¯d like to start with? I could look more specifically.
I am starting with the simple (and cute) dwarf signal, see the picture. Carrying two lights, Lunar and Blue, it can dispay two aspects: Blue = Stop, Lunar = Proceed.



I have copied XML files from Basic signalling setup, and edited appearance files a bit. When running XML check I get error message regarding non-standard color (Blue) in <show> field.

Regards
Tim


--
Bob Jacobsen
rgj1927@...


Locked Re: Resetting Digitrax Decoder to factory defaults

 

The reset operation in the menu bar sends the commands to have the decoder do a local reset. You should do a Read All Sheets after that to make sure DecoderPro knows the new values.

The button to set to defaults sets DecoderPro¡¯s values to the values in the decoder definition. You should do a Write All Sheets after that to make sure the decoder is updated with the new values.

Bob

On Jan 31, 2020, at 8:16 AM, Dale DeWitt <dcdewitt@...> wrote:

I have a couple of Digitrax motor decoders that need to be reset to factory defaults. When I choose reset to default in JMRI, does that simply reset the JMRI values shown on the screen to the template defaults or does it actually reset the decoder its self to the default settings. Pardon this very basic question.
--
Bob Jacobsen
rgj1927@...


Locked Re: Resetting Digitrax Decoder to factory defaults

 

¿ªÔÆÌåÓý

Dale,

?

From the Digitrax ¡°Mobile and Sound Decoder Manual, Second Edition¡± (updated 11/17):

?

QUOTE

10.1 Factory Reset CV: 08

?

CV08 is the factory reset CV for all FX3 decoders.

?

For Series 3, 4, 5, & 6 decoders, reset all CV values to their factory default,

program CV08 to a value of 008. This will also cause sound projects to revert

to the factory installed project.

?

For Series 3, 4, & 5 decoders, reset all CV values except for 28 step speed

tables to their factory values set CV08 to a value of 009. For Series 6 sound

decoders, programming CV08 to 009 will also preserve the current sound project

selected by CV60.

END QUOTE

?

IIRC, the Series 3 decoders were the first with a factory reset option.

?

HTH,

Ross

?

From: [email protected] <[email protected]> On Behalf Of Dale DeWitt
Sent: Friday, January 31, 2020 11:16 AM
To: [email protected]
Subject: [jmriusers] Resetting Digitrax Decoder to factory defaults

?

I have a couple of Digitrax motor decoders that need to be reset to factory defaults.? When I choose reset to default in JMRI, does that simply reset the JMRI values shown on the screen to the template defaults or does it actually reset the decoder its self to the default settings.? Pardon this very basic question.

Dale

_._,_._,


Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#168886) | Reply To Group | Reply To Sender | Mute This Topic | New Topic

Your Subscription | Contact Group Owner | Unsubscribe [Ross_Kudlick@...]

_._,_._,_


Locked Re: Expanding signalColorType with additional colors

 

If the <show> tags can be totally left out, this would also suit me.

Is there a particular type of signal mast you¡¯d like to start with? I could look more specifically.
I am starting with the simple (and cute) dwarf signal, see the picture. Carrying two lights, Lunar and Blue, it can dispay two aspects: Blue = Stop, Lunar = Proceed.

Image result for §Þ§Ñ§ß§Ö§Ó§â§à§Ó§í§Û §ã§Ó§Ö§ä§à§æ§à§â

I have copied XML files from Basic signalling setup, and edited appearance files a bit. When running XML check I get error message regarding non-standard color (Blue) in <show> field.

Regards
Tim



Locked Resetting Digitrax Decoder to factory defaults

 

I have a couple of Digitrax motor decoders that need to be reset to factory defaults.? When I choose reset to default in JMRI, does that simply reset the JMRI values shown on the screen to the template defaults or does it actually reset the decoder its self to the default settings.? Pardon this very basic question.

Dale


Locked Re: Expanding signalColorType with additional colors

 

It¡¯s straight-forward to allow additional colors in the XML files.

But it¡¯s not clear what they should _do_. Most (perhaps all) of the code wouldn¡¯t know about those if they occurred in the file.

Is there a particular type of signal mast you¡¯d like to start with? I could look more specifically.

Bob

On Jan 31, 2020, at 6:41 AM, tnt23 <tim.tashpulatov@...> wrote:

Thanks Petr, will do.

My question stems from optional <show> elements in Aspects definition:

<appearance>
<aspectname>Clear</aspectname>
<show>green</show>
<show>red</show>
<reference></reference>
<delay></delay>
<imagelink></imagelink>
</appearance>

The ?SD signalling scheme does not use them. What are they used for?

Regards
Tim
--
Bob Jacobsen
rgj1927@...


Locked Re: Working offline with version 14

John
 

Thank you Dave,

After some trial and error, the problem has been resolved. When the simulator window first opened, I expected to see something in it. When I tried to open a file in it, the need for a hex file was confusing. Finally, I just ignore it and went on quite successfully.

Thanks again for your help,

John


On Wed, Jan 29, 2020 at 9:46 PM Dave Sand <ds@...> wrote:
John,

Yes, as long as the "User Files Location" for both profiles have the exact same file path.? If you are also doing decoder programming, you want to make sure the "Roster Location" for each profile matches.

Use "Help >> Locations..." to see the current location information.

If you go to Preferences >> Config Profiles, at the bottom of the screen you can enable "Show profile selector".? This makes it easy select the proper profile based on the layout connection state.

Dave Sand


----- Original message -----
From: John <gross144john@...>
Subject: Re: [jmriusers] Working offline with version 14
Date: Wednesday, January 29, 2020 9:22 PM

So, once a simulator protocol is created, I can move back and forth between online and offline mode without losing any of the programming that has been done as long as I switch to simulator mode when opening panel pro offline?

Thank you,

John

On Wed, Jan 29, 2020 at 5:10 PM Dave Sand <ds@...> wrote:

John,

When you want to work offline, you need to use a simulation profile.? For example, if you normally have an NCE connection, the simulation profile would use the NCE Simulator.? Most the connection types will have a simulation mode.

Since the simulation profile will have its own default location for panels and rosters, you will need to use Preferences >> File Locations to change the "User Files Location" to your regular location.


Dave Sand


----- Original message -----
From: John <gross144john@...>
Subject: [jmriusers] Working offline with version 14
Date: Wednesday, January 29, 2020 4:14 PM

Yesterday everything was working correctly: turnouts, sensors, signals, blocks. Today I tried to work offline. Everything in the tables was converted to internal devices. I tried opening some backups of the XML files and most, not all, of the devices were now missing from the tables and what was there was still internal. Offline work seems to be a mistake. Is there a way to recover from this mistake?

I am using windows 8 on an ASUS notebook.

Thanks,

John





Locked Re: Latest test version Ops Pro not building #operationspro

 

And many thanks Dan for your help!

I have some further questions but I'll start new threads as they are unrelated.

Thanks again!

John


Locked Re: Expanding signalColorType with additional colors

 

Thanks Petr, will do.

My question stems from optional <show> elements in Aspects definition:

<appearance>
    <aspectname>Clear</aspectname>
    <show>green</show>
    <show>red</show>
    <reference></reference>
    <delay></delay>
    <imagelink></imagelink>
  </appearance>
The ?SD?signalling scheme does not use them. What are they used for?

Regards
Tim


Locked Re: WiThrottle crash? #withrottleserver

 

Thanks Steve I will run the debugging.

Would a WireShark log be at all helpful?

Dave


Locked Re: WiThrottle crash? #withrottleserver

 

Dave,?
If the problem persists, it would be helpful if you could enable WiThrottle server debugging and post your session.log file after some of these crashes. Steps to enable this are here:?
--SteveT


Locked Re: WiThrottle crash? #withrottleserver

 

Hey Dave,
Yes, that looks like a crash in a WiThrottle Server instance. Do you have several of those at nearly the same time, or are they at different times?

Most recent Android versions try to use cell data, but that prevents the initial connection, I've not heard of it causing drops later. More info on that here:?

I don't see any recent changes to this code, so I'm not sure why you're seeing this now when you did not before.

--SteveT


Locked Re: Expanding signalColorType with additional colors

 

Look at ?SD ¨C Czechoslovak State Railways signaling
States in §³§¿§£ organization used common signaling system §°§³§¨§¥.
There are several signal decoders for this signaling system at

--
Petr ?¨ªdlo
Czech Republic


Locked Expanding signalColorType with additional colors

 

Hi,

What would be the easiest way of adding colors to signalColorType? I want to create Signalling System for Russian railways, where blue is often used on dwarf signals for shunting.

§¬§Ñ§â§ä§Ú§ß§Ü§Ú §á§à §Ù§Ñ§á§â§à§ã§å §Ü§Ñ§â§Ý§Ú§Ü§à§Ó§í§Û §ã§Ó§Ö§ä§à§æ§à§â

Regards
Tim


Locked Re: Document source.

 

Stephen,

As Marc says, this is stored in our GitHub repository.

That specific page is at:



For a simple change like this, you can propose the changes directly in the GitHub portal (you will need a GitHub account) - see?

Hope that this helps & thanks for the interest in aiding us improve our documentation.

Best regards,

Matt H


Locked Re: Document source.

 

I believe you must get on GITHUB? JMRI and get the code, add to the code and then upload your changes for inclusion in JMRI.



Maybe there is a simpler way to add to the HELP.

Marc


Locked Document source.

 

Hi All,
I am new to this game.
I would like to add a note to the jmri help page titled
JMRI Code: Building with NetBeans
Where do I find this file in jmri?
Yours Sincerely
Stephen Grant Brown


 

Since 4.18 I've been running the console all the time during my session and tonight with 6 smartphone throttles running there were repeated Engine Driver / WiTHrottle drop outs. Androids seemed to recover automatically and iPhones dit not.?


Scanning through the console log I see this:?

2020-01-30 20:40:57,487 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [DeviceServer-335]

java.util.ConcurrentModificationException

at java.util.HashMap$HashIterator.nextNode(HashMap.java:1445)

at java.util.HashMap$KeyIterator.next(HashMap.java:1469)

at java.util.AbstractCollection.toArray(AbstractCollection.java:141)

at java.util.ArrayList.<init>(ArrayList.java:178)

at jmri.jmrit.withrottle.MultiThrottle.passActionsToControllers(MultiThrottle.java:212)

at jmri.jmrit.withrottle.MultiThrottle.handleMessage(MultiThrottle.java:70)

at jmri.jmrit.withrottle.DeviceServer.run(DeviceServer.java:218)

at java.lang.Thread.run(Thread.java:748)

2020-01-30 20:41:03,499 withrottle.FacelessServer ? ? ? ? ? ? INFO? - Creating new WiThrottle DeviceServer(socket) on port 12090, waiting for incoming connection... [WiThrottleServer]


Seems like WiThrottle crashed and re-started am I correct in seeing that. Also is it correct that the DeviceServer -335 is a little high 1h40" into a session with only 6 throttles?

With the session complete I will upgrade from 4.19.1 to 4.19.2 - will I see a difference I wonder?

Also I'm wondering about how the client act when the router is not connected to the internet (it's a stand alone) some phones were trying to use cell data - and might this be resulting in the phone dropping off of the withrottle server?

Thanks,
Dave


Locked Re: Latest test version Ops Pro not building #operationspro

 

John was able to supply me with a set of his operations files.? What we found is that one of his trains was building when the operation files were saved.? Only one train can build at a time, so when the files were loaded the train status was "Building", but the build would never complete as there isn't code in the program to restart a build in progress upon the restart of operations.? The solution was to reset the train that was "Building" before trying to build another train.? The next test release will when loading the operations files, will also check to see if a train is in the building state, and if so, reset it, rather than trying to restart a build that was in progress.

Dan


Locked Re: back up to another commuter

Jay
 

I concur with Ross,
All of my roster & the other necessary files live on Dropbox.
I share it between my PC & Mac.
Also, when a new version of JMRI comes out, I don't have to worry about losing anything.
Just do the install & go!

Jay