¿ªÔÆÌåÓý


Re: Virtual sound setup #esu

 

¿ªÔÆÌåÓý


The "LokPilot 5 Basic" is a different decoder to a "LokPilot 5".? ? Startup delay is a feature in a "LokPilot 5" and not a feature in a "LokPilot 5 Basic".? ?
So, if you have a "LokPilot 5 Basic" fitted to the locomotive, you're trying to do something the decoder doesn't support.??

I suspect you have the manuals crossed over - the ESU website downloads offer different manuals for the two decoders.? ?


- Nigel


------ Original Message ------
From "ted via groups.io" <ted@...>
Date 06/05/2025 09:47:44
Subject [jmriusers] Virtual sound setup

Hi
I hope this is an appropriate place to ask this question. I'm attempting to set up a two unit consist using a Loksound 5 and a Lokpilot 5 Basic and I'm running decoderpro. The problem is with the startup delay on the Lokpilot. The "delay starting if drive sound enabled" box on the Advanced screen has been ticked, same with the box on the Sound screen. I've created an entry for virtual sound in the function map and set it up on F8 and it appears in the throttle for the Lokpilot loco. I've set F8 to be accessible to the consist but so far I've not been able to get the delay to work. Do I need to specify the length of delay somewhere? I've read that this should be directly with a cv, 124 I think, but this is dedicated to other functions. Elsewhere? I've read that 128 should be used for this but that is dedicated to Max Speed in AC mode.? In the Lokpilot 5 Basic manual I am directed to cv252 but my interface for the Lokpilot 5 Basic in Decoderpro does not have a cv252.
I'm clearly missing something here, can anyone help. Apologies if this is thought to be a query more suited to another forum eg for ESU decoders, but it seems to fall into a space between.....
Thanks
Ted


Re: Peco 3 way points

 

Hello Mike. I set up? a logix for it. I also added 2 virtual turnouts which are used on the layout editor. While straight ahead is straightforward, it is the sides that cause problems. Before you can use for example the lH turnout, you have to make sure that the RH is straight, and vice versa.
So on a 3 way, I have where S is the connection, X is the turnout number, t is the turnout, and V is the virtual
SXt (V)? ? ? Left hand virtual turnout
SXt,? ? ? ? ? ?Left hand real turnout
SX+1t, (V) Right hand virtual turnout
SX+1t? ? ? ?Right hand real tournout
?
The logic would go something like
if SXt (V) is thrown
? then?
? ? ?close SX+1t
? ? ?delay throw SXt
? ? ?delay close SX+1t (V)
endif
?
change the order for the other side
if SX+1t (V) is thrown
? then?
? ? ?close SXt
? ? ?delay throw SX+1t
? ? ?delay close SXt (V)
endif
?
?
This has worked well on my last layout and will be used on my next one as well.
I hope you understand it.
Chris
Ceo Bondale Railway


Re: Peco 3 way points

 

On May 6, 2025, at 8:03?AM, Phil G via groups.io <phil@...> wrote:

I just looked at
Looks to me like two regular points that happen to overlap. At least, that¡¯s how I treat my Roco 3-ways
I think the problem is that two turnouts have four possible states, but only three of them are mechancially safe. Referring to the image in the link above, the 3-way must not be set to ¡°left-most points up, right-most points down¡± because the point motors will be fighting each other.

Bob

¡ª
Bob Jacobsen
rgj1927@...


Re: Peco 3 way points

 

¿ªÔÆÌåÓý

I just looked at?

Looks to me like two regular points that happen to overlap. At least, that¡¯s how I treat my Roco 3-ways

One controls the route from the toe to the first exit OR to either of the second/third. Then the other point controls which of the two it is

Phil G

On 6 May 2025, at 11:21, Mike Johnson via groups.io <919.mike@...> wrote:

?
I'm new to JMRI, and have been charged with re-wiring a layout and making it work.?I've managed to draw the layout in PanelPro and assign turnout numbers, and get crossovers working, but that is as far as I've got.
?
There are about 6 peco 3 way turnouts, I've drawn each of them as 2 separate sequential turnouts, but they cannot work like that. They need special treatment, which is currently beyond me.
?
The 2 pairs of point blades are very close together such that the blades need to be set to the mid straight route before being set left or right. Some are also parts of crossovers just to make things more interesting.
?
What is the simplest way to do this ?
?
Mike Johnson
?
?
?


Re: Manifests: Why print all at once before an Op Session? #operationspro

 

SteveT: Newbie Learning, I'm interested in your conductor video.
--
Ken
NYNH&H, Old Colony Division, Cape Cod Branch (1949-1959)
Loconet * JMRI 5.11.5 * OSX,Win10,Ubuntu
Blog: ?
Youtube:


Re: Peco 3 way points

 

The two points are controlled by two control devices.
You essentially have two turnouts.
Control them like two turnouts.
?
You could create a selector using Logix or LogixNG and select with panel buttons.
I'd be inclined to create 3 routes in JMRI and operate them with route selector buttons on a panel.
Depending upon your hardware, you might be able to set this up in your controller hardware.
I have hardware that will let me make a selector out of multiple turnouts (I use for yard ladder).
--
Ken
NYNH&H, Old Colony Division, Cape Cod Branch (1949-1959)
Loconet * JMRI 5.11.5 * OSX,Win10,Ubuntu
Blog: ?
Youtube:


Re: NCE ProCab- Light-it as signal decoder - Simultaneous commands #nce

 

Dave, at the time I was using lightits my ABS logix was pretty simple.?

If next block occupied or switch thrown, signal red
if next block clear and next block occupied, signal approach
If next 2 blocks clear, signal clear.?

At the time I didn¡¯t use signal to signal communication (if next signal approach, set to clear etc).
?
I would never have random signals to change. It was always the signal I wanted to change would be the problem. I also had additional logix to control approach lit signals AND I am using 2 and 3 headed signals, so lots of commands. So if Signal A was supposed to change from all dark to say a clear (GRR), you¡¯d get GDR. Or DRD. D for dark. Very frustrating. If the signal was GRR and train went past, sometimes it would just stay GRR. On your dispatchers panel it would show the correct aspect to the logix, not what the signal shows. It¡¯s like the light-it just missed it.?

Lou
--
Modeling Conrail¡¯s Boston Line in HO


Re: Manifests: Why print all at once before an Op Session? #operationspro

 

For my ops sessions I print the entire session on one day, but I go through the session incrementally.? I start building several trains in sequence and then use the MOVE function to simulate the session.? If the trains interact with each other, I will use the MOVE function to have the trains meet.? Cars are exchanged in OpsPro and then I MOVE and terminate the trains and build the next series of trains.? After doing this for the entire session I have all my paperwork ready for operations.? If a train's schedule has it on the road while other trains exchange cars in the yard, I simply MOVE the train that does not interact with the others to a location on the route that does not interact with the other trains and hold it there.? The other trains exchange cars at the yard, move and terminate.? Then I run the train I held through the rest of its moves until it returns to the yard to be terminated.
?
That method has worked well for me for several years.
?
Bob


Peco 3 way points

 

I'm new to JMRI, and have been charged with re-wiring a layout and making it work.?I've managed to draw the layout in PanelPro and assign turnout numbers, and get crossovers working, but that is as far as I've got.
?
There are about 6 peco 3 way turnouts, I've drawn each of them as 2 separate sequential turnouts, but they cannot work like that. They need special treatment, which is currently beyond me.
?
The 2 pairs of point blades are very close together such that the blades need to be set to the mid straight route before being set left or right. Some are also parts of crossovers just to make things more interesting.
?
What is the simplest way to do this ?
?
Mike Johnson
?
?
?


Virtual sound setup #esu

 

Hi
I hope this is an appropriate place to ask this question. I'm attempting to set up a two unit consist using a Loksound 5 and a Lokpilot 5 Basic and I'm running decoderpro. The problem is with the startup delay on the Lokpilot. The "delay starting if drive sound enabled" box on the Advanced screen has been ticked, same with the box on the Sound screen. I've created an entry for virtual sound in the function map and set it up on F8 and it appears in the throttle for the Lokpilot loco. I've set F8 to be accessible to the consist but so far I've not been able to get the delay to work. Do I need to specify the length of delay somewhere? I've read that this should be directly with a cv, 124 I think, but this is dedicated to other functions. Elsewhere? I've read that 128 should be used for this but that is dedicated to Max Speed in AC mode.? In the Lokpilot 5 Basic manual I am directed to cv252 but my interface for the Lokpilot 5 Basic in Decoderpro does not have a cv252.
I'm clearly missing something here, can anyone help. Apologies if this is thought to be a query more suited to another forum eg for ESU decoders, but it seems to fall into a space between.....
Thanks
Ted


Re: NCE ProCab- Light-it as signal decoder - Simultaneous commands #nce

 

¿ªÔÆÌåÓý

Ken, Lou, Dave, John and any others following this thread,

Regarding Ken's question 1 Can you test, or have you observed, signals changing in parts of the layout that should not be getting any commands addressed to them?

My observations report the answer to be 'no'.

Regarding Ken's question 2 Is a change in a single block causing a change (directly) in an signals not directly protecting that block?

again, for me, the answer is 'no'.

In other words, I'm not at all getting signals updating to or switching to aspects not intended; only missing out on aspects intended.

Ah sweet mystery.....

Nimble

=======================================

On 6/05/2025 8:03 am, Ken Cameron wrote:

I have an important question about those using the Light-It as a signal decoder and having trouble.

?

Can you test, or have you observed, signals changing in parts of the layout that should not be getting any commands addressed to them?

?

Also, about the logic these people are using: Is a change in a single block causing a change (directly) in an signals not directly protecting that block? A signal changing in response to seeing another signal change is considered for this question to not be a direct change cause.

?

-Ken Cameron, Member JMRI Dev Team

?

?


Re: NCE ProCab- Light-it as signal decoder - Simultaneous commands #nce

 

¿ªÔÆÌåÓý

Thanks Lou, you seem to have been on a similar journey to that which I now find myself.

I too have used additional 5amp boosters. One each for three rail 'districts', one to drive the Tortoise machines [Switch 8's], one for signalling, and another for general layout lighting.

I've queried RRCircuits regarding purchasing in Australia [awaiting a response]. Seems like they don't have a local distributor here; and the hobby shops here, such as they are, don't stock their boards.

Nimble

===============================

On 6/05/2025 1:51 am, louis.dirosso via groups.io wrote:

For what it¡¯s worth, I should have listened to Dick (RRCircuit founder) and went LCC from the get go. Like you, I tried to keep everything in house with NCE figuring it would be easier and it made sense¡­ until I tried it.?

The beauty of the signalman is you can use them on LCC or DCC. For now, I use them on DCC, but if I ever do a significant wiring project or layout reconstruction I will convert to LCC.?

Also, I upgraded my DCC power. I use a NCE 5amp booster / command station as a base.l, but all my accessory decoders (switch-it, signalman, turn out power, lights etc) are run off a dedicated 5amp booster from Tam Valley. I¡¯ve heard this cleans up the DCC bus when sending complicated and multiple signal commands.
?
My layout is divided into 3 power districts using the NCE booster and 2 other Tam Valley boosters.

All my signals are controlled with my own Logix. Everything runs Automatic Block unless I check a ¡°CTC¡± box on my panel, in which case all signal logix looks for a sensor to be clicked to release each signal. Once you release a signal, the ABS allows it to change to whatever aspect it need be, all while looking at the next signal (which is red until released), similar to real life CTC systems.
?
Lou
--
Modeling Conrail¡¯s Boston Line in HO


Re: NCE ProCab- Light-it as signal decoder - Simultaneous commands #nce

 

¿ªÔÆÌåÓý

Thanks again Ken, I appreciate your thoughts.

Just performed some further testing.

EXAMPLE

This time,? Logix is as follows:

If sensor A = [changes to] Active, then set signal 1 to 'red'.

If signal 1 = 'red', then set signal 2 to approach.

If signal 2 = 'approach' then set signal 3 to 'clear'

I multiplied this out over 12 signals in a loop, and still got errors, mostly on the 'approach' aspect not updating - sometimes, but not always the same signal! One pass of the loco around the loop and [say] signal 7 might not update to 'approach', but next pass it does [but signal 9 may miss an update instead...]

Pretty much got the 'red' aspect ok. This is usually the case with various logic patterns I've tried.

Usually get the aspect 'clear' ok.

I'm not sure how much simpler one can make it; to me it doesn't seem that demanding.

The issue still appears to be my NCE system being unable to process more than one or two commands when they are triggered all at once, as in the example above [3 things to occur].

I have tried placing these sequences into one logix for each signal AND also tried separating the out into one logix per command. The result is the same.

Hmmmmm,

Nimble

=====================================

On 5/05/2025 8:27 pm, Ken Cameron wrote:

Nimble,

?

I¡¯d suggest LCC but I¡¯d also suggest you change the Logix. In LCC, or JMRI signal logic, one sensor change only causes the signals protecting that block to change. All the other changes are due to a signal seeing that the next signal changed aspect.

?

Result is:

  1. If block becomes occupied, display stop/danger.
  2. If block not occupied, check aspect of next signal.
  3. If next signal is stop, display approach.
  4. If next signal is approach or clear, display clear.

?

What I¡¯m suspecting could be your method is causing a single signal to get more than one change at a time. BTW this also is the more prototypical way that signal logic is performed. A given signal only considers the track to the next signal and what¡¯s in there, like the occupancy, open turnouts, etc¡­ and after that, what the next signal is displaying.

?

I don¡¯t know if this will make a difference or not. But consideration of this way to plan your logic would at least match if you later move to LCC for other reasons.

?

-Ken Cameron, Member JMRI Dev Team

?

?


Re: NCE ProCab- Light-it as signal decoder - Simultaneous commands #nce

 

¿ªÔÆÌåÓý

I have an important question about those using the Light-It as a signal decoder and having trouble.

?

Can you test, or have you observed, signals changing in parts of the layout that should not be getting any commands addressed to them?

?

Also, about the logic these people are using: Is a change in a single block causing a change (directly) in an signals not directly protecting that block? A signal changing in response to seeing another signal change is considered for this question to not be a direct change cause.

?

-Ken Cameron, Member JMRI Dev Team

?

?


Re: How do I hook up a bar code reader to JMRI

 

On May 5, 2025, at 4:07?PM, Nick Brownsberger via groups.io <nbrownsbe@...> wrote:

Any ideas why I can't see the USB connection when adding a Reporter.
It sounds like your device is more like a USB keyboard than a USB serial port.

USB supports several different types of devices. Serial ports and Human Interface Devices (HIDs, like keyboards, mice and gamepads) use completely differnt sets of commands on the USB cable. Code that expects one can¡¯t communicate with the other, and vice versa.

Since you¡¯re device is acting like a keyboard, there¡¯s no point in trying to treat it as a serial device. That¡¯s why trying to open it as a COM port isn¡¯t going to work: It¡¯s not a serial device, and WIndows is not going to see it as one, so there¡¯s no corresponding COM port to connect to (and simillar for macOS or Linux)

I think you¡¯re going to permanently have to have a data entry field open for it to put it¡¯s keyboard input into. And that¡¯s going to be very inconvenient.

Bob
¡ª
Bob Jacobsen
rgj1927@...


Re: How do I hook up a bar code reader to JMRI

 

¿ªÔÆÌåÓý

Nick

like most things inside JMRI there are at least half a dozen ways of getting to the end.? Ken's suggested scripts method is one.? ?
I prefer to do processing either in LogixNG or outside of JMRI (hence suggesting python) as I find it quicker/easier to change things "on the fly", rather than staring at a JMRI script wondering "why did that not work".? ?

Sticking with stuff that might work straight out of JMRI.? There's some USB stuff (labelled as deprecated because the library underlying it isn't supported, so caution over it as it may stop working with an update, and doesn't work on new processor Macs already) which shows reading serial input to a Memory Variable.? If you've got that far, then LogixNG could monitor the memory variable for change, and write a new Reporter message with the report value taken from the memory variable.??



MQTT doesn't need wireless, nor do you need to spend any money.? ?MQTT is purely a data transfer mechanism, and will work on a single machine (with a sort of network connection internally in the machine from the machine to itself).? Or, will work over a wired, or wireless network.? ? If heading that way, you'll need:?
a)? MQTT Broker (server) software, typically that's "Mosquitto" because it's well documented and free.?
b) Something to take your current serial input and publish it on the broker on a path that will be collected by JMRI.? That's a python script (or any other language you're comfortable with running on your existing computer .?
c)? JMRI connection to the MQTT broker (in preferences).? Its fine to have multiple connections in preferences.?
And that's it.? ??

Yes, MQTT is often used for devices connected via WiFi, but that's just one thing that can be done with it.??




- Nigel


------ Original Message ------
From "Nick Brownsberger via groups.io" <nbrownsbe@...>
Date 05/05/2025 21:42:23
Subject Re: [jmriusers] How do I hook up a bar code reader to JMRI

Nigel, Ken,
?
My device only connects to a USB port on my Mac. When it reads a bar code it sends a 4-digit code, i.e. 0123, followed by <enter>. If I have a spreadsheet open, when the code is read it fills the active cell with the 4-digit code and moves down to the next cell (in my Excel spreadsheets, using the enter keys moves to the next cell down). I can read as many bar codes as I want, moving down the spreadsheet each time.
?
I just haven't found a way for it to read into something in PanelPro that I can take action on.
?
Also, for the reason just mentioned, I don't think MQTT will work since its not a wireless device. And it sounds like I need to buy a piece of hardware to implement MQTT.
?
Thanks for continuing to help.
?
Nick


Re: JMRI won't pickup cars with trains #operationspro

 

On Mon, May 5, 2025 at 04:53 PM, Craig wrote:
I tried changing the number of cars (moves) at each location on my train so it matches up.? the build report lists cars at out of service.?
The program won't add a car to a train that is out of service.? All of your coal cars are listed as being out of service.? You can select all of the cars and use the tool "Set Cars" to change the status of your coal cars.? More in the help links:
?
?
?
Dan
?


Re: How do I hook up a bar code reader to JMRI

 

¿ªÔÆÌåÓý

That¡¯s why I said a script that opens the port for reading. JMRI proper doesn¡¯t even know about it. You just have to code to open the device name. For Windows, that¡¯s a COM something. For Mac or Linux, that¡¯s going to be a /dev/ something. That script will figure out what to do with that four digit code. But since that code is running inside of JMRI, it knows all the tables of things in JMRI.

?

-Ken Cameron, Member JMRI Dev Team

?

?


Re: JMRI won't pickup cars with trains #operationspro

 

I tried changing the number of cars (moves) at each location on my train so it matches up.? the build report lists cars at out of service.? The train still doesn't put any cars on the train.? What Things do I need to set in locations, routes, and trains that might be effecting this.

Craig Drenkow
1306 Parkview Dr.
Norfolk, NE? 68701
402-649-5498



On Saturday, May 3, 2025 at 10:13:14 PM CDT, Dan Boudreau via groups.io <daboudreau@...> wrote:


Craig,
?
From your build report in normal mode, we can see at the coal mine, the train's route does says to pull 50 cars Eastbound, followed by another 5 cars "moves" Westbound.? At the main yard, you asked the program to set out "0" cars.? So we now know why no cars were assigned to the train.? You need to increase the number of set outs at the main yard to 55, if that's the number of cars your really want delivered.
?
Dan
?
4r4 Location (Coal Mine) Eastbound requests 50 pick ups, maximum train length 1,000 feet
4r7 Location (Coal Mine) Westbound requests 5 moves, maximum train length 1,000 feet
4r5 Location (main yard) Westbound requests 0 set outs
?


Re: How do I hook up a bar code reader to JMRI

 

Nigel, Ken,
?
My device only connects to a USB port on my Mac. When it reads a bar code it sends a 4-digit code, i.e. 0123, followed by <enter>. If I have a spreadsheet open, when the code is read it fills the active cell with the 4-digit code and moves down to the next cell (in my Excel spreadsheets, using the enter keys moves to the next cell down). I can read as many bar codes as I want, moving down the spreadsheet each time.
?
I just haven't found a way for it to read into something in PanelPro that I can take action on.
?
Also, for the reason just mentioned, I don't think MQTT will work since its not a wireless device. And it sounds like I need to buy a piece of hardware to implement MQTT.
?
Thanks for continuing to help.
?
Nick