¿ªÔÆÌåÓý

Date

Locked Re: Cannot manually move cars in Operations #operationspro

 

On Sun, Sep 8, 2024 at 12:26 PM, Gord King wrote:
I do not get "report" window under 'action'.
That only happens if the status for the train is "Build Failed".? Do not use the term build failed unless the program states build failed.


Locked Re: Cannot manually move cars in Operations #operationspro

 

On Sun, Sep 8, 2024 at 12:26 PM, Gord King wrote:
Using the above window, when I 'reset' the train in Train Edit, 'status' changes to "reset"as expected.? When I select the "build" function, 'status' changes to 'partial 2/52 cars' the number of cars that I have 'set' for the train.? But 'function' remains "build".?
That isn't right, function should change to "Preview" or "Print" if the build was successful.? I'd like a screen shot of the Trains window when the status is "partial x/y cars" for a train, and a copy of the system console.


Locked Re: Timed control of (servo actuated) uncoupler

 

Nigel that idea seemed to work.? I couldn't create a light icon in layout editor but I could create another sensor tied to the hardware address activated by the first sensor.? It does seem overkill to use two sensors and a light however, when the 'lights' function is specifically described as being designed for controlling un-couplers.??


Locked Re: Cannot manually move cars in Operations #operationspro

 

Hi Dan,
?
Using the above window, when I 'reset' the train in Train Edit, 'status' changes to "reset"as expected.? When I select the "build" function, 'status' changes to 'partial 2/52 cars' the number of cars that I have 'set' for the train.? But 'function' remains "build".? I do not get "report" window under 'action'.? When I go back to 'edit' the train and I call up the "preview build report" under 'tools', I get the "Build Report for train (18) built on 2024-06-01, 2:08 p.m" which is the.same build report I sent you previously.
Note, when I 'reset' another train the same happens, it will not 'build'.? Occasionally I will get a window requesting a locomotive, even though I have 'set' a locomotive for the train.
?
Gord


Locked Re: Celebrating JMRI 25th Anniversary (3 Oct 2024) #announcement

 

Congratulations from me too! This is an amazing achievement.
I find it hard to believe though - that it's been 25 years.
WOW!????????????????????????????????? Morgan Bilbo, JAVA/ZULU 11.52.13 jre, JMRI 5.4.


Locked Re: Trouble loading Java #java

 

Hi Ken and thanks for your reply
Here are the two Java's I've tried to load on that machine.
jre-8u421-windows-i586 this is for a remote computer not internet connected
jre-8u421-windows-x64 The other failed to load so I also tried this one after removing Java from the computer.
?
zulu11.60.19-ca-jdk11.0.17-win_x64 this one loads but because I skipped the steps when going from 4.2 to 5.8 nothing worked so I removed this Java and just tried to load up the 1.8 version from the Java for a remote computer.?
?
You suggested loading Azul Java 8. Is this a file that can be copied onto a flash drive and loaded onto a remote computer and I'm assuming it is different than the jre-8u421??
?
Thank you
Inspectordave
?


Locked Re: Celebrating JMRI 25th Anniversary (3 Oct 2024) #announcement

 

Yes, I love the product! Thank you to everyone who has created or contributed to JMRI.
?
To the next 25 years...
Frank
--
Frank Kenny
Central Pacific Railway - CPRX
310-344-9145
Los Angeles area
Instagram:?
Facebook:?
YouTube:?
Blog:?? ?(Updated occasionally)


Locked Re: Parse Error: Reporter (Which I don't need) #reporters

 

Bill,

You can start by removing reporters element from the xml file and see if that works. ?If not, you could upload the xml file to the group's ProblemsBeingWorkedOn file folder.

Dave Sand


----- Original message -----
From: sontrak <sontrak@...>
Subject: Re: [jmriusers] Parse Error: Reporter (Which I don't need)
Date: Saturday, September 07, 2024 11:41 PM

I know I was working on blocks, entering their lengths for later running trains automatically via Dispatcher.?
?
I probably used the Reporters tab trying to get the panel to display its contents showing which train was parked in which staging block.? I can't remember what I did exactly but it wasn't getting the results I expected, so I gave up on it and moved on to entering lengths for other blocks.
?
Did I just make this a major project?


Locked Re: DAVID HUDSON'S RailModeller Pro .XML FILE to Panel Pro #railmodellerpro

 

David,

If you have not used Layout Editor very much, I recommend doing the getting started tutorial: ?

Dave Sand


----- Original message -----
From: Dave Sand <ds@...>
Subject: Re: [jmriusers] DAVID HUDSON'S RailModeller Pro .XML FILE to Panel Pro #railmodellerpro
Date: Sunday, September 08, 2024 9:58 AM

David,

If you are really precise and steady with your mouse moves, you can select each circle.

Those are the layout editor control circles. ?They define the clickable area for selecting an object such as track segments, turnouts, anchor points, etc.

You can change the size of the control circle using "Options -> Turnout Options -> Set Turnout Circle Size". ?I normally use size 2. Here is your image using size 1.

Note: ?The circle size was originally just for turnouts. ?Later, the developer decided to use the turnout size the value for all control circles instead of having different sizes for each type of control circle.

Dave Sand


----- Original message -----
From: "BorderTerrier via groups.io" <davidhudson48=[email protected]>
Subject: Re: [jmriusers] DAVID HUDSON'S RailModeller Pro .XML FILE to Panel Pro #railmodellerpro
Date: Sunday, September 08, 2024 9:24 AM

Good afternoon Dave
I am not a coder, but have been able to identify what apprears to be an anomaly in
the transfer of data from RailModeller Pro to Panel Pro.?
I have looked at the three curved lines in the top left hand corner of the Panel Pro
version of the exported document.
I had expected the three circles to be the 'controls' for each of the three lines.
The three circles all control the central of the three lines, having no control over
the outermost and innermost lines.
At this stage, I have decided that if I am to use PanelPro successfully, I will start from scratch and bin the transfer facility from RailModeller.
If I can identify, what appears to be an anomaly, goodness knows what else lurks beneath the surface.?
David Hudson



Locked Re: Timed control of (servo actuated) uncoupler

 

I would use a simple LogixNG.
Dave Sand

? ? ? ? ? ? ? ? ? ?


----- Original message -----
From: James Parker <jwparker@...>
Subject: [jmriusers] Timed control of (servo actuated) uncoupler
Date: Sunday, September 08, 2024 4:36 AM

I am trying to implement a timed control of an uncoupler, which is actuated by a servo (the servo moves a permanent magnet so it is either near to the track or distant from the track).? The JMRI documentation says that 'lights' are specifically designed for uncouplers, but Im struggling to get the combination of lights/sensors to do what I want.
?
What I want is
1. to push a 'button' (sensor?) on my layout panel to activate the uncoupler (light)
2. for the uncoupler (light) to stay on for a period of time then switch off
3. for the colour of the button (sensor?) to change when I first push it, and then to change back when the uncoupler (light) switches off after the programmed period of time (so the button colour at all times reflects the state of the uncoupler)
?
I can get (1) to work using a sensor which controls the light.? I can get( 2) to work by setting the light controller type to timed on and setting the on duration accordingly.? What I cant do is to get the button(sensor) colour to change back when the uncoupler (light) switches off.
?
Can anyone tell me what I am missing?
?
?


Locked Re: Jython where does it search #jython

 

Phil,

The open dialog will only look in the specified directory. ?

Dave Sand


----- Original message -----
From: Phil Bissell <Phil.bissell@...>
Subject: [jmriusers] #jython where does it search
Date: Sunday, September 08, 2024 10:15 AM

? Thanks in advance for your help.
?
? When I select Edit, then Preferences, then File locations from the main Panelpro screen, I see that the Jython Script Location points to "C:\Program File (X86)\JMRI\jython\".
?
? If I change this to point to "my own user directory", rather than the Windows Directory, then does JMRI only search "my own user directory" or does it search "my own user directory" first, and if it is not found, then does it use "C:\Program File (X86)\JMRI\jython\"?
?
Phil Bissell
?
?


Locked Jython where does it search #jython

 

? Thanks in advance for your help.
?
? When I select Edit, then Preferences, then File locations from the main Panelpro screen, I see that the Jython Script Location points to "C:\Program File (X86)\JMRI\jython\".
?
? If I change this to point to "my own user directory", rather than the Windows Directory, then does JMRI only search "my own user directory" or does it search "my own user directory" first, and if it is not found, then does it use "C:\Program File (X86)\JMRI\jython\"?
?
Phil Bissell
?
?


Locked 5.8 on Mac M3 OS 14.6.1 does not print block table #printing

 

Have not found any discussion in a search or in the Release notes.
?
Above configuration printing to a laser printer across the network. ?Get a printer error return and a single page with the first block entry ?(System name and User name columns only). ?This was working on 5.6 on the same hw/sw. ?Using Metal if that makes a difference.
?
Thanks,
Martin Booker


Locked Re: DAVID HUDSON'S RailModeller Pro .XML FILE to Panel Pro #railmodellerpro

 

David,

If you are really precise and steady with your mouse moves, you can select each circle.

Those are the layout editor control circles. ?They define the clickable area for selecting an object such as track segments, turnouts, anchor points, etc.

You can change the size of the control circle using "Options -> Turnout Options -> Set Turnout Circle Size". ?I normally use size 2. Here is your image using size 1.
Note: ?The circle size was originally just for turnouts. ?Later, the developer decided to use the turnout size the value for all control circles instead of having different sizes for each type of control circle.

Dave Sand


----- Original message -----
From: "BorderTerrier via groups.io" <davidhudson48=[email protected]>
Subject: Re: [jmriusers] DAVID HUDSON'S RailModeller Pro .XML FILE to Panel Pro #railmodellerpro
Date: Sunday, September 08, 2024 9:24 AM

Good afternoon Dave
I am not a coder, but have been able to identify what apprears to be an anomaly in
the transfer of data from RailModeller Pro to Panel Pro.?
I have looked at the three curved lines in the top left hand corner of the Panel Pro
version of the exported document.
I had expected the three circles to be the 'controls' for each of the three lines.
The three circles all control the central of the three lines, having no control over
the outermost and innermost lines.
At this stage, I have decided that if I am to use PanelPro successfully, I will start from scratch and bin the transfer facility from RailModeller.
If I can identify, what appears to be an anomaly, goodness knows what else lurks beneath the surface.?
David Hudson


Locked Re: DAVID HUDSON'S RailModeller Pro .XML FILE to Panel Pro #railmodellerpro

 

Good afternoon Dave
I am not a coder, but have been able to identify what apprears to be an anomaly in
the transfer of data from RailModeller Pro to Panel Pro.?
I have looked at the three curved lines in the top left hand corner of the Panel Pro
version of the exported document.
I had expected the three circles to be the 'controls' for each of the three lines.
The three circles all control the central of the three lines, having no control over
the outermost and innermost lines.
At this stage, I have decided that if I am to use PanelPro successfully, I will start from scratch and bin the transfer facility from RailModeller.
If I can identify, what appears to be an anomaly, goodness knows what else lurks beneath the surface.?
David Hudson


Locked Re: Precise position of trains and maneuvers automation

 

Thank you for this correction.

So, JMRI only try to detect the front of the train, to respect signals.

That mean I can, for my Bachelor work, modify JMRI to add the management
of the full length of the train.

It could benefit to more than just managing the maneuver. Like only
accelerate a train after it fully goes behind a speed limit signal. Or
check that a train stopped on a track before/after a turnout, let enough
space for trains on the other track.


"Dave Sand" <ds@...> writes:

Nags,

The phrase, "exited one block and entered a new block", is not true. The time to traverse a block is the elapsed time from the entry of a block to
the entry of the next block in the direction of travel. This eliminates any issues with train length or the presence of detectable wheel sets on
rolling stock.

Dave Sand

----- Original message -----
From: "Nags via groups.io" <snowy999@...>
To: [email protected]
Subject: Re: [jmriusers] Precise position of trains and maneuvers automation
Date: Saturday, September 07, 2024 4:58 PM

As far as I understand warrants, JMRI uses the entry into a block (oblock) as a reference point to determine what if any actions it needs to take.
It is unaware of anything within the block.

Therefore, when the block becomes occupied JMRI 'knows it has exited one block and entered a new block. This allows it to determine two
things:

* the trains performance - how long it took to traverse the previous block and whether it was too fast or slow requiring tuning of the
throttle/speed ratio.
* what the train needs to do next. On entering the block it knows the current speed, it knows the length of this block and upcoming paths and
blocks. It determines what if any actions are needed for any upcoming speed requirements e.g. a danger signal, it has the reference point to
calculate the distance to cover and then determine the throttle settings and timing for deceleration required to stop the train to avoid
passing the signal.


Locked Re: Precise position of trains and maneuvers automation

 

Thank you very much. Now, I understand way more how JMRI work.

I can't wait to have some free time after my bachelor work and try JMRI on my own layout.
It's bad that I didn't have more space for a bigger layout.



"Nags via groups.io" <snowy999@...> writes:

As far as I understand warrants, JMRI uses the entry into a block (oblock) as a reference point to determine what if any actions it needs to take.
It is unaware of anything within the block.

Therefore, when the block becomes occupied JMRI 'knows it has exited one block and entered a new block. This allows it to determine two
things:

* the trains performance - how long it took to traverse the previous block and whether it was too fast or slow requiring tuning of the
throttle/speed ratio.
* what the train needs to do next. On entering the block it knows the current speed, it knows the length of this block and upcoming paths and
blocks. It determines what if any actions are needed for any upcoming speed requirements e.g. a danger signal, it has the reference point to
calculate the distance to cover and then determine the throttle settings and timing for deceleration required to stop the train to avoid
passing the signal.


Locked Re: Precise position of trains and maneuvers automation

 

Hello Bob and Scott.

I have added the RPS system to my documentation of the state of the art.
Sadly, it did not exist anymore.


About using a sonic transmitter, I think the reliefs of the layout, the
buildings, other vehicles, etc, will give some problems with the reflection of the
sound. And inside the tunnel, it could not work.


"Bob Jacobsen" <rgj1927@...> writes:

I¡¯d be interested in hearing more about work with sonic GPS.

A while back, there was a commercial system called ¡°RPS¡± that did this.



It worked really well but the electronics was bulky and it had a large transmitter that was pretty ugly on top of the locomotive. It even had JMRI support:

Unfortunately, the owner passed. Somebody, I don¡¯t recall who, bought the system and was going to try to repackage the transmitter, but I don¡¯t think anything came of that.

Perhaps the time has come for this tech!

Bob

On Sep 7, 2024, at 4:04?PM, Scott Walton via groups.io <jscottwalton@...> wrote:

What about the railway GPS for model railroads (I think there¡¯s a
beta test of that now) using a sonic transmitter in the locomotive
and several receivers around the room. You can calculate the
position in 3-space from the transmission time to each receiver.
¡ª
Bob Jacobsen
rgj1927@...







Locked Re: Timed control of (servo actuated) uncoupler

 

¿ªÔÆÌåÓý


Within the panel, the simplest is to make the "sensor" a momentary action sensor, so it reverts to its original (off) state when the click is removed.? ?But this means the uncoupler being "on" isn't shown.??

If not happy with this visually, and want a visual representation of the uncoupler staying "on" for a period of time, then this(*) should work:??
a)? ?use the momentary sensor icon, and edit it's "level" to a high number in the panel.? ?Then, change the sensor icon to be a transparent square (ie. invisible).? But an invisible icon can still be clicked to cause an action.? ?
b)? ?place the light on the panel, on a level lower than the sensor, and visually underneath the transparent icon.? Set that to have no click action (so it only displays, doesn't respond to click).??

You may find it easier to construct the above in stages, and the final step is to make the two elements overlap each other in the same place.??

?
(* I can think of other ways of achieving the same ).?


- Nigel



------ Original Message ------
From "James Parker" <jwparker@...>
Date 08/09/2024 10:36:04
Subject [jmriusers] Timed control of (servo actuated) uncoupler

I am trying to implement a timed control of an uncoupler, which is actuated by a servo (the servo moves a permanent magnet so it is either near to the track or distant from the track).? The JMRI documentation says that 'lights' are specifically designed for uncouplers, but Im struggling to get the combination of lights/sensors to do what I want.
?
What I want is
1. to push a 'button' (sensor?) on my layout panel to activate the uncoupler (light)
2. for the uncoupler (light) to stay on for a period of time then switch off
3. for the colour of the button (sensor?) to change when I first push it, and then to change back when the uncoupler (light) switches off after the programmed period of time (so the button colour at all times reflects the state of the uncoupler)
?
I can get (1) to work using a sensor which controls the light.? I can get( 2) to work by setting the light controller type to timed on and setting the on duration accordingly.? What I cant do is to get the button(sensor) colour to change back when the uncoupler (light) switches off.
?
Can anyone tell me what I am missing?
?
?


Locked Timed control of (servo actuated) uncoupler

 

I am trying to implement a timed control of an uncoupler, which is actuated by a servo (the servo moves a permanent magnet so it is either near to the track or distant from the track).? The JMRI documentation says that 'lights' are specifically designed for uncouplers, but Im struggling to get the combination of lights/sensors to do what I want.
?
What I want is
1. to push a 'button' (sensor?) on my layout panel to activate the uncoupler (light)
2. for the uncoupler (light) to stay on for a period of time then switch off
3. for the colour of the button (sensor?) to change when I first push it, and then to change back when the uncoupler (light) switches off after the programmed period of time (so the button colour at all times reflects the state of the uncoupler)
?
I can get (1) to work using a sensor which controls the light.? I can get( 2) to work by setting the light controller type to timed on and setting the on duration accordingly.? What I cant do is to get the button(sensor) colour to change back when the uncoupler (light) switches off.
?
Can anyone tell me what I am missing?
?
?