¿ªÔÆÌåÓý

Date   
Help with a Script to send SigOps CV settings for NCE Lightit 4 #nce #scripting
Hi all, I use NCE LightIt decoders for signal heads and then have signal masts setup using the signal heads. I have about 90 signal heads on the layout (90 NCE LightIts). I have been doing some searching, and attempting using ChatGPT, to configure the CV for the lights. In particular I want to set the values of CVs 140, 141 and 142 for each of the lights to change the brightness. On my NCE system, I can do this by entering Sig Ops Programming on the Main (Esc+0) and I can enter the signal address, CV number and Value. This however is tedious for 90+ lights and I figured this would be a good way to start to understand Scripting in JMRI. But I am struggling to get access to the right programmer in the script. Any JMRI script experts out there who might be able to show me the best way to get a programmer object that works as SigOps on the main and then to write a CV value to a given address? Thanks Trevor
Started by trevor@... @ · Most recent @
OperationsPro new trains log format 3 #operationspro
Dan, thanks for the expanded information in the trains log. However, I can't figure out how you calculate the "Partial 28/80 cars" numbers. Can you enlighten me? Example: Jon in San Rafael
Started by Jon Schmidt @ · Most recent @
OperationsPro New feature, Routes 20 #operationspro
OperationsPro users, there's a new feature that I would like feedback on. There's now a control for local moves in a train's route. See https://www.jmri.org/help/en/package/jmri/jmrit/operations/Operations.shtml#PullsAndSpots for more information. Any comments, good or bad are welcomed. Dan
Started by Dan Boudreau @ · Most recent @
Transit update issue #dispatcher
I've discovered an issue when updating or changing a transit. When the transit actions are changed and updated, the change doesn't take hold until closing down and rebooting JMRI. I discovered this after many hours of assuming "I" was doing something incorrect. I changed the actions of a transit, updated the transit and tried it. Nothing happened. I terminated the train and created it again, and again nothing happens. BUT, when I close JMRI down and reload it, my transit, with the adjusted actions works just fine. Not knowing what happens behind the scenes when the update button is used, I'm assuming the adjusted, modified actions in the transit are not being written correctly someplace. Using JMRI 5.11.5 Java 21.0.7 Windows 11 The program is super and we love it for automatic train advancing in the hidden staging the layout has. Thank you for giving us this great tool to use for the hidden staging. later Inspector Dave
Started by Inspectordave @
Changing CV via webThrottle.html 6
Ken, et al. it there a what to change a CV value in the webThrottle.html via javascript? Darrin
Started by Canadian Locomotive Logistics @ · Most recent @
Cannot change horn, no bell 9 #esu
I am trying to set up an ESU Loksound 5 decoder programmed by my dealer. The prime mover sound works, I can change the master volume ok, the lights work, I can dim the lights ok in the Function Outputs tab, I try to change CV163 (horn) and CV164 (bell) but the horn sound does not change and it sounds like a plastic toy. It does respond to the master volume. Default Sound slots 3 (horn) at 225 and 4 (bell) at 70. Changing these values does nothing. The bell has never made a peep... it is like there are no sound files loaded. (I do not have a Loksound programmer). What am I missing? Thanks for your help, -Paul in Utah Bulletin: EMD 16-567D3 T Manufacturer: ESU, Item number: S0758, Version: V5-R5
Started by PTClegg @ · Most recent @
Keyboard Shortcuts for PC and/or Mac for PanelPro... are there any? 13
Keyboard Shortcuts for PC and/or Mac for Panel Pro... are there any?
Started by Georgia Hilton @ · Most recent @
Error trying to add a panel in 5 #panelpro
I am hoping someone has a thought on this error. I built a panel for a friends setup. I am trying to load the panel and this is the error I get. It is a simple panel, so I can just rebuild it, but I don¡¯t understand why it¡¯s not importing. What space?? -- Heath @ Human[c]ity http://www.humancity.org http://www.riversidetransfer.nyc http://www.manhattanmodelers.com
Started by Heath @ Human[c]ity Junction @ · Most recent @
How to stop auto-train that loses next Signal #dispatcher
Hi All, sometimes, fortunately very very seldom, an auto-train running under Dispatcher on our Club layout loses next Signal and so it does not stop although that Signal is set to Stop. I mean there is no next Signal in the Dispatcher window in those situations. On one side I am investigating with the help of System Consolle but on the other side, since our goal is safety first, I would like to stop the train when this behaviour happens. Is there a way to use LogixNG or scripts? I am not able to get/drive the decoder address of the running train in the block where it should stop. Thanks for help! Giuseppe Di Biasi ___________________________________ JMRI 5.10 MacOS Monterey 12.7.6 Windows 11 Java 17
Started by Giuseppe Di Biasi @
Build 2365 Fails to Launch on macOS arm64
Bob et al - Looks like the signing issue again. (macOS 15.5, Java 17) Fred Dalzell
Started by Fred Dalzell @
JMRI/Raspberry Pi Touchscreen panels - layout expansion questions 8
Good Afternoon, I currently have a layout running with the following set up: NCE Power Cab Raspberry Pi running JMRI using M Steve Todd's file This is connected to the layout via an NCE USB Adapter The Raspberry Pi runs a touchscreen which I have set up as a control panel and operate turnouts from this - the panel itself effectively is fullscreen on the Raspberry Pi touchscreen. I'm looking at expanding the layout, and realistically it would need a second control panel for the extension - I don't really want to redraw the existing panel and reduce the size of the panel itself as it's currently very user friendly. From reading the various JMRI documents, I'm not entirely sure how to go about this - it is clear that I can only have one Raspberry Pi unit connected in via an NCE USB adapter , but am I correct in saying that if I network a second Pi to the main one, either via the built in wifi or an ethernet cable, this is feasible? From my limited understanding, you can load up two separate panel windows and switch between them ,so am I correct that if this is the case, the original Pi panel can effectively stay as is, with the new Pi Panel running as a networked unit and showing just the additional panel? thanks in advance
Started by Richard Lea @ · Most recent @
Studying LogixNG first steps- Yard Ladder example not working. 5
Example from here. I guess there is some assumed/unmentioned hoop through which this newbie has not jumped :) Downloaded and unpacked the example zip. Opened the contained XML with Panel Pro > load all panels and table. Can see the panel, click a track sensor, sensor changes but no points. Had a look in sensor, turnout and logixNG tables which look something like this novice might expect. Then I tried the logixNG tables table(!) and spotted the described Yard Ladder sensor/turnout table was missing. Loaded the table from the zip-contained CSV. No change - sensors still change on clicking but the points do not follow. What am I missing, please?
Started by colin smith @ · Most recent @
Coding with Packet Analyzer 11
Anyone up for a job? How much would you charge to make me code? To parse the data coming from the packet analyzer and update the locomotive roster with new running time. Maybe make some stats out of the data coming back....
Started by Canadian Locomotive Logistics @ · Most recent @
Build 2361 Failure to Launch 4 #jenkins #mac-os
Build 2361 fails to launch on macOS arm64 (15.5, Java 17). Build 2360 works fine. Fred Dalzell
Started by Fred Dalzell @ · Most recent @
Trying to replicate 3-way LogixNG code 6 #logixng
Dave Sand, I saw a copy of your 3way LogixNG.xml code (May 6th) which looked interesting (anyway, I assume it¡¯s yours). It operates much smoother than the Sensor/Route/Turnout conglomeration I developed to do the same thing. Up until now, I have been avoiding any Logix or LogixNG coding, at my age, I really didn¡¯t want to learn another programming language. Since the code operated the 3-way turnouts just the way I liked. My plan was to add it to my layout.xml with a modification adding of two extra tracks/turnouts. I tried merging the two xml files (but it created two separate panels), not ideal. I also tried the proper way, creating the code from scratch, but (for me) LogixNG is a steep learning curve. I don¡¯t understand the methodology of how to program by completing the dialog boxes. I got as far as the lines completing the (if-) then-else statements which I couldn¡¯t get it to look like your code, I became so frustrated, the project got put on the back burner. Is there an editor to directly type-in the code, leaving the debugger to point out syntax errors? I would like an easier way to replicate your code. Thank you in advance for your expertise. John Bauchiero - NCE PH-Pro & PowerCab, Pi4, DCC-EX - JMRI 5.11.6 - Java 17.0.12
Started by John Bauchiero @ · Most recent @
Startup Gets Stuck 23 #startup
Recently it became necessary to reinstall Java and JMRI. First, I checked that both programs were uninstalled. I then installed Java Version 8 Update 441 and JMRI Version 4.26+R381. Both were problem free installs. I then tried to start JMRI so I could load my roster. The Java icon and the DecoderPro icon appeared in the taskbar and the small JMRI splash screen appeared in the middle of my screen. That's as far as the startup got. I've listed my equipment below. What am I missing? I'd appreciate any help in getting started. -- Richard Richter Dell Lattude 3190 2-in-1 Laptop Computer Microsoft Windows 11 Pro RR-CirKits LocoBuffer-NG Rev-a Digitrax ZephyrXtra DCS 51 Command Station
Started by rprdds24@... @ · Most recent @
JMRI requiring restart when C/MRI connection temporarily lost? 4 #cmri
Using C/MRI IO boards (with RS485 bus) I find that if the RS485 bus -even momentarily- loses connection then I have to restart Panel Pro. Is that correct? Or is there a way to get JMRI to reset its C/MRI connection (RS485 bus) so that Panel Pro does not have to be completely restarted?
Started by Erik84750 @ · Most recent @
Locked Xnet Message queue not being send to layout 16 #lenz #xpressnet
Hi there, I am experiencing an issue with JMRI, I am using the latest 5.10 production release. I experienced similar issue with the previous version. I am using a Lenz LVZ100 command station with a serial interface on a raspberry pi. Everything works as expected, but after a while, the queue for a DCC address stops being treated. I mainly run my trains through custom jython scripts. The only workaround I found is to restart JMRI. When this happens any JMRI tool is useless for a specific address (withrottle, jmri throttle, web throttle...), but that address can still be controlled with handheld command outside JMRI. I enabled trace log level and here is what I get. In this example address 2 is stuck while address 9 works fine at the same time. Not processing queue : 18:31:08,106 jmri.jmrix.lenz.XNetThrottle DEBUG - set Speed to: 0.09 Current step mode is: 28 SS [Speeder : TGV V150 (DCC 2)] 18:31:08,107 jmri.jmrix.lenz.XNetThrottle DEBUG - adding message to message queue [Speeder : TGV V150 (DCC 2)] 18:31:08,608 jmri.jmrix.lenz.XNetThrottle DEBUG - set Speed to: 0.0 Current step mode is: 28 SS [Speeder : TGV V150 (DCC 2)] 18:31:08,608 jmri.jmrix.lenz.XNetThrottle DEBUG - adding message to message queue [Speeder : TGV V150 (DCC 2)] Processing queue (same session) : 18:31:33,841 jmri.jmrix.lenz.XNetThrottle DEBUG - set Speed to: 0.03 Current step mode is: 28 SS [Speeder : TGV Poste (DCC 9)] 18:31:33,842 jmri.jmrix.lenz.XNetThrottle DEBUG - adding message to message queue [Speeder : TGV Poste (DCC 9)] 18:31:33,842 jmri.jmrix.lenz.XNetThrottle DEBUG - sending message to traffic controller [Speeder : TGV Poste (DCC 9)] 18:31:34,083 jmri.jmrix.lenz.XNetThrottle DEBUG - Throttle 9 - received message 01 04 05 [AWT-EventQueue-0] 18:31:34,085 jmri.jmrix.lenz.XNetThrottle DEBUG - Status Timer Stopped [AWT-EventQueue-0] 18:31:34,085 jmri.jmrix.lenz.XNetThrottle DEBUG - message queue empty [AWT-EventQueue-0] 18:31:34,343 jmri.jmrix.lenz.XNetThrottle DEBUG - set Speed to: 0.06 Current step mode is: 28 SS [Speeder : TGV Poste (DCC 9)] 18:31:34,343 jmri.jmrix.lenz.XNetThrottle DEBUG - adding message to message queue [Speeder : TGV Poste (DCC 9)] 18:31:34,343 jmri.jmrix.lenz.XNetThrottle DEBUG - sending message to traffic controller [Speeder : TGV Poste (DCC 9)] 18:31:34,626 jmri.jmrix.lenz.XNetThrottle DEBUG - Throttle 9 - received message 01 04 05 [AWT-EventQueue-0] 18:31:34,627 jmri.jmrix.lenz.XNetThrottle DEBUG - Status Timer Stopped [AWT-EventQueue-0] 18:31:34,627 jmri.jmrix.lenz.XNetThrottle DEBUG - message queue empty [AWT-EventQueue-0] Any ideas greatly appreciated. Adrien
Started by vdrien @ · Most recent @
How do I import openpyxl? 36
I want to run a Jython script inside of jmri so I can manipulate turnouts, etc. However, the script doesn't recognize openpyxl when I try to import it. I need openpyxl to access an Excel spreadsheet. How do I import openpyxl? Thanks in advance, Nick
Started by Nick Brownsberger @ · Most recent @
LogixNG POM 7 #logixng
I am using the POM function in LogixNG. Currently setting a CV = to an IM value. Works good. Now I'd like to ADD an IM value to the CV. In the snip I started out trying to just add a constant (50) but that didn't work. I think I need to use the Formula tab but not sure of the syntax. -- Many thanks in advance! Vinny DeRobertis ~ Apex, NC New York & Hudson Valley RR Windows 7 Pro / Java 11 / JMRI v5.10 Command Station: Digikeijs DR5000. Booster: Digikeijs DR5033 (4) Samsung A7 10.4" Tablets Fully Kiosk/Engine Driver v2.37.187 DCC/DMX Gateway: Pricom LLS. LocoNet Input Modules: Digikeijs DR4088LN DCC Output Modules: Digikeijs DR4018 / Yamorc YD8116. Sensors: Model Train Technology: DETECTOR-HO. Turnout Motors: MTB MP1
Started by Vinny DeRobertis @ · Most recent @
Current Image
Image Name
Sat 8:39am