开云体育


Re: JMRI Loconet control of DCS240+ #digitrax

 

If you’ve selected “LocoNet LocoBuffer-USB” and “DCS240+ (Advanced Command Station)” and you’ve still having _no_ communications at all, then I suspect that your settings are not the problem.

Let’s move on to debugging that.

1) When you open the LocoNet monitor and do something else on the layout, e.g. use a real Digitrax throttle, do you see any LocoNet traffic?

2) Open the JMRI Power Control from the Tools menu, and try turn the layout power on and off. Does that work? Do you see any LocoNet traffic on the LocoNet monitor?

For this next step, leave the layout power on. Or turn it on from a Digitrax throttle

3) If you have a LocoNet-connected turnout, open the JMRI Turnout Control from the Tools menu, enter the number of a turnout on the layout (Just the number, like 23) and see if you can throw and close the turnout.

These details may help us track down the problem.


4) As an experiment, you can also try setting the command station selection to “DCS100 (Chief)”, save and restart, then see if the connection works.

Bob



On Apr 1, 2025, at 6:27?PM, Dale Gloer via groups.io <dale.gloer@...> wrote:

Here are the choices I have in the Connections panel. This is JMRI 5.4 but 5.10 shows the same panels. This was captured on a Windows 10 machine and I know how to determine the correct serial port for a Pi. So please advise which selection is correct in each box so that I can communicate with the DCS240+ from the computer. I can sort out the serial port stuff.

Bob Jacobsen
rgj1927@...


Re: JMRI Loconet control of DCS240+ #digitrax

 

Here are the choices I have in the Connections panel.? This is JMRI 5.4 but 5.10 shows the same panels.? This was captured on a Windows 10 machine and I know how to determine the correct serial port for a Pi.? So please advise which selection is correct in each box so that I can communicate with the DCS240+ from the computer.? I can sort out the serial port stuff.
?
?
?
?
?
--
Dale Gloer
Jack of all trades at home and Southern Alberta Model Railway


Re: Problems with an SML Pair #signalmasts #sml

 

I deleted the SML, set the block bi-directional and now Discover fails to find any mast pair. Since the logic behind SML isn't intuitively obvious to me I subsequently added a T7 trailing main mast and tried again but it fails to Discover any pairs.
?
I've likely tried every combination and I keep getting the same result.


Re: Problems with an SML Pair #signalmasts #sml

 

If you set the block routes to bi-directional, the SML generates properly.

Thanks Dave. I originally did not have deniedBlocks and several SML failed. Since the layout is designed for only one direction I (painstakingly) right-clicked each block, edit block, edit routing, select send/receive appropriately for every block.
?
All other pairs?display?aspect correctly with?deniedBlocks. Why would this single path/pair fail? I certainly will attempt this change but not knowing the reason doesn’t help my understanding. Can you tell me why?


Re: Problems with an SML Pair #signalmasts #sml

 

If you set the block routes to bi-directional, the SML generates properly.

Dave Sand



----- Original message -----
From: stevemac <steveo@...>
Subject: [jmriusers] Problems with an SML Pair #signalmasts #sml
Date: Tuesday, April 01, 2025 2:02 PM

I cannot get a single mast pair T7 to T2 via B7 to work as expected.
T7 is a ghost block with a detection block pre and post. T1, T2 and T3 all share a detection block. B17 Shown below is a single block with detection sensors.
I have two paths (B7, B8) coming in from T7 which I've shown below that share same entrance to T7 and exit from T2.?

The SML was auto-generated. The diverging path works as expected. That is, it knows that T7 must be thrown, T1 must be closed (invert) and T2 to its right must be thrown (invert) to pass traffic. The mast on the right (T2) never changes aspect although the T7 mast changes to approach as I'd expect.
?
When auto-generated, jmri paired the T2 mast with another mast in the yard block (BYE) for unknown logic. Complete layout follows for completeness. Note: All start at B17 and counter-clockwise on B1 or B9. B9, B11 are up and over B8,B7.

I copied the logic from T1 mast to T2 mast in the xml but it produced the same results.
I have done grand resets (deleting all paths and SML in this case) several times and I've run out of ideas.
File is uploaded problems and a convenience link below.
I hope somebody here has some suggestion.
//stevemac


Re: Automatic Dispatching

 

Signal masts require that you select a signal system. ?When you create a mast, you select the mast type such as single head or double head.

To see the available signal systems, go to?

The links will take you to the details for each signal system including the aspects and the signal mast types.

Dave Sand


----- Original message -----

From: "sontrak via groups.io" <sontrak=[email protected]>
Subject: Re: [jmriusers] Automatic Dispatching
Date: Tuesday, April 01, 2025 1:47 PM

i have updated to the latest version of JMRI and see the ghost blocks.
?
I set Masts for a Turnout that is now a ghost block by itself.? Now my problem is that I get only three signal heads.? One for each block entering the frog end, and one for the throat or points end.? How now do I get it to set a signal for each route possibility when coming into the points?


Problems with an SML Pair #signalmasts #sml

 

I cannot get a single mast pair T7 to T2 via B7 to work as expected.
T7 is a ghost block with a detection block pre and post. T1, T2 and T3 all share a detection block. B17 Shown below is a single block with detection sensors.
I have two paths (B7, B8) coming in from T7 which I've shown below that share same entrance to T7 and exit from T2.?
The SML was auto-generated. The diverging path works as expected. That is, it knows that T7 must be thrown, T1 must be closed (invert) and T2 to its right must be thrown (invert) to pass traffic. The mast on the right (T2) never changes aspect although the T7 mast changes to approach as I'd expect.
?
When auto-generated, jmri paired the T2 mast with another mast in the yard block (BYE) for unknown logic. Complete layout follows for completeness. Note: All start at B17 and counter-clockwise on B1 or B9. B9, B11 are up and over B8,B7.
I copied the logic from T1 mast to T2 mast in the xml but it produced the same results.
I have done grand resets (deleting all paths and SML in this case) several times and I've run out of ideas.
File is uploaded problems and a convenience link below.
I hope somebody here has some suggestion.
//stevemac


Re: Automatic Dispatching

 

i have updated to the latest version of JMRI and see the ghost blocks.
?
I set Masts for a Turnout that is now a ghost block by itself.? Now my problem is that I get only three signal heads.? One for each block entering the frog end, and one for the throat or points end.? How now do I get it to set a signal for each route possibility when coming into the points?


Re: JMRI Loconet control of DCS240+ #digitrax

 

Dale,
?
Sorry that I missed the crucial point in your OP and focused on our history of problems instead.??
?
On Tue, Apr 1, 2025 at 08:42 AM, Dale Gloer wrote:
I need to connect my JMRI via a Locobuffer-NG to the Loconet.
With the computer connected to the LocoNet via the Locobuffer-NG, then "Locobuffer-NG" must also be your choice in the Preferences >> Connections dialog.
?
Cliff
?


Re: JMRI Loconet control of DCS240+ #digitrax

 

On 4/1/2025 11:42 AM, Dale Gloer via groups.io wrote:

I assume this is because specifying DCS240+ implies a USB connection regardless of what I input in the System connection box.
That is an incorrect assumption! JMRI can be configured to use the LocoBuffer-NG to talk to the LocoNet of a DCS240+. I have been doing exactly that for a couple of YEARS (with a Windows O/S machine)!

You should ignore your incorrect assumption, and configure JMRI "properly". I will give three pieces of info that you will need to configure.

JMRI's "connection settings" allow configuration of how JMRI can connect to the LocoNet, and if/how JMRI _assumes_ that it can talk to a command station _if_ there is a command station connected to that LocoNet.

For your case, you will NEED to configure these THREE different things on the "Connection" in JMRI:

1: Define how JMRI can talk to the LocoNet. This is the "System Connection" setting. Note that you _DO NOT want to select_ "DCS2401_ USB Interface" in this case! In your case, it should set for "LocoNet LocoBuffer-NG".

2: Define how your computer talks with the LocoNet interface device. This will be set up in the connection, and varies depending on what type of interface you are using. For a LocoBuffer-NG, the connection will require a "Serial Port", to be entered in the "Settings" portion of the "LocoNet" "tab" on the "Connection" selection in the "Preferences" window.

The "serial port" setting for _your_ installation will look differently depending on which operating system you are using. Since you are using a Raspberry Pi, I would suggest that you get someone who uses a Raspberry Pi with JMRI. I do not use a Raspberry Pi, and do not really understand the "tricks" to figuring out the "serial port" name that will work with the Raspberry-Pi. And I understand that the Linux O/S may have changed recently for Raspberry Pi devices.

3: The last item in the "Preferences"->connections"->(typically) "LocoNet" "Tab" is the "Command station type" entry. For you, select "DCS240+ (Advanced Command Station)".


These things are necessary for you to achieve what you are trying to do.


Re: JMRI Loconet control of DCS240+ #digitrax

 


I guess I was not clear enough by saying I want to control the system via Loconet. So to be very specific.? I need to connect my JMRI via a Locobuffer-NG to the Loconet.? I am not able to connect using the DCS240+ USB port due to the location of the command station and where I can place the computer.
?
And to someone who asked, I do have a DT402 plugged into the loconet very close to the Locobuffer-NG connection.
?
So my question is:? What do I specify as a command station for my environment.? If I use DCS240+ JMRI does not talk to the Loconet.? I assume this is because specifying DCS240+ implies a USB connection regardless of what I input in the System connection box.
--
Dale Gloer
Jack of all trades at home and Southern Alberta Model Railway


Re: Printing Switchlists #operationspro

 

Peter,
?
Maybe you've entered the same car twice, or you've used the hyphen feature to enter two identical cars into the database.? Can you please go to the Cars window after you've build both of your trains.? Use the sort by "Train" radio button on the bottom, and then search for car road numbers using the find box at the bottom of the window.? Let us know how many cars you find, and to which train's the cars are assigned to.
?


Re: How do I move JMRI from one laptop to another laptop.

 

开云体育

Mark,

?

You want to copy the whole JMRI directory and contents and reload that in the new computer to a similar spot. On the old system the login name was usr, I see that from the file path you posted. Say the new system had the login of joe. Then the copy needs to go into that directory c:/users/joe, the end result should be c:/users/joe/JMRI. Same relative path but a different login name.

?

What you don’t want to see is something like c:/users/usr/JMRI/JMRI, that means you got it one directory too deep.

?

-Ken Cameron, Member JMRI Dev Team

?

?


How do I move JMRI from one laptop to another laptop.

 

Hello. I am totally confused on how to do this.
I'm using a Lenovo thinkpad and want to move Jmri to a newer Dell laptop.
I'm using Jmri 5.8 and java 11.
I have read the the files I need to move are in the preferences under file locations.
The "users file location" name is C:/users/usr/JMRI/.
When I open that file, how do I move it to the new laptop that has JMRI loaded on to it.
I am the furthest from be a computer guy and do not want to start all over as it has taken
more than 3 yrs. to set up panel pro with track diagram, block detection, signal etc.
Could someone please help me using the most layman terms to explain how to do this.
My comprehension of computer terms is very small.
?
Thank in advance for any help.?
--
MARK TAYLOR


Re: Chaining transits with a different locomotive #dispatcher

 

Many thanks Steve.?

Will keeo you updated.?

JeanLouisDelestre@...


De: "Steve_G via groups.io" <RailRodder22@...>
?: [email protected]
贰苍惫辞测é: Lundi 31 Mars 2025 15:27:46
Objet: Re: [jmriusers] Chaining transits with a different locomotive #dispatcher

Ken: "Duplicate" transit and then edit.
Jean 48 hrs should get it in the nightly Development build. In changes " " should show up on the first build its included in.
Steve G.
?


--
---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.9.5 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
?


Re: two scripts using one sensor

 

I have one script that uses sensors, NCE DB20 with AUI, to trigger the signals. Thanks to Dave,
?
I have LIFX strip lighting in my train room, and want to use the same sensor or getting yet, when my webthrottle pages is loaded up.
One step at the time.


Re: Printing Switchlists #operationspro

 

G'day Dan - thanks for your response. In my case I've got 2 trains leaving from staging A and both going thru the same town B but at different times.
My Build action shows that each of them is being called to pick up the same 2 cars in town B on their journey. I've checked my settings and car options for each train and all seems OK.
In town B there are a variety of other car options to pick up, so not sure why these 2 trains want to pick up the same 2 cars!?
?


Re: JMRI Loconet control of DCS240+ #digitrax

 

We noticed that the original dcs240 (no plus) didnt like the power going on and off quickly, or shorts on the loconet lines.
Our dcs240+ and pr4 have been rock solid since either running them thru a usb 2.1 port,? or hub that forces usb2.1 mode or a device that does the same thing, like an opto isolator.
Steve G.
?
?


Re: JMRI Loconet control of DCS240+ #digitrax

 

On Mon, Mar 31, 2025 at 12:53 PM, billybob experimenter wrote:


(If not using a recent-enough JMRI, _why not_?)
His system is the first line in the original post
Environment is a Raspberry Pi 3B with bookworm, Java 17, JMRI 5.10

--
Peter Ulvestad
Linux Mint 22.1, JMRI 5.11.4plus, Java 21.0.6
JMRI Users Group Moderator ( /g/jmriusers )
JMRI Developers Group Moderator ( )
Tam Valley Group Moderator ( )
Sprog-DCC Group Moderator ( )
Edmonton Model Railroad Association ( )


Re: JMRI Loconet control of DCS240+ #digitrax

 

The problem is the USB implementation used on Microchip CPUs. I believe the CPU used in the Digitrax family is a PIC24 series microprocessor from Microchip. I have had problems with the USB CDC implementation as used in the Microchip libraries. I'm not sure if the Microchip code is the problem, or if there is an underlying problem in the design of the CDC (Communications port) USB specification.

As I said above I have had problems with both Linux and Windows communicating with Microchip based devices using the Microchip libraries for their USB processors, with random lockups after a period of time. I have access to some MERG USB-CAN interfaces, some of which use a PIC microprocessor that has built in USB interface, and these periodically lock up even though there is no active message passing, but other devices that use an FTDI chip to do the USB interface to a serial port on the Microchip processor will run for ages without a spot of bother.

The quick solution is to use a Locobuffer type device rather than the USB port.





On Mon, 31 Mar 2025 at 18:23, Cliff Anderson via <cliffaa=[email protected]> wrote:
Dale,
?
When our club replaced the DCS200 several years ago with a DCS210 (not the 210+ or the 240+) there was a lot of chatter on the /g/Digitrax-Users group messages about the built in USB locking up.??
?
That same issue cropped up and stopped our layout several times within the first hour of operation.
?
We surmised that the command station internal CPU and/or internal memory were not sized correctly for simultaneous bursts of message traffic, at least for controlling a large layout with PanelPro.??
?
The same LocoBuffer-USB we had been using on the DCS200 continues to served us well.?
?
As a strange aside, the DCS210 we us at our workbench for DecoderPro and usually with only one locomotive at a time, works well with the internal USB.??
?
Maybe Digitrax still uses the same or similar hardware on the DCS240+ but that is for others to comment on.
?
Cliff in Baja SoCal
?