Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
Re: Layer Priority for Sensors?
开云体育Dave, Could a label show an image instead of a text? Daniel On 2025-01-20 07:08, Dave Sand wrote:
|
Re: Layer Priority for Sensors?
Heath, You could create a label that is shown/hidden using LogixNG. ?The max text size is 36 pt, but you can make the label screen size. Dave Sand ----- Original message ----- From: "Human[c]ity Junction" <heath@...> Subject: [jmriusers] Layer Priority for Sensors? Date: Sunday, January 19, 2025 9:37 PM I would like to create a sensor where the icon is an image that covers my entire panel. So I created two icons, one that is the complete size of the tablet, 1280x800, and then another icon that is 1px x 1px.? ? My thought was that when the sensor is deactivated, it would display the 1px x 1 px icon, so it would not cover anything else, so there would not be any issues.? ? But it seems that the 1280x800 icon is always there, covering all the other sensor buttons on the tablet. ? So what I am wondering is if there is anyway to set a sensor to be "below" everything else on the panel. In essence, creating a sensor that changes the background image. ? Here is the idea that I am trying to create. ? -- Heath @ Human[c]ity |
Re: LogixNG timer function use
#logixng
Jerry, Does this logic work for you? I am not able to get it working when using simulated sensor changes filling in for MQTT. ?What happens is that after a couple of sequences, an old timer expires and resets ACK and Activate. Dave Sand ----- Original message ----- From: "JerryG via groups.io" <jerryg2003=[email protected]> Subject: Re: [jmriusers] LogixNG timer function use #logixng Date: Saturday, January 18, 2025 9:52 PM Thanks Dave!? Here is where I ended up: ?
?Jerry ___________________________________ jerryg2003@... |
Re: Signal Logic – Layout Editor Path Validation - Not Working - Please Help
#sml
#layouteditor
Spencer, Is there a reason for so many blocks and signal masts? Normally a turnout will be protected by three masts. ?You have nine masts for LT12 and 3 extra blocks. There is nothing wrong, but it is unusual. Dave Sand |
MQTT power control via LogixNG ?
Is it possible to check the reception of a track/power message in LogixNG and then turn off power in LocoNet?
I saw some mentioning of using Jython, but I'm not familiar with that. (Just getting my feet wet in LogixNG....)
LocoNet is the default and it would be used to enable track power.?
In other words, I would like to sync track power states on both links.
?
thanks, Chris |
Re: Signal Logic – Layout Editor Path Validation - Not Working - Please Help
#sml
#layouteditor
Spencer, There are some errors during file loading: 21:30:00,110 configurexml.DefaultTransitManagerXml WARN? - When loading configuration - missing Section in Transit IZ:AUTO:0006 [AWT-EventQueue-0] 21:30:00,120 jmri.implementation.VirtualSignalMast WARN? - attempting to set an aspect that has been disabled: Stop on mast: SUC-15 North [AWT-EventQueue-0] 21:30:18,355 lay.configurexml.PositionableLabelXml INFO? - PositionableLabel? removed for url= home:OneDrive/train/Basement/Track plans/Outer-and-Inner-loop_SCARM---2022-Final-12-29-2022-Blocks-Recovered11-30-2024-Recovered-Recovered.jpg [AWT-EventQueue-0] 21:30:25,255 lay.configurexml.PositionableLabelXml INFO? - PositionableLabel? removed for url= home:OneDrive/train/Basement/Track plans/Upper-loop-block-names-v2.jpg [AWT-EventQueue-0] You cannot have both Entry/Exit and Dispatcher controlling the layout. ?They both want to be in charge. ?You might be able to "Disable" the Entry/Exit sensor pairs when trying to use Dispatcher. ?I have not tested this concept. “Signal Mast “SUC-19 West” is not reachable from “SUC-22 West”. ?This error is because you need to add "SUC-22 to UC-21" first. The direction sensor errors are signal masts that don't have SML based sections. I was able to delete?SU21V2. Dave Sand ----- Original message ----- From: "ssellmaker via groups.io" <ssellmaker=[email protected]> Subject: [jmriusers] Signal Logic – Layout Editor Path Validation - Not Working - Please Help #automation #blocks #blocktracking #dispatcher #entryexit #layouteditor #sensors #signalmasts #signals #transits Date: Sunday, January 19, 2025 9:22 PM Hello, I am struggling and need assistance please. My layout file is included. Please let me know if you need any additional information. I am trying to setup automatic signaling using SML on my layout, for now, I am only focusing on the “Upper Level” Panel in the JMRI Layout Editor. ? When I attempt to create a Transit from one signal to the other, I get the error “Signal Mast “SUC-19 West” is not reachable from “SUC-22 West”. Mast Will not be added.”, this seems to occur whenever asking it to route across turnouts and not limited to these signals. I have current detectors on every block illustrated on the “Upper Panel” and these are working properly in the Layout Editor (blocks are showing occupied when current is detected). All turnouts have physical decoders and work properly. I would like to get some basic automatic running configured on the Upper Level and then apply the same logic to the Lower Level. ? The block routing looks correct in the Routing Table, I have defined virtual sensors for the entry and exits. I also have virtual sensors configured for the direction (not sure if they are configured correctly, could this be the problem?). All checks under the Tools -> Check return “No Result” so all seems good here. Signal Masts are defined virtually for now, but they will control physical lights on the layout in the next phase. Signal Mask Logic was all auto generated (including sections), some sections I defined manually however. ? I get the following errors when selecting “Add Direction Sensors to SML” ? 21:40:28,076 implementation.DefaultSignalMastLogic ERROR - Mast[SUC-24 North] No Associated Section [AWT-EventQueue-0] 21:40:28,076 implementation.DefaultSignalMastLogic ERROR - Mast[SUC-13 South] No Associated Section [AWT-EventQueue-0] 21:40:28,077 implementation.DefaultSignalMastLogic ERROR - Mast[SUC-24 North] No Associated Section [AWT-EventQueue-0] 21:40:28,077 implementation.DefaultSignalMastLogic ERROR - Mast[SUC-24 North] No Associated Section [AWT-EventQueue-0] 21:40:28,077 implementation.DefaultSignalMastLogic ERROR - Mast[SU1-2 East] No Associated Section [AWT-EventQueue-0] 21:40:28,078 implementation.DefaultSignalMastLogic ERROR - Mast[SU1-3 West] No Associated Section [AWT-EventQueue-0] ? Other Problems that might be related: ? I am also unable to remove the Signal Mast “SU21V2” from the Signal Mast Table. ? Block “UC-24” shows a value of “Mack” (this is the name of a locomotive I was trying to send to this block previously) and I am not sure how to remove this? ? I apologize for the wall of text, hopefully, someone can help me troubleshoot these issues and point me in the right direction. ? Thanks, Spencer Attachments:
|
Re: Operations - Switcher
#operationspro
Noel,
?
You responded directly to me, but I think that your on-going confusion may also be something that others may encounter, so I am replying via the group.
?
In your email to me, you state:
?
Thanks once more for your assistance. ? I have done as you suggested, however I’m still confused about Track 05 and the switcher serving it. ? The reason for my uncertainty, a switcher has to have no direction defined for it to serve a location. The new pooled Track 05 is made up of two Interchange tracks that have the direction defined. Is that correct? Therefore the switcher cannot use Track 05? Or, have I got it totally wrong? ? Also, I’m very interested to hear about Schedules in the future once I get this sorted out. ?
I think that your confusion maybe partially due to the differences of logical tracks and physical tracks. JMRI uses logical tracks and aspects that do not directly relate to the physical setup of a layout. Part of this difference is in the definition of the different spurs which are your industrial tracks. If you indicate that the track does not have a direction, this means that the program will ignore the track when building a train as the direction is an indication as to which trains can service the spur. However, if a train is defined to operate a single location route (which, by the way, must have a direction) the program ignores that direction and basically identifies the train as a switcher. The logic then says that the switcher can service any track at the location, regardless of the direction settings on the spur, yard, C/I. The logic ignores the direction.
However, for a train that stops at the location to drop off / pick up cars, the direction is checked, and if the train direction is the same as the direction indicated on the spur (or yard or C/I), then the program looks to see whether there is a car to be delivered or picked up, and if there is, then it adds that car to the switch list. As I have got more and more into Ops Pro, I am amazed at the complexity of the logic built into the program (I am now retired, but my entire working life was working with programs and how people used those programs, so I can follow logic paths). The program, when it builds a train, looks at every car that the train may pickup, and determines whether it can deliver that car. If it cannot deliver, it then looks as to whether it can move the car closer to the destination. I have examples on my club's layout where a car needs to go through 4 different trains, two yards and a yard track at a small station to get from source to destination. The program does this check for every car. So, if your final destination is an industrial spur (which does not have any direction set) the program will recognise this, and will try to move the car to somewhere where another train, in your case the switcher train, can move it to the spur. This stop is your Track 5 (being the logical arrivals track). For cars going from your location, the program will see that the car can move from the spur to Track 5 (logical departure track), and then another train can pick up the car and move it on towards its destination. ?
As for using schedules, Pete Johnson has written a 4 part series entitled "Adding Custom loads to PosPro to increase car movement" that you should read, and probably re-read several times to take it all in (I know that I ended up re-reading them multiple times). These documents provide a lot of information as to how schedules work and how they can be used.
?
Eric
? |
Signal Logic – Layout Editor Path Validation - Not Working - Please Help
#sml
#layouteditor
Hello, I am struggling and need assistance please. My layout file is included. Please let me know if you need any additional information. I am trying to setup automatic signaling using SML on my layout, for now, I am only focusing on the “Upper Level” Panel in the JMRI Layout Editor. ? When I attempt to create a Transit from one signal to the other, I get the error “Signal Mast “SUC-19 West” is not reachable from “SUC-22 West”. Mast Will not be added.”, this seems to occur whenever asking it to route across turnouts and not limited to these signals. I have current detectors on every block illustrated on the “Upper Panel” and these are working properly in the Layout Editor (blocks are showing occupied when current is detected). All turnouts have physical decoders and work properly. I would like to get some basic automatic running configured on the Upper Level and then apply the same logic to the Lower Level. ? The block routing looks correct in the Routing Table, I have defined virtual sensors for the entry and exits. I also have virtual sensors configured for the direction (not sure if they are configured correctly, could this be the problem?). All checks under the Tools -> Check return “No Result” so all seems good here. Signal Masts are defined virtually for now, but they will control physical lights on the layout in the next phase. Signal Mask Logic was all auto generated (including sections), some sections I defined manually however. ? I get the following errors when selecting “Add Direction Sensors to SML” ? 21:40:28,076 implementation.DefaultSignalMastLogic ERROR - Mast[SUC-24 North] No Associated Section [AWT-EventQueue-0] 21:40:28,076 implementation.DefaultSignalMastLogic ERROR - Mast[SUC-13 South] No Associated Section [AWT-EventQueue-0] 21:40:28,077 implementation.DefaultSignalMastLogic ERROR - Mast[SUC-24 North] No Associated Section [AWT-EventQueue-0] 21:40:28,077 implementation.DefaultSignalMastLogic ERROR - Mast[SUC-24 North] No Associated Section [AWT-EventQueue-0] 21:40:28,077 implementation.DefaultSignalMastLogic ERROR - Mast[SU1-2 East] No Associated Section [AWT-EventQueue-0] 21:40:28,078 implementation.DefaultSignalMastLogic ERROR - Mast[SU1-3 West] No Associated Section [AWT-EventQueue-0] ? Other Problems that might be related: ? I am also unable to remove the Signal Mast “SU21V2” from the Signal Mast Table. ? Block “UC-24” shows a value of “Mack” (this is the name of a locomotive I was trying to send to this block previously) and I am not sure how to remove this? ? I apologize for the wall of text, hopefully, someone can help me troubleshoot these issues and point me in the right direction. ? Thanks, Spencer ZSA-CEN Railroad V0.005.xml
ZSA-CEN Railroad V0.005.xml
WarrantPreferences.xml
WarrantPreferences.xml
|
Re: Startup/automation
Thank you it worked
toggle quoted message
Show quoted text
I dont know why it failed the first time as i did try using both Tony On Jan 19, 2025, at 9:10?PM, Bob Jacobsen via groups.io <rgj1927@...> wrote: |
Re: Startup/automation
On Sun, Jan 19, 2025 at 08:07 PM, AD wrote:
Nothing has changed for this. Maybe try a new download and installation of 5.10. -- Peter Ulvestad Linux Mint 22, JMRI 5.11.2plus, Java 21.0.5 JMRI Users Group Moderator ( /g/jmriusers ) JMRI Developers Group Moderator ( ) Tam Valley Group Moderator ( ) Sprog-DCC Group Moderator ( ) Edmonton Model Railroad Association ( ) |
Re: Startup/automation
--
Peter Ulvestad Linux Mint 22, JMRI 5.11.2plus, Java 21.0.5 JMRI Users Group Moderator ( /g/jmriusers ) JMRI Developers Group Moderator ( ) Tam Valley Group Moderator ( ) Sprog-DCC Group Moderator ( ) Edmonton Model Railroad Association ( ) |
Re: Startup/automation
I tried that but it didnt work
toggle quoted message
Show quoted text
I will try again Tony On Jan 19, 2025, at 9:10?PM, Bob Jacobsen via groups.io <rgj1927@...> wrote: |
Re: Startup/automation
Not true
toggle quoted message
Show quoted text
Both on the screen shot in the email sent by Dave and in my version of 5.10 there is no option to load a specific file. There is only the option to load a file after you select the profile to use. I want the file selected and open on the screen when the profile is opened without me knowing the name of the file needed. The option to select the file during startup appears both as an item in the list and also in actions The one in the list was the file selector. Explain exactly how after startup is completed the layout panel file that goes with the profile is open on the screen without me ever selecting it during the process. That’s how my version of 5.8 worked but my version of 5.10 does not have that feature. Tony On Jan 19, 2025, at 9:19?PM, Peter Ulvestad via groups.io <ulvestad@...> wrote: |
Re: Startup/automation
On Sun, Jan 19, 2025 at 07:03 PM, AD wrote:
Nothing for this has changed between 5.8 to 5.10. It's working in 5.10 just fine when I tested it a couple minutes ago. -- Peter Ulvestad Linux Mint 22, JMRI 5.11.2plus, Java 21.0.5 JMRI Users Group Moderator ( /g/jmriusers ) JMRI Developers Group Moderator ( ) Tam Valley Group Moderator ( ) Sprog-DCC Group Moderator ( ) Edmonton Model Railroad Association ( ) |
Re: Startup/automation
I don’t think anything was eliminated.
I think you have selected Add -> Perform Action… -> Load table content and panels… That opens a window where you can select a file to load. Instead, as Dave has pointed out, you want to have Add -> Load table content and panels…. That will prompt you right then, when you select that, for which file you want to load. It will then remember that and load exactly that file the next time the program starts. Bob On Jan 19, 2025, at 8:28?PM, AD via groups.io <bklyns_baseball_club@...> wrote: — Bob Jacobsen rgj1927@... |
Re: Startup/automation
toggle quoted message
Show quoted text
On Jan 19, 2025, at 7:30?PM, Steve_G via groups.io <RailRodder22@...> wrote:
|
Re: Startup/automation
开云体育The 5.8 had an option to open a file in the list of thing you show in your screen shot but they took it outWhy? Tony On Jan 19, 2025, at 8:28?PM, ANTHONY DALILEO <bklyns_baseball_club@...> wrote:
|
Re: Startup/automation
开云体育Dear DaveIf i put that action in startup it does not allow me to select the file i want to be opened after startup is finished the way it did in jmri 5.8. It opens a window after the startup is done and now i have to search the computer jmri director for the layout panel that goes with that profile. Why was this feature eliminated from 5.10 when it was in 5.8 Tony On Jan 19, 2025, at 7:21?PM, Dave Sand <ds@...> wrote:
|
Re: Startup/automation
Tony, Go to Preferences -> Start Up. ?Click on Add. A file selector will open and you can select which file to load. I don't know how "without signals" works with turnouts. Dave Sand ----- Original message ----- From: AD <bklyns_baseball_club@...> Subject: [jmriusers] Startup/automation Date: Sunday, January 19, 2025 3:14 PM Dear dave ? the new version 5.10 of jmri does not allow me to open a file in startup. i can load the ability to open a file but i can not find a way to open s specific file. i dont want to have to guess which panel goes with which profile ? how do i open a file on startup in 5.10 ? also remind me about switches being part of a block when using automation. i believe the problem was in putting sml signals at the switch. ?? But if i run automation without signals what are the issues with having a switch as part of a block? ? tony |