开云体育


Re: ESU and JMRI #esu

 

Download ESU Lok Programmer Software. Its free,
?
Load which ever sound file you are working with. Make which ever changes you need then
go to Tools and click on Show Changed CV's.
?
It gives you a list of changed CV's. You can then Use Decoder Pro to make the appropriate changes.? ? ?
?
?
?


ESU and JMRI #esu

 

I would like to know how to set faded sound levels using JMRI with ESU decoders.
Is there a definitive guide anywhere I could see - either video or text based - that explains the sound settings in detail?
Thanks in advance.
Chris


Re: LogixNG vs Jython performance #jython #logixng

 

Regarding George's question about efficiency and the observations that followed, I'll add some of my own perhaps practical observations.? I'm addressing the larger aspects of developing a signal system.?
?
I'm finally close to having a finished switchable ABS/CTC LogixNG layout control application, that has five controlled sidings, a dozen intermediate signals, and at least a hundred occupancy sensors.? It is controlled by a JMRI-graphics CTC lever panel that properly emulates a Western Pacific office machine, including all the panel lamps and levers and working US&S 506 Time-Code code lamps and recorded relay audio, with proper time delays doing field I/O.? This covers half our club layout, and I'll finish the other half in the next year or so.? I'm using CMRI hardware on a 56Kbaud serial bus to several cpNode controllers in the "field" (layout room) for I/O.? The turnout controllers are custom, and can emulate both Dual Control and Electric Locked switches;? each have 6 I/O pins for control and position/lock feedback.? There are several hundred items in the JMRI sensor and turnout tables, and many in the Heads, Masts and audio tables.? All the signal logic is done in LogixNG (vs. SML, SSL, CTC, etc).? In other words, I did everything with LogixNG.? There are two large graphics panels (the CTC office panel and a "field" monitor panel) and a couple minor ones.
?
So, how big is the software?? The XML file is 12MB, which has 250K lines of code in the file (all generated with PanelPro).? I don't know how this compares to other large layouts.? I'm guessing the final build-out will be 50% larger.? I'm using the latest production release of PanelPro and JAVA 17.? I'm developing this on my newer Windows laptop (in SIM mode), and running the layout-connected app on a newer modest Windows desktop machine, both on Win11.?
?
How does it run?? It starts on both platforms very rapidly (a few seconds), and runs below 10% of the CPU.? I'm not seeing any real-time lags in doing anything.? I haven't seen any odd behavior in the aspects of the ~50 signal masts over several hours of use during ops, nor seen any lockups or odd System Console errors being thrown.? Not sure why I'd want or need to make it more efficient.? I'm not seeing anything that's a problem, and those I've issues I've reported get fixed pretty quick (other than my request for a feature to clear the clipboard... bump).
?
How about ability to maintain this monster app??? That's perhaps the big challenge, even for the developer (me).? While I'm actively working on it and have the full context in my brain, it's easy to do.? On the other hand, if months go by I do forget a lot of how things are being done and where.? To mitigate that I've maintained WORD, EXCEL, and VISIO docs as I've gone along that covers tables, contents, functions, strategies and flows that get me back up to speed.? It also has notes on how LogixNG does things (not always intuitive or well documented online).? As always, a straight-forward elegant design is always going to be easier to learn/maintain than a chaotic undocumented design.? I've tried to be clear and consistent doing things vs. clever and inconsistent.? I think I've used almost all the LogixNG features except for Modules, Sensor Groups and Servers.? Regarding others doing the maintaining?? That's going to be a big lift.?
?
Even if a club has programing members, few are going to be experienced in LogixNG.? I've talked to a lot of guys, some railroad signalmen, that learned and are using the original Logix and consider the jump to LogixNG would be difficult, and that the older Logix is closer to the railroad relay logic they know well.? Knowing both (relay logic and programming languages), I'm not so sure the latter is true, but LogixNG does have more "stuff" it can do and has more to learn to get that power.? It has taken months to figure out how to use the "new" features I needed, so they have a point.? BUT, no way would I want to try to do everything I'm doing with Logix.? In the end, learning the features paid off but it was a lift.? Makes a lot of us wish there were classes on this stuff, but in their absence we have this GIO group.? *Lots* of times the regulars on this forum got me unstuck, and I'm not sure what the alternative is.
?
Long term viability?? The older versions of JMRI and JAVA stick around, so I don't see big risk in letting a production machine run for years without updating.? This is more like a machine controller application that will work fine for a long time once solid and left alone, vs. something that's dynamically being pushed along over time.? Now, if the layout changes, then that's a functionally driven change.? Our layout computer is strictly offline (standalone) so that I don't have to worry about Microsoft updating and breaking something, which is a real thing.? We also have strict change control since operations is a key part of the club.?
?
Nor do I think the JMRI team is at risk of going away any time soon.? The team is strong from what I can see, and use good procedures.
?
Alternative JMRI approaches?? I don't know anything about the "packaged" signal solutions to comment.? I do know I'm approaching the signal control points and signal aspects the way the railroad signal department does, regarding input factors and control outputs.? I also have a prototype in mind and want to emulate that operation precisely, both in the field (layout) and in the DS office (CTC control panel).? I'm doing route signaling so don't have a huge set of aspects.? My goal was to have the flexibility to do what I wanted vs. take what the "package" provides (and assuming it has tradeoffs I don't want).? No doubt these "packaged" solutions will get better and perhaps at some point overtake the complex if-then-else digital formulas approach I'm doing.? Lots (most?) layout owners probably don't feel a need for precise control and are happy for all the help they can get with signals... they *are* hard.? From what I've seen, the JMRI team knows railroad signaling, so I'm assuming the "packaged" solutions are going to be pretty good, albeit generic else slanted to certain prototypes.?
?
Like everything about a hobby, there are tradeoffs... what makes you happy, and how much time/money you have for a task.? Signals are a big task no matter how you do them and not quick.? JMRI LogixNG is a safe and effective choice small or large, and I suspect the "packaged" signaling solutions will also work fine.
?
--
Jim Moomaw
Portland, OR
- Willamette Model Railroad Club (WMRC)
- NMRA, Pacific NW


Locked Re: Best Command Station to use with Decoder Pro

 

Back to the topic? "Best Command Station to use with Decoder Pro
?
I have a Z21 command station from Roco. This works wonderfully with DecoderPro and reads even complex ESU decoders in a few minutes via PoM (Railcom as feedback). The speed advantage over the DCC programming track method with ACK pulses is about 1:15.
?
Uli


Locked PERMITTED TOPICS - A general reminder for everyone #admin

Group Moderator
 

We would like to point out that this list is for discussions related to JMRI, and is intended to be a place that people, particularly beginners, can turn to for help with their JMRI problems from more experienced JMRI users.

General DCC and model railroading topics should be taken to a more appropriate forum and NOT be posted here. SPAM of any kind, politics, legal issues, and other off-topic matters should NOT be posted to the list and will be subject to deletion by the moderators, as will any responses to such off-topic matters. New members still on moderated status will find that off-topic posts will not be approved for posting, and old members making such posts may find themselves back on moderated status.

BUY / SELL and ADVERTISING is NOT PERMITTED

Let's keep things simple for all of us, and keep the discussion here on-topic.

Your moderators


Re: Anyone Have a Schedule Strategy to Put Long Train Into Multiple Staging Cassettes? #operationspro

 

What the software thinks and what the operator does are two different things.
I think I will set one cassette at double capacity and keep one as "overflow".
I'll leave the other cassettes at configured length.
If OpsPro builds a train destined for that long cassette, it will be the yardmaster to put the extras on the overflow cassette.
When a build must use the "big" cassette, the yardmaster will need to pull both cassettes.
The "shorter" cassettes will add a bit of variety to the local freight.
--
Ken
NYNH&H, Old Colony Division, Cape Cod Branch (1949-1959)
Loconet * JMRI 5.11.1 * OSX,Win10,Ubuntu
Blog: ?
Youtube:


Re: Startup/automation

 

Tony
If you do not see a column you want,? such as ghost, right click the column header to show or hide columns. Works on most a y table (or should).
Steve G.
?


Re: Functions above F12 not working using Digitrax PR4 #digitrax

 

开云体育

Or buy a SPROG and do your programming and testing with that

That’s what I diss when I needed a stand-alone test system

Phil G

On 21 Mar 2025, at 21:46, Semms via groups.io <mnsamp@...> wrote:

?
Thanks for the info.? I figured it was a limitation of the PR4.? I'm going to connect it to the DB150 and create another profile for decoder pro to run it with that and see if i can send functions above 12 that way.? I guess the ultimate goal is going to be using a DTDP switch to either have it in standalone mode or through the command station so i can program and then test the functions on the same programming track.
?
?


Re: Functions above F12 not working using Digitrax PR4 #digitrax

 

Thanks for the info.? I figured it was a limitation of the PR4.? I'm going to connect it to the DB150 and create another profile for decoder pro to run it with that and see if i can send functions above 12 that way.? I guess the ultimate goal is going to be using a DTDP switch to either have it in standalone mode or through the command station so i can program and then test the functions on the same programming track.
?
?


Re: Startup/automation

 

Tony,



Dave Sand



----- Original message -----
Subject: Re: [jmriusers] Startup/automation
Date: Friday, March 21, 2025 4:06 PM

I have a panel with switches using logix but i would like to have one using the ghost feature.
Question is how do i create the ghost blocks?

Tony





On Mar 21, 2025, at 6:04?AM, Ken Heywood via groups.io <kheywood@...> wrote:
?
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:
  • For turnout state closed and both blocks on that path are active then turnout occupied (set virtual block active).
  • For turnout state thrown and both blocks on that path are active then turnout occupied (set virtual block active).
  • Otherwise, turnout is unoccupied (set virtual block inactive).
Proper timing to satisfy Dispatcher is done in the debounce times of the blocks indicating occupancy:
  • Blocks on either side of the turnout are set debounce active 500 ms, inactive 0 ms.
  • Virtual block debounce active 0 ms and inactive 500 ms.
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:


Re: Startup/automation

 

开云体育

I have a panel with switches using logix but i would like to have one using the ghost feature.
Question is how do i create the ghost blocks?

Tony




On Mar 21, 2025, at 6:04?AM, Ken Heywood via groups.io <kheywood@...> wrote:

?
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:
  • For turnout state closed and both blocks on that path are active then turnout occupied (set virtual block active).
  • For turnout state thrown and both blocks on that path are active then turnout occupied (set virtual block active).
  • Otherwise, turnout is unoccupied (set virtual block inactive).
Proper timing to satisfy Dispatcher is done in the debounce times of the blocks indicating occupancy:
  • Blocks on either side of the turnout are set debounce active 500 ms, inactive 0 ms.
  • Virtual block debounce active 0 ms and inactive 500 ms.
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:


Re: The future of control and automation - thoughts?

 

Although a few responces may have veered slightly off track I believe this thread is JMRI related.? The future of train detection will effect the future of JMRI.? ?Obviously automation is not as big in US but it is much more prevalent in Europe.? Check out MERG ?Model Electronic Railway Group? This thread also turned me on to camera detection which I find fascinating.? I have been following IOTT and gps detection.? Keep up the great work to all of you.? Thank you!


Re: Functions above F12 not working using Digitrax PR4 #digitrax

 

The PR4 is a programmer, not a command station, and therefore isn't intended to run a loco or test a decoder's functions (the very limited exception being certain Digitrax sound decoders).
?
As you have found, trying to use it in a manner for which it was not designed may produce inconsistent results. It has long been my contention that the JMRI throttle be disabled when using a PR4 (or a PR3) in stand-alone programming mode.
?
Steve
"Breezlys"


Re: LogixNG vs Jython performance #jython #logixng

 

Thanks Dave.
I can understand why one might not want to repeat an action or have an item trigger an evaluation.?
However, in most of my CNGs either of these don't matter, so I'm more comfortable with Always Execute.
If the overhead is insignificant then it's probably much of a muchness.
--
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


Functions above F12 not working using Digitrax PR4 #digitrax

 

Hi,
?
I was programming an ESU Loksound V5 DCC decoder and noticed i could not activate any function above F12 using the JMRI Throttle in Decoder Pro.? I had another locomotive with a V5 decoder so i also tested the issue on that with the same results.? I'm using the PR4 as a standalone programmer on a dedicated programming track.
?
The PR4 has the latest drivers from the Digitrax website and i also tried flashing the firmware.? Is this a limitation of the PR4 in standalone mode?? Am i missing a specific setting somewhere in Decoder Pro?? Any help would be appreciated.
?
14:15:31,264 apps.util.Log4JUtil ? ? ? ? ? ? ? ? ? INFO ?- * JMRI log ** [main]
14:15:31,305 apps.util.Log4JUtil ? ? ? ? ? ? ? ? ? INFO ?- This log is stored in file: C:\Users\Semms40oz\JMRI\log\session.log [main]
14:15:31,307 apps.util.Log4JUtil ? ? ? ? ? ? ? ? ? INFO ?- This log is appended to file: C:\Users\Semms40oz\JMRI\log\messages.log [main]
14:15:31,390 apps.AppsBase ? ? ? ? ? ? ? ? ? ? ? ? INFO ?- DecoderPro version 5.10+Rca461bd266 starts under Java 17.0.14 on Windows 10 amd64 v10.0 at Fri Mar 21 14:15:31 EDT 2025 [main]
14:15:31,823 apps.gui3.Apps3 ? ? ? ? ? ? ? ? ? ? ? INFO ?- Starting with profile My_JMRI_Railroad.3f685e70 [main]
14:15:32,183 jmri.util.node.NodeIdentity ? ? ? ? ? INFO ?- Using 19742551-f6c4-41ef-a3d3-7effa4c90361 as the JMRI storage identity for profile id 3f685e70 [AWT-EventQueue-0]
14:15:32,481 xml.AbstractSerialConnectionConfigXml INFO ?- Starting to connect for "LocoNet" [main]
14:15:32,693 jmri.jmrix.loconet.pr4.PR4Adapter ? ? INFO ?- Connecting PR4 via COM3 VCOM PR4 [main]
14:15:32,704 .loconet.locobuffer.LocoBufferAdapter INFO ?- LocoNet: Port Communications Port (COM3) opened at 57600 baud, sees DTR: true RTS: true DSR: false CTS: false DCD: false flow: RTSCTS [main]
14:15:32,724 x.loconet.pr3.PR3SystemConnectionMemo INFO ?- Connection [L] initialized as "Stand Alone Programmer", no access to attached devices. (see preferences) [main]
14:15:32,758 jmri.jmrix.loconet.LnPacketizer ? ? ? INFO ?- lnPacketizer Started [main]
14:15:33,743 jmri.jmrit.roster.Roster ? ? ? ? ? ? ?INFO ?- Reading roster file with rootFromName(C:\Users\Semms40oz\JMRI\My_JMRI_Railroad.jmri\roster.xml) [main]
14:15:33,962 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path program: is C:\Program Files (x86)\JMRI\ [main]
14:15:33,963 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path preference: is C:\Users\Semms40oz\JMRI\My_JMRI_Railroad.jmri\ [main]
14:15:33,966 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path profile: is C:\Users\Semms40oz\JMRI\My_JMRI_Railroad.jmri\ [main]
14:15:33,970 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path settings: is C:\Users\Semms40oz\JMRI\ [main]
14:15:33,971 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path home: is C:\Users\Semms40oz\ [main]
14:15:33,973 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path scripts: is C:\Program Files (x86)\JMRI\jython\ [main]
14:15:34,781 t.permission.DefaultPermissionManager INFO ?- Permission file: C:\Users\Semms40oz\JMRI\.permissions.xml [main]
14:15:34,792 t.permission.DefaultPermissionManager INFO ?- Permission system is enabled: no [main]
?
Thanks.


Locked Re: Best Command Station to use with Decoder Pro

 

On Fri, Mar 21, 2025 at 06:53 AM, Mark Granville wrote:
Do you know if there is a command station manufacturer with a lazy coder who made the if it aint 0 it must be 1 assumption?
I'm aware of one that validates bit by bit as "is it zero" and if there is no ACK then it is assumed to be a one, however, after checking the eight bits it attempts to validate the assembled bits with a follow up PROG packet (0b01110100 as cmd byte). This would generate nine packets on the PROG track per CV to be read.
?
Mike


Re: The future of control and automation - thoughts?

 

Oh - Sorry if I cracked open a topic beyond the intended scope - though it starts with what I am learning in JMRI. And I will say I have learned a great deal from the responses here - and thank everyone for indulging the 'general' topic! I continue to be encouraged on everything from running trains manually to the most advanced topics of JMRI -and beyond!?
-Roll on :-)?
-peter
?


Locked Re: Best Command Station to use with Decoder Pro

 

开云体育

I recommend Digitrax. I want to see if they were the first ones to adopt USB as a connection point. And it’s been pretty darn solid in the 20 years I’ve been using it.
Larry Sloan
Eat, Sleep, Work, Play with trains

On Mar 21, 2025, at 9:04?AM, Ken Cameron via groups.io <kcameron@...> wrote:

?

I posted that as ‘here is what JMRI knows’ as I know very little about ESU beyond the decoders. Like “what is CabControl” vs the ECoS stuff?

?

-Ken Cameron, Member JMRI Dev Team

?

?


Locked Re: Best Command Station to use with Decoder Pro

 

开云体育

Michael,

The NMRA version of RailCom, S-9.3.2 was published, in English, back in 2012. See: The fact that it does not include the latest updates that are being worked out with the Rail Community is hardly any excuse for the lack of participation by most US manufacturers.?

On the other hand, the lack of US support for RailCom (which is virtually unknown the US market place) may be the root cause for the lack of NMRA volunteer resources available to keep everything current. The NMRA is its membership, and runs on its volunteers. My guess is that the NMRA consists mostly of folks from the USA. If it is lagging behind with RailCom, it is because there is no volunteer running with that project. Taking a cheap shot at the NMRA is not really a useful way out of this catch-22 situation.

JMRI does amazingly well at supporting what is being used by its various contributors, but again, you don't see very much support for products that we don't use. My guess is that JMRI DecoderPro support will follow along very closely with NMRA standard product capabilities and customer choices. I.e. we should purchase systems that support the best programming options, not expect DecoderPro to somehow magically make old slow designs work faster.

Dick :)

On 3/21/2025 5:01 AM, Michael Smith via groups.io wrote:

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


Locked Re: Best Command Station to use with Decoder Pro

 

开云体育

Ken (Moordigian),

first question for JMRI is whether the Cab-Control system is actually supported.? The pages linked are for the ECoS system, which isn't the same thing.? ?

On networking,? you should be able to solve things.? ?There's an ethernet port on the Cab-Control, so if you've a spare port on an ethernet hub/switch which can be reached from the train room, then that provides a wired connection between things.? ?(There may be some network address ranges to sort out).? ? ? But, without anything in software to support the device, you're still stuck,? so first question needs addressing first.??


Nigel



------ Original Message ------
From "Ken Moordigian via groups.io" <TheKenWiley@...>
Date 21/03/2025 15:29:20
Subject Re: [jmriusers] 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