¿ªÔÆÌåÓý

Date

Locked SE8C - Adding Signal Heads as Turnouts to xml file

 

I have successfully created a few Signal Heads? (and then Signal Masts) to test my understanding of the process.? I then went to edit the raw xml file to create all 64 possible "turnouts" to use as signal heads for my 2 SE8C boards.? In the process, I noticed that there's a comment, the significance of which I can't seem to figure out.? In the xml file, it appears within the Turnout definition:

? ? <turnout feedback="MONITORING" inverted="false" automate="Off">
? ? ? <systemName>LT261</systemName>
? ? ? <comment>SignalHead::low</comment>
? ? </turnout>

(I hope that gets passed as text)

Running JMRI, and looking at the Turnout Table, it's in the 4th column, and appears as "SignalHead::low" or "SignalHead::high".? When I copied and pasted, I didn't pay attention to this comment.? After I created all 64, I noticed the comment, and the fact that it alternated - or so I thought.? But no, sometimes it's low > high for a pair of pairs, other times it's high > low.

So, two questions:

1.? Is this Comment just a comment?

2.? What's the significance of "low" or "high" in the comment???

Thanks,
Jeff


Locked Re: ESU in Atlas

 

Gary,
You should update from 4.10 to at least 4.12. I personally always go to the latest test release which is now 4.13.2.? ?

4.10 has some issues where it randomly changes your default connection preferences to internal and plays havoc with reading decoders.? ?
It is much more stable in 4.12 and beyond.

Tom Wilson


On Sun, Aug 12, 2018, 11:23 AM Gary Ray <gerber1926@...> wrote:

Dave, Tom, and Thomas,

?

Thank you for your help.? I used autodetect but did not read all the CV¡¯s.? I will do that when the owner brings his loco back (probably on the 20th).?

?

Programming on Program Track, EasyDCC system with SoundTraxx PTB-100 Programming Track Booster, Decoder Pro ver. 4.10+R429243e.

?

Gary Ray

?

?

?

From: [email protected] [mailto:[email protected]] On Behalf Of Dave Heap
Sent: Saturday, August 11, 2018 10:31 AM
To: [email protected]
Subject: Re: [jmriusers] ESU in Atlas

?

There is no inherent reason why you were unable to set a long address in a LokSound Select decoder, unless you were trying to do it in Program on Main. Changing long address in Program on Main is unlikely to work.

?

The Speed Table behaviour you see is by design. It is explained on the Speed Table Pane of the ESU decoder definitions and also at this link:

<>

?

Did you actually use Read Type from Decoder in JMRI to determine the correct model? You should always do this for ESU decoders.

?

What version of JMRI are you using? Always use the latest version with ESU (or other modern) decoders.

?

Please read (or reread) the entire message I posted a few hours ago:

That message has important information about ESU V4 and Select decoders.

?

--?

Dave in Australia

?

The New England Convention 2018


On 11 Aug 2018, at 11:06 PM, Gary Ray <gerber1926@...> wrote:

A friend of mine brought over an Atlas RS-3 to be programmed and I was able to give it a 2 digit address but not 4 digit.? It has the ESU LokSound Select Sound-Decoder.? Also speed curve could not be changed other than readjusting the end value and the linear (straight) line speed is reduced.? Any ideas about 4 digit addressing?

?


Virus-free.


Locked Re: Unable to select command station consist in consist manager

 

No
Thats a pr3 connected to a? command station in regular mode.??
Steve G.


Locked Re: Unable to select command station consist in consist manager

 

On Aug 12, 2018, at 1:54 PM, Steve_G <RailRodder@...> wrote:
Command station consisting It is not enabled for PR3, it is enabled for "loconet over tcp" and LocoBuffer and appears to be enabled LocoBuffer II.
Ok, but that is PR3 As a command station right? ( I.e. the mode that allows using the PR3¡¯s programming track outputs ). It should be anyway.

Paul


Locked Re: Unable to select command station consist in consist manager

 

Command station consisting It is not enabled for PR3, it is enabled for "loconet over tcp" and LocoBuffer and appears to be enabled LocoBuffer II.

Steve G.


Locked Re: ESU in Atlas

 

¿ªÔÆÌåÓý

Dave, Tom, and Thomas,

?

Thank you for your help.? I used autodetect but did not read all the CV¡¯s.? I will do that when the owner brings his loco back (probably on the 20th).?

?

Programming on Program Track, EasyDCC system with SoundTraxx PTB-100 Programming Track Booster, Decoder Pro ver. 4.10+R429243e.

?

Gary Ray

?

?

?

From: [email protected] [mailto:[email protected]] On Behalf Of Dave Heap
Sent: Saturday, August 11, 2018 10:31 AM
To: [email protected]
Subject: Re: [jmriusers] ESU in Atlas

?

There is no inherent reason why you were unable to set a long address in a LokSound Select decoder, unless you were trying to do it in Program on Main. Changing long address in Program on Main is unlikely to work.

?

The Speed Table behaviour you see is by design. It is explained on the Speed Table Pane of the ESU decoder definitions and also at this link:

<>

?

Did you actually use Read Type from Decoder in JMRI to determine the correct model? You should always do this for ESU decoders.

?

What version of JMRI are you using? Always use the latest version with ESU (or other modern) decoders.

?

Please read (or reread) the entire message I posted a few hours ago:

That message has important information about ESU V4 and Select decoders.

?

--?

Dave in Australia

?

The New England Convention 2018


On 11 Aug 2018, at 11:06 PM, Gary Ray <gerber1926@...> wrote:

A friend of mine brought over an Atlas RS-3 to be programmed and I was able to give it a 2 digit address but not 4 digit.? It has the ESU LokSound Select Sound-Decoder.? Also speed curve could not be changed other than readjusting the end value and the linear (straight) line speed is reduced.? Any ideas about 4 digit addressing?

?


Virus-free.


Locked Re: Layout editor and block numbering problems

 

Paul,

For me, the easiest method is to never create a Block. When I am creating a Layout Editor panel, I assign a block ¡°user" name to the track component using the Edit context menu. If it is a new user name, the system will create the block automatically with the next available IBnnn.

Dave Sand

On Aug 12, 2018, at 11:56 AM, paul@... wrote:


If I open the block table and select the 'Add' button I can then add 1 or more blocks. If I specify a block system name (e.g. IB1 ) and check 'Add a sequential range' I get blocks generated with system names of IB1, IB1:1 IB1:2 and so on. If I then edit a track segment on using the layout editor using the edit option on the segment's popup menu and select one of the 'IBx:y' system names as the block name for the block and hit 'Done' the dialogue doesn't close and the system log shows a null pointer exception. Conversely if I use the layout editor to create a new track segment and select one of the 'IBx:y' system names in the Block Name: drop down list *(e.g. IB1:3) a new track segment is created OK and assigned to newly created block with 'IB1:3' as the user name, so I now have two different blocks, one with IB1:3 as the system name and one with it as the user name. At the moment I suspect the easier approach is for me to generate a range of blocks with simple IB1, IB2, IB3 numbering manually.

I'm using version 4.13.2.

Regards

Paul


Locked Layout editor and block numbering problems

 


If I open the block table and select the 'Add' button I can then add 1 or more blocks. ?If I specify a block system name ?(e.g. IB1 ) and check 'Add a sequential range' I get blocks generated with system names of IB1, IB1:1 IB1:2 and so on. ?If I then edit a track segment on using the layout editor using the edit option on the segment's popup menu and select one of the 'IBx:y' system names as the block name for the block and hit 'Done' the dialogue doesn't close and the system log shows a null pointer exception. ?Conversely if I use the layout editor to create a new track segment and select one of the 'IBx:y' system names in the Block Name: drop down list *(e.g. IB1:3) a new track segment is created OK and assigned to newly created block with 'IB1:3' as the user name, so I now have two different blocks, one with IB1:3 as ?the system name and one with it as the user name. ?At the ?moment I suspect the easier approach is for me to generate a range of blocks with simple IB1, IB2, IB3 numbering manually.

I'm using version 4.13.2.

Regards

Paul


Locked Re: Unable to select command station consist in consist manager

 

On Aug 12, 2018, at 12:06 PM, gritcityrailroad@... wrote:

Thanks. I thought I saw it enabled a couple of versions ago although I was probly mistaken. I just figured I did something to disable it.
Please double check your defaults.

On my Linux machine, I have noticed the default for Consist sometimes hides off the edge of the screen. Make sure it is set for your LocoNet connection.

Paul


Locked Re: Unable to select command station consist in consist manager

 

¿ªÔÆÌåÓý

Steve G,





On Aug 12, 2018, at 11:53 AM, Steve_G <RailRodder@...> wrote:
I noticed it a long time ago (yrs?) and then forgot about it,I can fix it this aft (my time), if someone doesn't get there first.

I just checked with my DB150, using the head of master from about 12 hours ago, and it is enabled there. ?It¡¯s been that way since I created the LocoNet Consist Manager ( back in 2011 ). ?Prior to that, the generic Consist managers were used.

On the LocoNet side of things, this is not done in a command station specific way, the system connection memo enables while configuring managers.

Currently, the only thing that really could cause this is the default for Consist could be set to internal, which would prevent a command station Consist. ?( the generic managers supported by the internal option only support decoder assisted consists).

The preference option for the consist manager is relatively new. It was only added last year. ?If you haven¡¯t updated your defaults since that choice was added, it is possible a generic Consist manager is being used when you don¡¯t want it to be.

Paul


Locked Re: Unable to select command station consist in consist manager

 

Thanks. I thought I saw it enabled a couple of versions ago although I was probly mistaken.? ?I just figured I did something to disable it.


Locked Re: Athern Genesis F45

 

You'll never find it if you spell it "Athern". ~} My spell checker even highlights it in this reply!
Andy Jackson
Santa Fe Springs








;
Andy Jackson
Santa Fe Springs CA



Locked Re: Unable to select command station consist in consist manager

 

Paul,
I noticed it a long time ago (yrs?) and then forgot about it,I can fix it this aft (my time), if someone doesn't get there first.
Steve G.


Locked Re: Engine Driver Consists & functions

 

Mark,
what labels do you have set for buttons F1 and F2 ?

e.g? "Bell" and "Whistle" or "Horn", or something different?

Peter


Locked Re: Unable to select command station consist in consist manager

 

¿ªÔÆÌåÓý



On Aug 11, 2018, at 10:35 PM, Steve_G <RailRodder@...> wrote:

Hi Steve.
You are not missing anything, it's not enabled.
Steve G.

The LocoNet Consist Manager, which creates consists ( both ¡°Universal¡± and Advanced ) in the LocoNet specific manner prescribed by Digitrax, is supposed to be enabled on all Digitrax command stations. ?If that isn¡¯t the case any longer, then that is a bug we need to fix.

Paul_._,_._,_


Locked Re: Script Closing Serial Ports Question

 

Hi Bob,
Thanks much! That was simple and worked perfectly (and I should have thought of it myself!).
Much appreciated.
Have fun!? :-)
Best regards,
Geoff Bunza


Locked Re: What is the best way to get a number or characters from devices into JMRI

 

I think it¡¯s been mentioned, but check out Those scripts are a very efficient way to get analog values (i.e. numbers) and digital bits into JMRI from an Arduino via a serial port.

Bob

On Aug 11, 2018, at 5:49 PM, JerryG via Groups.Io <jerryg2003@...> wrote:

Thanks for the ideas. I see a lot of experimenting ahead..

I¡¯m currently connecting the Arduinos as C/MRI SMINI nodes which doesn¡¯t suit my new purposes at all, allowing only sensor and turnout input (that is, zero or one) to JMRI. I need an interface where I can load JMRI memories (or reporters) with data so I can get numbers and characters from the layout to JMRI.

Jerry
--
Bob Jacobsen
rgj1927@...


Locked Re: Script Closing Serial Ports Question

 

You have to leave a reference to the SerialPort object (I.e. the thing that was returned when you called ¡°open(..)¡± ) somewhere you can get it. Once you have that, you can call ¡°close¡± on it whenever you want;

I.e. if you have

self.port = self.portID.open("JMRI", 50)

you need to keep that object around so you can later do

self.port.close()


Or store it in a global variable or whatever.

Bob

On Aug 11, 2018, at 8:07 PM, Geoffb <gbglacier@...> wrote:

Hi,
Question: I have a functioning script cal it scriptA working well using a serial port successfully as the input and output stream.
If I kill the script, the port is left open.
Is there a way to run a second script (call it scriptB) that can close the I/O streams and the previously opened port successfully?
The port is static, ie. the port can be explicitly known to both scripts.

The fact that the port remains open, prevents scriptA from being re-run.
Alternatively, can scriptA check to see if the port is already open and re-acquire it?

Any help, including specific scripts or pointers in the right direction would be much appreciated.
Thanks. Have fun! :-)
Best regards,
Geoff Bunza
--
Bob Jacobsen
rgj1927@...


Locked Re: Multiple turnouts on one address using functions?

 

JMRI¡¯s ¡°Turnout¡± concept is about _accessory_ decoders. They¡¯re operated completely differently from how locomotive-style decoders are operated.

But you can write scripts to do this relatively easily:

*) Create an ¡°Internal¡± turnout for each of your real turnouts. Call it whatever you want, with let¡¯s say a user name like 200F12 (really doesn¡¯t matter).
*) Do that for the entire group that runs on one address
*) You can now put those on panels, etc.

To connect them to your hardware
*) Start with the "jython/ThrottleFunctionForLight.py¡± script. It _almost_ does what you want, except it works from an internal Light instead of an internal Turnout. So you¡¯ll have to change ON to THROWN, OFF to CLOSED, and a few ¡°Light¡± references to ¡°Turnout¡±. But once that¡¯s done, whenever you change the internal turnouts mentioned above, e.g. on a panel, the script will notice that and send the corresponding function control.

Bob

On Aug 11, 2018, at 11:43 AM, Don Babcock via Groups.Io <donbab48@...> wrote:

Bob,

I can't tell you how to do it from a Digitrax throttle. I'm not a Digitrax guy and don't wnat to start a war by explaining why.

From any other system, I set the address for the decoder and press the function key that controls that turnout. Both NCE and Engine Driver ( the two systems I use at home) give me an indication of the state of the turnout.

What I want to do is set up a graphic indication under panel pro. I blindly assumed that a decoder for multiple turnouts used functions when I was building. It's my fault that I didn't check earlier that they used separate addresses for separate turnouts. Just trying to find a workaround.

Thanks for pointing to scripting. I'll take a look to see if I can handle that. It's been a few years since the days when I taught low level programing.
--
Bob Jacobsen
rgj1927@...


Locked Re: Unable to select command station consist in consist manager

 

Hi Steve.
You are not missing anything, it's not enabled.
Steve G.

On August 11, 2018 12:12:36 PM EDT, gritcityrailroad@... wrote:
I Unable to select command station consist in the consist manager. The selection button is greyed out. I am running JMRI 4.12 on a raspberry pi. My commanf station isa digitrax DCS 240. All of my preferences are set to loconet. I am able to create advanced consisting. I'm thinking im missing something simple.

Steve

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.