Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Jmriusers
- Messages
Search
Re: Draw Simple Line in Control Panel Editor
On Sat, Jan 25, 2025 at 01:38 AM, Vinny DeRobertis wrote:
I will create an issue on github so that the line (polygon) shows on the web server. Good luck.
--
H.O. Australia (Layout in Progress) Digikeijs DR5000 LocoNet JMRI v5.10 DecoderPro/Warrants/CPE/SML/LogixNG Java: OpenLogic jre-17.0.12.7 ? Windows 10 |
Re: Help PanelPro turn on a signal mast with logix
For Logix based initialization, I use the LRoute RTXINITIALIZER. This creates an IX:RTXINITIALIZER Logix that can be modified to perform any number of initialization actions, including things that a LRoute cannot do itself.
toggle quoted message
Show quoted text
Dave Sand ----- Original message -----
From: "billybob experimenter via groups.io" <jawhugrps@...> To: [email protected] Subject: Re: [jmriusers] Help PanelPro turn on a signal mast with logix Date: Friday, January 24, 2025 1:33 PM On 1/24/2025 1:09 PM, Dave Sand wrote: The trouble I'm having is every time I start a session, the branchlineI think we need more info. (Unless you just need a few ideas and can figure out what to do with a simple hint.) "All your own signal logic"? Is that logic that is implemented as Logix which directly controls the signal heads? Or is it logic that is implemented as Logix which directly controls the signal masts, and do you rely on AML Logic? If using LogixNG, and SML, Dave's suggestion is a good one. Dave's idea is a good one if you use a recent-enough JMRI version. If you can deal with the vagaries of LogixNG changes. (Which happen all-too frequently in my opinion.) If not, you will have to decide what to do. If you choose to go with Logix (not LogixNG), or Jython, you need to figure out how to "trigger" something at, more-or-less, JMRI start-up, but _after_ your Logix is running. There are _lots_ of ways to get something to run at JMRI start-up. One could get tricky with the Memory object "IMCURRENTTIME" and another internal Sensor to track uninitialized/initialized state; although this would have a delay of a minute or two. I would write a simple Jython script that makes an internal Sensor go from (whatever JMRI starts with) to "Active" then to "Inactive", within a few seconds of JMRI "running". And then I would write a Logix conditional, which is triggered by the start-up event and qualified by the internal sensor saying force the "field" logic for absolute signals to be "normal" ("Stop"). (Or if your CTC is not so featuresome", simply force the ABS signal masts to "Stop" or set the masts to "held" or force the signal heads to "Red" or ..., as appropriate. And, specifically, for the "diamond", fiddle the signals to force the "cross-traffic" to "stop". The last action would be to fiddle the internal sensor to a value saying that the code has been "initialized". There are plenty of things that can perhaps be workable for _your_ solution. You just need to figure it out. Hopefully Dave and I have given you some ideas. |
Re: Help PanelPro turn on a signal mast with logix
On 1/24/2025 1:09 PM, Dave Sand wrote:
The trouble I'm having is every time I start a session, the branchline signal is "unknown" until the dispatcher clicks it and sets it to an aspect. I tried to build a logix for it to become known automatically, possibly using my Route that I built, but logix cant look at routes. (My thought process was "if route is set, set signal to red")I think we need more info. (Unless you just need a few ideas and can figure out what to do with a simple hint.) "All your own signal logic"? Is that logic that is implemented as Logix which directly controls the signal heads? Or is it logic that is implemented as Logix which directly controls the signal masts, and do you rely on AML Logic? If using LogixNG, and SML, Dave's suggestion is a good one. Dave's idea is a good one if you use a recent-enough JMRI version. If you can deal with the vagaries of LogixNG changes. (Which happen all-too frequently in my opinion.) If not, you will have to decide what to do. If you choose to go with Logix (not LogixNG), or Jython, you need to figure out how to "trigger" something at, more-or-less, JMRI start-up, but _after_ your Logix is running. There are _lots_ of ways to get something to run at JMRI start-up. One could get tricky with the Memory object "IMCURRENTTIME" and another internal Sensor to track uninitialized/initialized state; although this would have a delay of a minute or two. I would write a simple Jython script that makes an internal Sensor go from (whatever JMRI starts with) to "Active" then to "Inactive", within a few seconds of JMRI "running". And then I would write a Logix conditional, which is triggered by the start-up event and qualified by the internal sensor saying force the "field" logic for absolute signals to be "normal" ("Stop"). (Or if your CTC is not so featuresome", simply force the ABS signal masts to "Stop" or set the masts to "held" or force the signal heads to "Red" or ..., as appropriate. And, specifically, for the "diamond", fiddle the signals to force the "cross-traffic" to "stop". The last action would be to fiddle the internal sensor to a value saying that the code has been "initialized". There are plenty of things that can perhaps be workable for _your_ solution. You just need to figure it out. Hopefully Dave and I have given you some ideas. |
Re: Help PanelPro turn on a signal mast with logix
Lou, The easiest solution is to have an initialization Logix that sets the branchline signal to Stop. Dave Sand ----- Original message ----- From: "louis.dirosso via groups.io" <louis.dirosso=[email protected]> Subject: [jmriusers] Help PanelPro turn on a signal mast with logix Date: Friday, January 24, 2025 11:59 AM Hello, ? I currently have my entire layout programmed for CTC or ABS using all my own logix. I have one signal on a branchline, which protects the mainline, that does not have any sensors near it, so the signal is thrown only by the dispatcher and all the corresponding signals on the mainline will react to it - so if dispatcher gives green for branchline to cross mainline, all mainline signals go red.? ? The trouble I'm having is every time I start a session, the branchline signal is "unknown" until the dispatcher clicks it and sets it to an aspect. I tried to build a logix for it to become known automatically, possibly using my Route that I built, but logix cant look at routes. (My thought process was "if route is set, set signal to red") ? Is there a way to set all unknown masts to a known value? ? Lou -- Modeling Conrail¡¯s Boston Line in HO |
Help PanelPro turn on a signal mast with logix
Hello,
?
I currently have my entire layout programmed for CTC or ABS using all my own logix. I have one signal on a branchline, which protects the mainline, that does not have any sensors near it, so the signal is thrown only by the dispatcher and all the corresponding signals on the mainline will react to it - so if dispatcher gives green for branchline to cross mainline, all mainline signals go red.?
?
The trouble I'm having is every time I start a session, the branchline signal is "unknown" until the dispatcher clicks it and sets it to an aspect. I tried to build a logix for it to become known automatically, possibly using my Route that I built, but logix cant look at routes. (My thought process was "if route is set, set signal to red")
?
Is there a way to set all unknown masts to a known value?
?
Lou
--
Modeling Conrail¡¯s Boston Line in HO |
Re: Entire RR file is gone
I am not a computer person. I looked at trying these suggestions but essentially do not know how to get to them. In my Library folder there is the name of my railroad but there do not appear to be any executable files. Just the rosters. No where in JMRI operationspro is my railroad shown anymore. I didn't do anything other than the last thing i did was print a manifest and terminate a previous train. When i came back later in the afternoon everything was gone. There is a new small screen that appears now that says press F8 to disable logix which immediately disappears. Have no clue what to do.
? |
Re: Problem while upgrading to 5.10
Steve, This is maybe the resaon why the train on Bypass stopped? in front of a green signal : 16:53:51,424 jmri.Block??????????????????????????? WARN? - count of 2 ACTIVE neighbors with proper direction can't be handled for block Bypass but maybe it can be determined when another block becomes free [AWT-EventQueue-0] 16:53:53,616 jmri.Block??????????????????????????? INFO? - Block Bypass gets LATE new value from T1, direction= West [AWT-EventQueue-0]JeanLouisDelestre@... De: "Jean-Louis Free" <jeanlouisdelestre@...> ?: [email protected] ·¡²Ô±¹´Ç²â¨¦: Vendredi 24 Janvier 2025 16:26:08 Objet: Problem while upgrading to 5.10 Steve,
Thanks for
your patience. First, I have upgraded my java version to 17.? Then I did what you said. At first the trains were running fine, sharing some tracks, but when I tried to load a new throttle the two trains stops? in front ?a signal even though one signal was set to clear. Strange. I attached the two files as requested. Thanks for your help. JeanLouisDelestre@... De: "Steve_G via groups.io" <RailRodder22@...> ?: [email protected] ·¡²Ô±¹´Ç²â¨¦: Mardi 21 Janvier 2025 18:22:20 Objet: Re: [jmriusers] Problem while upgrading to 5.10 Jean
?
I cannot see anything wrong. There is a transit action that throws and error which I cant emulate, which makes me think Im not running with the same parameters as you.
?
Start Panelpro. Do not load any panels, and autostarts etc.
Go to debug->Display / Edit Log catagies.
In the Category to Change enter jmri.jmrit.dispatcher?, Newlevel to DEBUG, and then "set new Logg...".
?
go DCC++->DCC++ Traffic Monitor
Check "Show transu..", "Show raw.." and "Show time..." and then start logging.
?
Then load the panel,? then load the two trains, setting "delay start" to sensor, pick any internal sensor.
?
Start the trains by setting the internal sensor active.
?
At the end. Send the Sessionlog and the monitorLog.txt file which should be in the same directory as the panel if you havent changed the defaults
?
Steve G.
?
?
-- ---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.9.5 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
? |
Re: Looping opening of help files on startup failure
It was a connection error
toggle quoted message
Show quoted text
It¡¯s not the triggering of the help page that¡¯s the problem though It tries to open the first of the links I posted, then the second one, then the first one again, then the second one. As never stops Phil G On 24 Jan 2025, at 15:42, Dave Sand via groups.io <ds@...> wrote: |
Re: Looping opening of help files on startup failure
Phil,
toggle quoted message
Show quoted text
What is the "startup error"? Connection errors always trigger the help page. Dave Sand ----- Original message -----
From: "Phil G via groups.io" <phil@...> To: "[email protected]" <[email protected]> Subject: [jmriusers] Looping opening of help files on startup failure Date: Friday, January 24, 2025 9:22 AM This has been happening for a while, but when I start JMRI on my Pi with a startup error, JMRI tries to open a help page from /home/pi/JMRI/help - repeatedly In fact it keeps trying to open files until I kill the browser window There are no errors in the console Just upgraded to 5.11.2 and it's still happening Any clues anyone? Phil G |
Re: Looping opening of help files on startup failure
Update:
toggle quoted message
Show quoted text
It seems to loop between two pages file:///home/pi/JMRI/help/en/package/apps/AppConfigPanelErrorPage.shtml file:///home/pi/JMRI/help/en/index.shtml Phil G On 24/01/2025 15:22, Phil G via groups.io wrote:
This has been happening for a while, but when I start JMRI on my Pi with a startup error, JMRI tries to open a help page from /home/pi/JMRI/help - repeatedly |
Problem while upgrading to 5.10
Steve,
Thanks for
your patience. First, I have upgraded my java version to 17.? Then I did what you said. At first the trains were running fine, sharing some tracks, but when I tried to load a new throttle the two trains stops? in front ?a signal even though one signal was set to clear. Strange. I attached the two files as requested. Thanks for your help. JeanLouisDelestre@... De: "Steve_G via groups.io" <RailRodder22@...> ?: [email protected] ·¡²Ô±¹´Ç²â¨¦: Mardi 21 Janvier 2025 18:22:20 Objet: Re: [jmriusers] Problem while upgrading to 5.10 Jean
?
I cannot see anything wrong. There is a transit action that throws and error which I cant emulate, which makes me think Im not running with the same parameters as you.
?
Start Panelpro. Do not load any panels, and autostarts etc.
Go to debug->Display / Edit Log catagies.
In the Category to Change enter jmri.jmrit.dispatcher?, Newlevel to DEBUG, and then "set new Logg...".
?
go DCC++->DCC++ Traffic Monitor
Check "Show transu..", "Show raw.." and "Show time..." and then start logging.
?
Then load the panel,? then load the two trains, setting "delay start" to sensor, pick any internal sensor.
?
Start the trains by setting the internal sensor active.
?
At the end. Send the Sessionlog and the monitorLog.txt file which should be in the same directory as the panel if you havent changed the defaults
?
Steve G.
?
?
-- ---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.9.5 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
? |
Looping opening of help files on startup failure
This has been happening for a while, but when I start JMRI on my Pi with a startup error, JMRI tries to open a help page from /home/pi/JMRI/help - repeatedly
In fact it keeps trying to open files until I kill the browser window There are no errors in the console Just upgraded to 5.11.2 and it's still happening Any clues anyone? Phil G |
trouble installing
#upgrading
Does anybody live in the Reading PA area who could get my JMRI re-installed and working? ?I had been using it successfully for years, ?on at least 3 different Windows PCs, but when I tried to update to the newest production version, it failed. ?I tried to roll back but now I get a Java error message.
?
Sorry to bother you
?
David Richie? |
Re: Draw Simple Line in Control Panel Editor
... after experimenting, I found that the anomaly of not being able to select the line occurs after the line is rotated. I went into the XML and deleted all the lines (polygons) with degrees="##" and instead of copy/paste/rotate I just drew new lines with the desired orientation. Something weird happens (bug?) when the line is rotated. I wound up with a nice panel showing my control system block diagram (attached). I will create an issue on github so that the line (polygon) shows on the web server. Thanks again. |
Re: Dispatcher Error: Runs once automatically but doesn't restart
Basically the only safe way for dispatcher allocate through a double crossover is with the crossover having one, two or three blocks, and every section though the crossover involving 2 switchs and a trailing block the otherside of the crossover.
Even the the SSL will need hand sweaking.
the problem is a crossover is only one switch and a double crossover when set to crossover has two non conflicting routes as there is no block for the diamonf.
?
Steve G
?
?
? |
to navigate to use esc to dismiss