Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
Locked
Re: Best Command Station to use with Decoder Pro
开云体育Ken (Cameron),
the JMRI support pages are for the ECoS system,? not the "CabControl" system.? ?There's nothing obvious on the JMRI pages about support for the CabControl system.??
The ESU pages say that connection is possible via the ethernet port, or via WiFi, but that's about it.? ?
- Nigel
------ Original Message ------
From "Ken Cameron" <kcameron@...>
Date 20/03/2025 23:45:19
Subject Re: [jmriusers] Best Command Station to use with Decoder Pro
|
Re: Changing signal Mast Aspect with jython
#jython
#signalheads
thanks last night. I spent a good two hours playing around and I get the signals to change.
?
Frustrating though using the script
?
It doesn’t give me any feedback like syntax air like I’m used to with visual basic
?
For now, I have a track sensor DB 20, and as a locomotive approaches, I just want the signal to change
And then on a timing schedule the next four signals to change in succession but delayed
?
I want the engineer to see the signals change aspect
?
I really need a tutor on scripting.?
Anyone up for online classes? |
Locked
Re: Best Command Station to use with Decoder Pro
Ken Cameron,
?
You mention JMRI support for Ecos but there is no mention there of the CabControl system.
? I've been using the CabControl for some months, but haven't yet implemented JMRI on the layout since I'm not to that point yet. ? I assumed there would be JMRI connectivity with no problems.? I still feel that should be true but in checking on this computer it appears to be thru a wifi link to the CabControl's "esuwifi". As with many, I have an older computer in the train room, with an ethernet connection to the outside world, and it's not connected to the "esuwifi".? I know I can run ethernet to the esuwifi but then it gets dodgie... The CabControl will not hook up to the Internet via ethernet or wifi that I know of, but then again I don't know a lot. I have yet to figure out how to connect 2 outside sources at once:? I have an ethernet port and the wireless port, but the computer, a Dell XPS, doesn't seem to want to use both at once. Being a greedy soul, I would prefer to have both Internet and JMRI connections from the computer to the CabControl at the same time... ? I suppose it's an ESU support issue, but if you have any insight I'd appreciate it! ? Thanks, ? Ken Moordigian |
Re: How to make multiple trains chase each other
#automation
#dispatcher
Thanks everyone for your input, I now have a lot to ponder and experiment with.
?
Scott |
Re: How to make multiple trains chase each other
#automation
#dispatcher
I've done this with Dispatcher and SignalMasts using the "Held" state. Each train would release the next train's SignalMast when it completed it's run.
--SteveT |
Re: How to make multiple trains chase each other
#automation
#dispatcher
Thank you, Willem, I’ll take a look at your scripts. |
Locked
Re: Best Command Station to use with Decoder Pro
开云体育On Fri, 21 Mar 2025 03:55:12 EDT Mick Moignard wrote: Actually, the decoder is not asked 8 questions, one for each bit. In Direct Bit mode, it’s as 16 questions, because it asks whether each bit is 0 and then 1, to be sure of a positive answer for one of the questions. No assumptions here; the bit can’t be assumed to be 1 if it’s not zero, because something could have gone wrong with the 0 question.
|
Re: Startup/automation
Steve_G, I don't believe in anything "dumb luck". Genius.
?
AD, my "virtual" turnout occupancy block is not mired in Logix.
It looks complicated but really simple in either Logix or LogixNG:
Proper timing to satisfy Dispatcher is done in the debounce times of the blocks indicating occupancy:
The nice part of this is that there is no need for additional detection hardware and the block occupancy doesn't disappear.
And it's as simple as my old pea brain can keep track of.
?
The caveat is that all rolling stock is detected.
It's as close to prototype operating safety as I can achieve.
?
I have one other standard design feature that really doesn't affect any of this.?
I buffer each hardware detector sensor with a virtual sensor set by Logix(NG) - detect active makes virtual active, otherwise inactive.
I do that so I can simulate occupancy with a panel toggle for testing purposes.
?
--
Ken NYNH&H, Old Colony Division, Cape Cod Branch (1949-1959) Loconet * JMRI 5.11.1 * OSX,Win10,Ubuntu Blog: ?
Youtube:
|
Locked
Re: Best Command Station to use with Decoder Pro
Yes the RailCommunity specs. are all in German but if you are a Merg member they are all available to you in English and all up to-date unlike the NMRA versions.
?
RailCom+ is known within the RailCommunity specs. as DCC - A (for automatic login).
?
Michael |
Re: Signal Mast Logic
#sml
Hi,
?
I have everything working now.
Many thanks for your help.
?
Regards
?
Dave |
Locked
Re: Best Command Station to use with Decoder Pro
Nigel
The NMRA is on the case now on RailCom, in partnership with RailCommunity. Mick ______________________________________ Mick Moignard mick@... p:+44 7774 652504 The week may start M, T, but it always ends WTF! |
Locked
Re: Best Command Station to use with Decoder Pro
Actually, the decoder is not asked 8 questions, one for each bit. In Direct
Bit mode, it’s as 16 questions, because it asks whether each bit is 0 and then 1, to be sure of a positive answer for one of the questions. No assumptions here; the bit can’t be assumed to be 1 if it’s not zero, because something could have gone wrong with the 0 question. In both Page and Direct Byte mode, it’s up to 256 questions, because it asks 0, 255, then 1,2,4 up to 254, stopping when it gets an acknowledgement. Remember the decoder can only say “yes” as a positive answer. It can’t say “No” and the command station should not take the lack of an answer to be the end of the question. It will (should!) only pass back an answer on positive receipt of “Yes” - ack pulse - responses. Mick ______________________________________ Mick Moignard mick@... p:+44 7774 652504 The week may start M, T, but it always ends WTF! |
Re: Startup/automation
toggle quoted message
Show quoted text
On Mar 20, 2025, at 9:18?AM, Steve_G via groups.io <RailRodder22@...> wrote:
|
Locked
Re: Best Command Station to use with Decoder Pro
Digitrax won't as it would wipe out the use of transponding, who would bother with such a clumsy system. Also there is the "Not made here" problem, they did not come up with it.
?
NCE probably won't as it would mess up all their old non NMRA compliant decoders, they don't play nice with the cutout used, it needs to be tweaked to let them run. Lenz has had settings in the command station even back years ago for that.
?
Tony |
Re: Anyone Have a Schedule Strategy to Put Long Train Into Multiple Staging Cassettes?
#operationspro
Building on Daniel’s suggestion…
?
Let’s say you would like three cassettes that hold 18 cars each (triple your current six).?
create three staging tracks each long enough to hold 18 cars. Call them RED, WHITE, BLUE for example. ?
Then build 9 cassettes and paint (or designate) three of each by color. ?You will have to break down your train onto the separate cassettes, but then at least it really doesn’t matter how they are blocked since the three cassettes will stay together as a group. ? |
Re: Changing signal Mast Aspect with jython
#jython
#signalheads
Sorry, but that is garbage. You cannot get an instance of an object by requesting the object from its class. ?It has to be done using the object's manager. ?The JMRI scripting environments includes aliases for the common managers, such as masts for signal masts. Signal mast aspects are NOT set by changing the signal head appearance. ?That assumes that the signal mast is build using signal heads which is not a valid assumption. ?Even if built using signal heads, there can be more than one head.
Dave Sand ----- Original message ----- From: "Canadian Locomotive Logistics via groups.io" <CanadianLocomotiveLogistics=[email protected]> Subject: Re: [jmriusers] Changing signal Mast Aspect with jython #jython #signalheads Date: Thursday, March 20, 2025 6:47 PM I have a new love now for ChatGPT.... ? # Import necessary JMRI classes from jmri import SignalHead from jmri import Reporter # Get the SignalHead object for the signal mast signal_mast = SignalHead.getSignalHead("Signal Mast, Table 12, Track 5, West Bound") # Check if the signal mast exists if signal_mast is not None: ? ? # To set the aspect, you'll need to use the setState method with one of the predefined aspects. ? ? # Here we set an example aspect. Adjust according to the available aspects. ? ?? ? ? # For example, setting the signal to red (stop signal): ? ? signal_mast.setState(SignalHead.RED) ? ?? ? ? # If you want to set to a different aspect, such as yellow or green, use: ? ? # signal_mast.setState(SignalHead.YELLOW) ?# for yellow ? ? # signal_mast.setState(SignalHead.GREEN) ? # for green ? ?? ? ? # Optionally, you can get the current state to confirm if it was set correctly ? ? current_state = signal_mast.getState() ? ? print("Signal Mast aspect set to: ", current_state) else: ? ? print("Signal Mast 'Signal Mast, Table 12, Track 5, West Bound' not found.") |
Re: Changing signal Mast Aspect with jython
#jython
#signalheads
then again chatGPT use code for signal head.... try again. lol
? |