¿ªÔÆÌåÓý

NX routing sensor direction


 

I am trying to set up NX routing, but some turnouts have only one direction shown for the sensor, often the wrong one.
This could be because I'm new to JMRI and have tried and failed several times, and this seems to leave junk (sensors) in the xml file.
What in the xml file gives the direction for a sensor ?
?
Is there any way to list what route will be selected between sensors.?
?
Mike Johnson
?
?


 

Mike,

NX sensors are placed at block boundaries. ?The "direction" of a NX sensor is defined by which block is being "protected".

Here is a turnout with two block boundaries.

In this example, "B-SOO-Jct is the protected block and the NX sensors are placed at the straight and diverging legs of the turnout.

Here is an example of a NX sensor at an anchor point.
Normally, signal masts will be placed at the same block boundaries. ?The signal mast logic (SML) will be generated based on the block topology. ?NX will use the SML for route selection. ?If SML has not been created, it will create internal SML at run time. ?If the NX pairs were created using "Full Interlock", then the blocks in the selected route will change to the "alternate track color".

Unused sensors can be deleted from the sensor table. ?A warning will be show if they are still being used.

Dave Sand


----- Original message -----
From: "Mike Johnson via groups.io" <919.mike=[email protected]>
Subject: [jmriusers] NX routing sensor direction
Date: Wednesday, May 14, 2025 2:24 AM

I am trying to set up NX routing, but some turnouts have only one direction shown for the sensor, often the wrong one.
This could be because I'm new to JMRI and have tried and failed several times, and this seems to leave junk (sensors) in the xml file.
What in the xml file gives the direction for a sensor ?
?
Is there any way to list what route will be selected between sensors.?
?
Mike Johnson
?
?


 

That's how it supposed to work, but sometimes I only get one choice, and its the wrong direction.
?
Sometimes both sensors are in the right direction but setting a route between them fails to validate.
?
Mike Johnson
?


 

Mike,

If you upload your layout data?xml file to the group's ProblemsBeingWorkedOn file folder, I can review it and provide some feedback.

Dave Sand



----- Original message -----
From: "Mike Johnson via groups.io" <919.mike=[email protected]>
Subject: Re: [jmriusers] NX routing sensor direction
Date: Wednesday, May 14, 2025 12:00 PM

That's how it supposed to work, but sometimes I only get one choice, and its the wrong direction.
?
Sometimes both sensors are in the right direction but setting a route between them fails to validate.
?
Mike Johnson
?


 

I upload the file.
?
If I delete sensors and make changes, then I can't set up routes.
If I save, I still can't.
If I close PanelPro and restart, things are better.
If I close PanelPro and restart windows then more things work.
?
Mike Johnson
?


 

Mike,

You have a number of issues that need to be addressed.

There are 5 crossings/diamonds that have to be made using the "Level Crossing" tool. ?

The Layout Editor "Tools -> Check -> Non-Contiguous Blocks" menu item needs to be clear before SML or NX will work correctly. ?This shows some of the level crossing issues.

The double crossover on the right side only has two blocks. ?SML and NX need three blocks for double crossovers.

After you clean up these issues, use the "Paths -> Delete Paths" menu item in the Block table. ?After doing a Store and Quit, restarting PanelPro will create new paths.

I use custom icons for NX sensors.
This way I don't have to remember which direction is which.

If you still have problems after fixing the issues, upload a new version of the layout xml file.

Dave Sand




----- Original message -----
From: "Mike Johnson via groups.io" <919.mike=[email protected]>
Subject: Re: [jmriusers] NX routing sensor direction
Date: Thursday, May 15, 2025 5:48 AM

I upload the file.
?
If I delete sensors and make changes, then I can't set up routes.
If I save, I still can't.
If I close PanelPro and restart, things are better.
If I close PanelPro and restart windows then more things work.
?
Mike Johnson
?