¿ªÔÆÌåÓý

Date

Locked Re: LocoNet signals - both turnouts always thrown - bug or feature?

 

Bob's suggestion of the definition of the signal Head was the answer. Once I defined them (correctly) as SE8C 4 Aspect, I was good. I did need to reverse the meaning of one of two turnout messages to get the correct color, but that was easy once I had only one message to deal with.

Thanks very much for your quick responses.

Scott Walton


Locked Re: RR-Cirkits Motor Man vs DCC Specialities Jack Wabbit

 

I have several of the MotorMan boards (and a couple of the Jack Wabbits). My own preference is for the RR-CirKits boards for several reasons. One major item is that the Jack Wabbits rn from track power and, unless you dedicate a circuit breaker to them, when the track is short circuited, so are the turnout motors. A second reason is, even with the Quad Jack Wabbits, you only get 4 switch machines controlled. The MotorMan handles 8, plus you get 8 more bits of I/O to use of other things (I use those bits for buttons and LED's on panels, as well as RR-CirKits BOD-8 block occupancy detectors. You do need an additional power supply for the MotorMan, plus either the SSB Gateway or SSB adapter. Plus I like using the 10 wire flat ribbon cable wiring to the switch machines (then I use breakout boards for the individual machines).

Scott Walton


Locked Re: New User

 

If you have an old Android phone/tablet (maybe a sibling/child does), you can run EngineDriver on it and it is free and does everything I want: routes, turnouts, throttles and web interface of JMRI to manage a panel.


Locked Re: Digitrax programming and Track Power On (was JMRI 4.18 is available for download)

 

Same issue with Dcs240. Jmri is deliberately sending a power on command. It caused by the change converting command station descriptions to enum.
Steve G.


Locked Re: What's a good way to learn jython?

 

Thank you, Dave Sand!

That's a lot of good information, and yes, I only am interested in using jython with JMRI, so you saved me a lot of bother and time, and a little bit of money.

Don Weigt
Connecticut, USA


Locked How do I save a panel with throttles ETC.

 

I end up having multiple throttles, my roster , routes and panel pro all open at once. How can I save this as a profile so it loads everything as it is when I shut it done? Is this even possible?


Locked Re: Layout Editor Bridge Decoration line width problem

 

Yep; that's a bug. I'll put it in my queue. Thanks.


Locked Re: Panel Frustration...Individual panels don't open

 

The Panels are a tricky business. You mention custom images which reminded me of image slicing. You have to be aware of Panel building stipulations that makes a lot of
difference in the loading and operation of panel (Images Slicing). The technique of slicing the background helps in supporting interactive graphics.?

I forgot all about that and had to go back and double check as with everything....


Bob's is a must reference...as you know already...


Inobu
?


Locked Re: Digitrax programming and Track Power On (was JMRI 4.18 is available for download)

 

I swapped my DCS100 for the DCS210 and see the same problem.? It was not
an issue with JMRI 4.16 with either command station. Definitely
something that got introduced with 4.18.

David Witman


Locked Re: RR-Cirkits Motor Man vs DCC Specialities Jack Wabbit

 

I should have noted my control system is a Digitrax DCS-100 and I will be controlling over 24 turnouts.

TIA,

Mike Davis
Arnold, MD


Locked Re: Digitrax programming and Track Power On (was JMRI 4.18 is available for download)

 

I am seeing this with JMRI 4.18, DCS50 Zephyr and Locobuffer-USB.? I simply do an IDENTIFY and track power comes on 10 seconds after the last command while I am doing service mode programming.
I am also seeing this with a PR3/DCS50 combo.

I certainly do not want this to occur.

Marc


Locked RR-Cirkits Motor Man vs DCC Specialities Jack Wabbit

 

I'm just starting to look at using Panel Pro with Tortise switch machines on an area of my layout where my usual manual controls will not work.? I'm looking for viewpoint on approaches from any of you who might be familiar with the application of one or both of these boards or other options that you prefer.?

TIA,

Mike Davis
Arnold, MD


Locked Re: Digitrax programming and Track Power On (was JMRI 4.18 is available for download)

 

Billybob,

If no one else can do your test I can. I have a DCS 100 that powers up to the "track power off" condition. Just tell me what you want me to check. BTW, it has NEVER turned on track power while I have used it.

On Thu, Jan 9, 2020 at 2:03 PM billybob experimenter <jawhugrps@...> wrote:
Mick,

I would not be surprised if it turns out the DCS240 and/or DCS210 will automatically decide to turn on track power.?

I recall seeing "odd" track power behavior with the DCS240 and/or DCS210.? While I have a few notes about those oddities, I don't have any notes discussing the particular "odd" behavior you have reported.

I am curious if the behavior is the same if you swap in a DCS100 for the DCS240.? Preferrably a DCS100 set to power-up to a "track power off" condition.? Is this something you can try?

Regards,
Billybob







--
John Griffin? ? ? ? ? ? ? ? ?
_______________________________
If today was your last day...


Locked Re: Delay Timer in a Logix Action - Signal Mast? #logix

 

Since the group site strips photos I've created an album in the groups photo section that shows how I add delays to a signal clearing sensor.? That link is here:


Hope this helps.

Cheers, Dennis Drury
Dayton, NV

The miracle is this: the more we share the more we have.
Leonard Nimoy

On Thu, Jan 9, 2020 at 12:17 PM Nick via Groups.Io <cornwall9=[email protected]> wrote:
Mike, Dave,

I too am working on a CTC panel and I am also looking for the same thing.? Bob Bucklew provided me with a LOT of help on several issues. One thing I had thought about was to use LOGIX to control a hidden internal sensor to control a virtual signal. Add the delay to the sensor, which would in turn delay the signal. Make the real signal follow the virtual signal and the delay should be provided. The thought came to me when Bob and I were setting up virtual signals to provide logic to real signals controlled by "planned" signals that were not in place yet. We were also looking for logic to prevent cornfield meets in interlockings. Virtual signals were used and they worked.

I am totally new at LOGIX and I am amazed when something I do actually works.

Regards,
Nick


Locked Re: Digitrax programming and Track Power On (was JMRI 4.18 is available for download)

 

Mick,

I would not be surprised if it turns out the DCS240 and/or DCS210 will automatically decide to turn on track power.

I recall seeing "odd" track power behavior with the DCS240 and/or DCS210. While I have a few notes about those oddities, I don't have any notes discussing the particular "odd" behavior you have reported.

I am curious if the behavior is the same if you swap in a DCS100 for the DCS240. Preferrably a DCS100 set to power-up to a "track power off" condition. Is this something you can try?

Regards,
Billybob


Locked Re: LocoNet signals - both turnouts always thrown - bug or feature?

 

Scott,

I've seen some good suggestions already. Here's two more to add:

- Check your signal mast (and signal head, if you use those) definitions carefully - especially the signals which protect entry into the the block that includes the mis-behaving signal. You might have another signal mast/head which is using a turnout address which is already configured for the signal head which is misbehaving.

- Make sure you don't have any "Routes" configured that are triggered by any of the turnout addresses which you are using for signaling. Routes can be stored/implemented in DS64 devices, some Digitrax command stations, some 3rd-party LocoNet devices, and JMRI itself.

Regards,
Billybob


Locked Re: What's a good way to learn jython?

 

Don,

Do you want to learn Python to create your own applications or be able to create Jython scripts within the JRMI environment?

Assuming Jython, doing a Python course, while potentially interesting, is overkill. ?You will not be using many of the features, and the Jython environment has its own requirements since it is running within Java with access to the JMRI objects.

Since Python 2 is officially retired, most information will be released to Python 3. ?Jython is based on Python 2.7 so current courses and other information will not be relevant.

The JMRI help,?, has lots of information for getting started. ?The jython directory located in the JMRI install has many scripts. ?These can be a good reference.

The first thing you need is a good Python aware editor. ?For Windows, Notepad++ is good. ?An IDE (integrated development environment) is generally not useful since they don't know anything about Java and JMRI.

Python uses indents to convey structure, such as if/else, loops, etc. ?Make sure you editor uses spaces for indents, generally 4. ?Never mix tabs and spaces. ?A good editor will convert tabs to spaces while typing.

Always have the JMRI system console open so that you can see Jython errors.


Dave Sand


----- Original message -----
From: Don Weigt <dweigt47@...>
Subject: [jmriusers] What's a good way to learn jython?
Date: Thursday, January 09, 2020 6:33 AM

Following along, it seems at some point I'm going to need to write some of my own logic.

I learned Intel assembly language and QuickBASIC decades ago. But C and C++ stumped me. Is it realistic to think I can learn to program in Jython? My impression from bits in the messages here, is that it's "C like". I'm 75 years old, and it's harder for me to learn complex new things than it was...

Also, I have a mailing about "The Great Courses", and one of them is a 24 lesson course in Python I could order for $35. Might that be useful? Or, is there some programming manual I should buy? I don't want to ask a million beginner's questions on the list. But, what's a good way to learn to program in Jython?

Don Weigt
Connecticut, USA


Locked Re: Panel Frustration...Individual panels don't open

 

Frank,

In addition to what Dave has provided, your file takes more than forty seconds to load on my win10 64bit 2.20 GHz laptop with a 17 inch screen. Indeed all nine panels did finally show up.

But, since my eyes are getting old, the "Scale and Layout" parameter on the "Display Settings" window is usually set to at least 125%, and often higher.

In order to be able to find all your panels, it was necessary to change that parameter back to 100% for this screen. Is it possible that some of your panels are simply trying to be displayed beyond the size limits of your screen?

Cliff in Baja SoCal


Locked Re: LocoNet signals - both turnouts always thrown - bug or feature?

 

Did you define these as SE8 type signal heads? It sounds like they were defined as two-output.

Bob

On Jan 9, 2020, at 10:54 AM, Scott Walton <jscottwalton@...> wrote:

Running 4.19.1 on Windows with Digitrax. I am using RR-CirKits 4 Aspect displays (which set signals based on the way the SE8C works). I define a Signal Head at address 401/402 (401 is Red/green and 402 is Yellow or Dark). I set the addresses in the dialog for Signal Heads and Create the Head. When I go to the Panels/Tables/Heads I can select Red or Green correctly but Yellow only flashes and turns Green. When I check the LocoNet Monitor, I see that both 401 and 402 are switched (the second command reverts it to Red/Green instead of Yellow/Dark. If I use throttle to throw Turnout 401, JMRI follows it up with a 402 and I only get a Yellow flash. If I delete the Signal Head, I can manually turn on Yellow (so it's clear the Signal Head is the one that is throwing the second turnout.

I have checked the SE8C documentation and it clearly states that you should be throw one or the other (not both). Since I don't have actual SE8C, I can't verify how the real hardware works, but this seems contrary to the way the documentation says it's supposed to be. Is the a bug? A feature? Has anyone gotten an SE8C to respond correctly? Or is this a bug in the RR-CirKits board?

Scott Walton
--
Bob Jacobsen
rgj1927@...


Locked Re: Problem running a list of scripts (Jython) #scripting

 

Line 4 of the Mast013.py script is a syntax error. It looks like some extra characters got inserted, or perhaps a extra newline in the middle of the line before.

Bob

On Jan 9, 2020, at 11:36 AM, Scott Walton <jscottwalton@...> wrote:

I building a number of scripts to set the signals. Each script represents one Signal Mast. I want to run a script to invoke all the masts. When I run the script with the list of scripts, it fails, indicating that it expects an EOF in one of the subscripts. The sub-scripts are all of the same form (defining a class based on Siglet, and then starting it). All the scripts in the list are valid and running properly when invoked from the Script Entry window or the Run Script menu item. The basic form of the script exection is:
import java
import java.beans
import jmri

execfile(jmri.util.FileUtil.getExternalFilename("scripts:Mast001.py"))
execfile(jmri.util.FileUtil.getExternalFilename("scripts:Mast002.py"))
and so on. It seems to fail after a certain number of scripts are invoked. Should there be additional code in the Siglet script (perhaps a return?).

I have upload the list of scripts ("Mast_List.py") and two of the scripts to "Problems being worked" folder "Scott_Walton".

Any thoughts on what I might be doning wrong?

Scott Walton
--
Bob Jacobsen
rgj1927@...