¿ªÔÆÌåÓý

Date

Locked Re: How to define a signal system in adding signal masts

 

Thanks Dave, I get it now.
Clay


Locked Re: How to define a signal system in adding signal masts

 

Clay,

The JMRI help system includes summaries of the signal systems. For Basic:

The generated SML results in ABS signaling. APB signaling can be implemented by adding Logix controlled direction (internal) sensors to the SML.


Dave Sand

On Dec 3, 2018, at 4:24 PM, Clay <claysmith44@...> wrote:

I model the L&N circa 1974, however when I look at all of the signal definitions there isn't one that I recognize for the L&N so I picked Basic Model Signals.
From them I'm not sure to choose in the next two windows. In mask type I think the chooses were single search light low signal, single search light high signal, double search light low signal, and double search light high signal. I don't know the differences here. I'm fairly adapt at SSL, however I think SML is more like what I want based on I like to operate without a dispatcher.

Using SML, does the logic recognize the direction of travel?

I tried reading the help files, but I could not find anything that addresses the above question. If there is something that I missed, please point me in the right direction.
Thanks.
Clay Smith
Hopkinsville KY


Locked Re: infinite loop with logix

 

Balazs,

I usually resort to going to a back rev of the panel or disabling different
Logix until find it. I've never found a quick method.

-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.com
www.syracusemodelrr.org


Locked How to define a signal system in adding signal masts

 

I model the L&N circa 1974, however when I look at all of the signal definitions there isn't one that I recognize for the L&N so I picked Basic Model Signals.
From them I'm not sure to choose in the next two windows. In mask type I think the chooses were single search light low signal, single search light high signal, double search light low signal, and double search light high signal. I don't know the differences here. I'm fairly adapt at SSL, however I think SML is more like what I want based on?I like to operate without a dispatcher.

Using SML, does the logic recognize the direction of travel?

I tried reading the help files, but I could not find anything that addresses the above question. If there is something that I missed, please point me in the right direction.
Thanks.
Clay Smith
Hopkinsville KY


Locked Re: infinite loop with logix

 

Balazs,

Since you can cause the loop by a couple of panel actions, start by setting any Logix with those panel items disabled. Once the loop no longer occurs, you can enable one Logix at a time and see when the problem appears. Once the Logix is identified, you can disable conditionals by unchecking the trigger checkbox for all of the variables.

The challenge is that it might not be a simple A-B, B-A.

Another possibility is too many trigger variables. The default is that all variables are defined as triggers. Most of the Logixs that I have created have only 1 to 2 trigger variables.

Good luck.


Dave Sand

On Dec 3, 2018, at 3:57 PM, Balazs Racz <balazs.racz@...> wrote:

Hi JMRI experts,

I have a panel file where two (or more) logix conditionals somehow ended up triggering each other in an infinite loop. This crashes JMRI (either out of memory or stack overflow). Maybe they are fighting against each other on the state of a sensor or something like that.
I can get to the crash with a few specific steps on a panel, so triggering the problem is easy. But how could I figure out which logic conditionals cause the infinite loop?

thanks,
Balazs

ps. How do i know it's an infinite loop? I managed to get a stacktrace and it is very very very long with every third or so entry being DefaultConditionalAction.something, then a sequence of property change listeners inbetween. The same sequence repeats as long as I could see.


Locked infinite loop with logix

 

Hi JMRI experts,

I have a panel file where two (or more) logix conditionals somehow ended up triggering each other in an infinite loop. This crashes JMRI (either out of memory or stack overflow). Maybe they are fighting against each other on the state of a sensor or something like that.
I can get to the crash with a few specific steps on a panel, so triggering the problem is easy. But how could I figure out which logic conditionals cause the infinite loop?

thanks,
Balazs

ps. How do i know it's an infinite loop? I managed to get a stacktrace and it is very very very long with every third or so entry being DefaultConditionalAction.something, then a sequence of property change listeners inbetween. The same sequence repeats as long as I could see.


Locked Re: Defining a Departure Track

 

I've defined all my tracks in JMRI (J), whether I want J to use them or not.? With the new "export locations" feature, it helps me keep an inventory of the tracks on the RR.

If I don't want J to use them, such as a lead which I will use for building/arrivals/departures, I will tell J that that track accepts NO car types (clear all), so J won't attempt to place anything there.? My crews then know that the particular piece of track is theirs to play with as needed.

For Chris' question: When you same "same staging location" I assume that you mean a J location with multiple tracks.? What you do is define each staging track and specify for each track the specific trains that may arrive and depart on that track.?


Locked Re: Massoth mobile decoder definition files

 

¿ªÔÆÌåÓý

Yes there are, but you are very unlikely to have one.

If a "Read Type from decoder" says?"Found mfg 123 (Massoth Electronic, GMBH) version 123; no such decoder defined.", and/or all CVs return a value of 123 and long address 15,227 it is 100% certain that you cannot communicate with the decoder and that one of two possibilities have happened:
1) Preferences->Defaults has Service Programmer (and possibly other items) set to Infernal.
2) Preferences->Connections has System Connection set to Simulator.

Possibility (1) is the most likely. It would most likely have occurred due to a previous failure to open a connection. If there is no alternative to Infernal, you currently have a problem with the connection to your DCC system and you need to resolve the connection problem before proceeding. If an alternative is available select that, restart JMRI and try again.

Warning, the Infernal problem can happen again in the future if you have any connection problems. See comments at:


--
Dave in Australia


On 3 Dec 2018, at 11:53 PM, Keith@... wrote:

hi there
is there a decoder pro definition file for massoth decoders


Locked Re: Layout Portability

 

¿ªÔÆÌåÓý

Robert,

See below:

On 4 Dec 2018, at 1:30 AM, "harr6817@..." <harr6817@...> wrote:

Tried to understand Dave's scripts... but I'm not a programmer so scripts are not of much use.

I didn't give you any scripts.

I gave you very clear instructions to follow, not scripts.

Instead, you did your own thing, made up your own instructions...


First off.. Connection Prefix is "L" for Digitrax on both computers.

Good.

I have modified both computers to have only the default settings by completely uninstalling 4.12, deleting all JMRI folders "everywhere" except registry and then reinstalling the program on both.

That wasn't necessary.

(I did keep my 'layout'.xml files and selected the c:\program files directory on the Win7 to keep that variable the same.)

That was a bad idea. Changing installation defaults is bound to get you into trouble later.

I already stated very clearly that ?the installation directory is irrelevant. How many times do I have to tell you before that sinks in!!!!

Uninstall JMRI on that machine using the Uninstall option provided in the Start Menu . Don't manually fiddle around deleting things.

Reinstall JMRI leaving every install option at defaults.

The log you have posted is much appreciated. It clearly indicates the problem is in your layout file, not the choice of directory names.

Please follow Bob's instructions to fix your layout file.

Dave in Australia


Locked Re: Operational concept for a single operator #operationspro

 

Ooops...my bad. I was not thinking clearly about spur visits. OpsPro will automatically include all the spurs at City-C thus Train-B will make the stop at City-C and then make a single "move" to leave while the City-C switcher makes all the car exchanges for Train-B at City-C.
Paul D


Locked Re: Operational concept for a single operator #operationspro

 

Scott....I like it but I have some questions...
1) When Train-B visits City-C, it seem like Train-B must include each City-C spur in the Train-B route to ensure that cars are placed properly in the OpsPro data base. Otherwise, OpsPro would lose track of where cars are located. I am assuming that this would be a spur visit by Train-B in theory only rather than physically while the City-C switcher (as a stand in for the Train-B loco) would be making the physical visit to the City-C spurs.
2) I am assuming that when multiple trains make pick up & drop off, they must make their visits in the same order they were built since the second train is assuming that all the first train exchanges were made before the second train arrived.?
3) It appears that your approach puts the City-C switcher in a "just-in-time" mode.? When Train-B arrives at City-C, the switcher operator must step into action and make all the spur visits while the Train-B "moves" as each switcher spur action is completed. When the switcher makes the final City-C move, Train-B is free to move to his next destination.

If I am correct on 1, 2 and 3, your suggestion is really good. It means fewer trains to build to get the same job done. It also means I do not need a bunch of sidings as a named location for Train-B to visit.

I can see where this approach will also help me in exchanging cars (via my 0-5-0 switcher) that are logically part of my layout but are physically in off-layout storage racks. I have a lot of off-layout spurs with industries that I need as a companion to some on-layout industries.

Thanks.
Paul D


Locked Re: Unable to launch JMRI version 4.12

 

Roger,

It is possible that the JMRI installer did not remove old versions of some components.

Try doing a clean install: Use the Windows Control Panel to remove any JMRI versions. Manually check C:\Program Files and C:\Program Files (x86) for residual JMRI directories and delete them. Your data is at C:\Users\<username>\JMRI. It will not be affected. A good backup is always recommended.

Dave Sand

On Dec 3, 2018, at 5:22 AM, rlloyd1941@... wrote:

I am unable to launch this latest version of JMRI Decoder Pro.
I downloaded the latest version and it seems to install OK. I have also installed the latest version of Java. I am running Windows 10 on a 64 bit system.
When I launch Decoder pro, I get the following error response.
"Unrecoverable error encountered.
This application will quit.

java.lang.NoSuchMethodError: javax.help.SwingHelpUtilities.setContentViewerUI(Ljava/lang/String:v
at apps.jui3.Apps3.initialiazerHelpSytem(Apps3.java:141
at apps.jui3.Apps3.<init>(Apps3.java98)
at apps.jui3.dp3.DecoderPro3.<init>(DecoderPro3.java:27)
at apps.jui3.dp3.DecoderPro3.main(DecoderPro3.java:96)"

So this seems like a Java problem. I had previously installed Decoder Pro version 4.6 and this worked OK. Can anyone help?
Roger Lloyd


Locked Re: Defining a Departure Track

 

Dan and Martin,


On Mon, Dec 3, 2018 at 11:16 AM, Dan Boudreau wrote:
Most would agree that you and your operators should decide which arrival and departure tracks to use rather than the program.?
... unless the A/D tracks are staging.? I have three westbound passenger trains all departing from the same staging Location, with similar consists and train lengths.? I want to know that when I build 'Train 10,' the program selects the correct one.? Is there a way to do this, other than have it prompt for departure track??

Thanks in advance,
Chris


Locked Re: Connecting a JMRI throttle to Sound Decoder

 

Ok Klaus. Thanks. Mario


Locked Re: Packet Delays and Timeout - SPROG3 and JMRI 4.12

 

I have noticed that after a fresh start.. with or without reboot of Pi.. I have to switch track power off/on at least once before any throttle data is actually at the rails.. even though power is on at startup configuration.?

Thinking all this might be endemic to some of the other warnings and things we see with SPROG-Pi and SPROG-1. Our SPROG3''s might also be affected.


--
RockPro - San Diego, CA
Raspi2 B+,?SPROG3, LocoBuffer USB, BDL168 & 10 switches on a 4x8


Locked Re: Defining a Departure Track

 

that's kinda what I gathered from reading the manual. So an operator builds a train from the switch list, hands it over to the nest operator that takes it to the next city and drops the train off on the arrival track where the local switcher delivers the cars.


Locked Re: Defining a Departure Track

 

Martin,

Most would agree that you and your operators should decide which arrival and departure tracks to use rather than the program.? Here's the link to the help:



Dan


Locked Re: Unable to launch JMRI version 4.12

 

The error message below indicates that there¡¯s a problem accessing a library that JMRI needs. It¡¯s usually part of the JMRI distribution, and lives in the ¡°lib¡± directory within JMRI.

Not sure what caused the problem, but this might be one of those rare cases where a reinstall of JMRI can actually fix something!

Bob

On Dec 3, 2018, at 3:22 AM, rlloyd1941@... wrote:

java.lang.NoSuchMethodError: javax.help.SwingHelpUtilities.setContentViewerUI(Ljava/lang/String:v
at apps.jui3.Apps3.initialiazerHelpSytem(Apps3.java:141
at apps.jui3.Apps3.<init>(Apps3.java98)
at apps.jui3.dp3.DecoderPro3.<init>(DecoderPro3.java:27)
at apps.jui3.dp3.DecoderPro3.main(DecoderPro3.java:96)"


Locked Re: Layout Portability

 

The error message below says that the "Roberts Layout31.xml¡± file in the "D:Layouts JMRI¡± directory could not be read because the name ¡°LT11 DS TR¡± was defined for two different things. One is near line 2801 (but the line counts can be wrong in some cases). Mostly likely, you have somehow gotten the Simple Signal Logic for something defined twice.

You can _temporarily_ bypass this, which will let you load/fix/save the file, by setting your preferences to run the jython/TurnOffXmlValidation.py _before_ loading the file. (Or, if you¡¯re loading it from the menu, i.e. manually, first run that script)

Bob

On Dec 3, 2018, at 6:30 AM, harr6817@... wrote:

2018-12-03 17:16:53,181 configurexml.ErrorHandler ERROR - Parse error while parsing file /D:/Layouts%20JMRI/Roberts%20Layout31.xml Exception: org.jdom2.input.JDOMParseException: Error on line 2801: cvc-identity-constraint.4.2.2: Duplicate key value [LT11 DS TR] declared for identity constraint "signalElementName" of element "signalelements".
See for possibly more information. [AWT-EventQueue-0]
org.jdom2.input.JDOMParseException: Error on line 2801: cvc-identity-constraint.4.2.2: Duplicate key value [LT11 DS TR] declared for identity constraint "signalElementName" of element "signalelements".


Locked Re: Double crossover needed in Control Panel Editor

 

Ken,
Will not work in PE mode. I can add a regular turnout in PE with no problem and I can get the double cross icon window to show up but the "Add to Panel" button is grayed out and will not do anything.? I am running 4.13.5.
Side note....I was told earlier that an icon supported in PE but not in CPE will not convert to CPE. I hope that is wrong.
Paul D