Build 2377 Fails to Launch - macOS arm64
4
#mac-os
#jenkins
Build 2376 worked fine, but 2377 fails. Signing issue? Fred Dalzell
|
JMRI shirts on Daylight Sales web site
3
In a recent thread, we talked about maybe getting some shirts with the JMRI logo. Daylight Sales is now listing them on their web site: https://www.daylightsales.net/product-category/jmri/ Bob ¡ª Bob Jacobsen rgj1927@...
|
Creating a Logix NG to toggle MQTT controlled relays
4
#logixng
#mqtt
I have MANY MQTT controlled relays on my layout, they control the track power to each block on the layout. I want to create a LogixNG script that will toggle each relay, one at a time, so that the system knows the state of the MQTT device. Is there a way to automate this, or do I have to create a script to togge each one, one at a time. Other option, is there a way to query the state of the MQTT devices and just have it report back it's state so that the sensors know the position of the relays. I suspect it could be done in software, buy I am currently just manually toggling each relay so JMRI can detect it's setting. Thanks -- Heath @ Human[c]ity http://www.humancity.org http://www.riversidetransfer.nyc http://www.manhattanmodelers.com
|
Consisting New Locos
23
Morning all, Have recently purchased 2 new Kato SD70MACs and have fitted 2 new DN147K1Cs. Both Locos run fine individually and when MU¡¯d with throttles. When I have consisted through JMRI using address 44 locos will not run. Have tried different addresses with the same result. I have 2 other pairs of SD70MACs setup which run well and have compared CVs with them and the new combination and all seems the same. Hopefully someone can offer a solution as I am stumped. Many thanks, Dave R from down under.
|
DCC-EX Voltage/current meter
22
#dcc-ex
I have my windows 10 laptop running JMRI v5.6 with DCC-EX running on an Arduino uno, connected to my laptop via USB, paired with the DCC-EX MotorShield8874. When I open the ¡®voltage / current meter¡¯ in Panel Pro, all I get is hyphens - no actual current reading in digits. I¡¯ve had the current meter working before, on an older version of JMRI, running a standard motor shield with the Arduino, but I¡¯ve not tested the current meter since I fitted the new 8874 motor shield. I wanted to check there isn¡¯t anything I¡¯ve missed or failed to configure specifically in JMRI for this before looking into the hardware. Many thanks, Dan
|
Simple way to move any loco between two points (automated)?
25
I'm looking for a simple way to move any loco from the staging track (siding/yard) to the block where the warrant will start. Conceptually the solution would: Use a loco/consist address supplied (e.g. from a memory variable) Drive the train until a sensor (block occupancy) is triggered. Assume a clear path has been established (user responsibility) Thanks. -- 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
|
Did I do this right? #logixng, turn on "light" when pressing button.
10
I am trying to learn LogixNG. I suspect there is a better way to do this, but is this a good way? I am going to create several more of these "actions" so if there is a better/easier way to do it, I would appreciate the advice. I have several "lights" which are actually just relays to turn track power on and off. I want to create a button that when pressed, no matter the state of the sensor, will turn all of the lights on. Would this be the best way to do this? -- Heath @ Human[c]ity http://www.humancity.org http://www.riversidetransfer.nyc http://www.manhattanmodelers.com
|
Where are the Tables in PanelPro?
10
I have already drawn my CTC (or RTC) layout panel. I want now to define the turnouts (switches). Look anywhere on the web, JMRI help pages, and one is instructed to open Tools, then Tables to gain access to Turnouts, etc. On my 5.10 version of JMRI (running on a 2018 Mac Mini, 3 GHz 6-Core Intel Core i5, Intel UHD Graphics 630 1536 MB, Java is installed) there is no drop down link for Tables under Tools. First drop down item is Check, then its Assign Block to selection, etc. Why please do I not see Tables? a) Are they somewhere else now? b) I am using Loconet Simulator (no connection to the layout yet) is that the problem? Please advise, thanks -Don
|
how to import a csv file to a class object
6
This is a continuation of an effort to use a bar code reader to sort cars into a classification yard. I'm trying to read a csv file containing the classification track, eb5, the car is to be sent and then use a method in 'class track' to set turnouts: track.setRoute(). From one of the script examples by Bob Jacobsen: b = java.io.FileReader(java.io.File("/Users/nick/TRAINS/My_Jython_Scripts/Hump_code/track out.csv")) c = org.apache.commons.csv.CSVFormat.DEFAULT.parse(b) for r in c.getRecords() : tA = r.get(2) trackAssigned = tA.encode('utf-8') trackAssigned.setRoute() The call to setRoute doesn't work because 'trackAssigned' is a string and not an object. 'eb5' is an instance of track. If I type 'eb5.setRoute' the program works. How do I convert the string 'trackAssigned' to a class object? Nick
|
MainWindowToBack.py Problem on Rpi Bookworm OS
7
#rpi
#scripting
Hi all, I have been using MainWindowToBack.py to successfully send my main layout editor panel to the back of several other windows displayed on my monitor. That was using PanelPro 5.11.6, Java 17.0.14 on Rpi 400 with Bullseye OS. Updating the Pi400 to latest Bookworm using Labwc Wayland and MainWindowToBack.py no longer works. I have tried with Java 17.0.14 and Java Java 17.0.15. To test if the script was running I deliberately misspelt the panel name and I did get the "Did not find main window, probably need a longer delay" error message, suggesting the script is running. Also tried altering the self.wait amount to check for panels to no avail. I think its possibly a Java issue but a bit lost. The script momentarily appears in thread monitor with no error messages in system console, apart from when I deliberately misspell the panel name. All my other py scripts are working well. Cheers, John.
|
Select throttle in engine driver from JMRI rather than from Engine Driver UI
7
#enginedriver
I would like to be able to set a particular throttle address (from roster) in Engine Driver from JMRI (rather than from Engine Driver UI) using a script or LogixNG. I have RFID identification for locos on my layout. When 'picking up' a loco from fiddle yard I can see the loco ID, but then have to select this from the roster on Engine Driver in order to drive it. I was wondering if there is a way to 'force' a loco ID throttle in Engine Driver without having to use the Engine Driver UI to select it from the roster. I envisage pressing a button on a (layout editor) panel which would pick up the ID from the relevant block and call a script that pushes this ID to Engine Driver for it to create a throttle for 'immediate' driving, effectively bypassing the selection process. Is something like this possible? Thanks, Andy
|
LogixNG Table example: yard ladder Table?
23
#logixng
The example for LogixNG Tables "yard ladder example" does not contain a table? I am puzzled, while in the explanatory text for this tutorial a table is used?
|
EngineDriver Beta v2.40.199 now available from the Play Store
11
#enginedriver
EngineDriver users, Peter Akers has continued his tireless efforts to keep EngineDriver the best wifi throttle app, and we have released a new Beta version for your review and feedback. Thanks Peter! and thanks to all EngineDriver users! The Beta should automatically update shortly (unless you've disabled that feature or installed manually). The changelog is here: https://enginedriver.mstevetodd.com/changes/index.html#beta-changes As always, feedback is welcomed and appreciated. --SteveT
|
Looking for ideas to mirror SE8C signals between two panels
16
I'm working on getting signals and CTC running on a layout that has three separate dispatch panels for different zones running using PanelPro. Where those zones meet I'm trying to mirror the state of some of the signals between the two panels. This is to enable the dispatchers to know when trains are cleared up to their zones and to also enable some CTC logic to block one dispatcher from routing a train into a block if the other dispatcher has someone cleared into the block from their direction. The two dispatch panels are connected to a server using loconet over tcp so each one can see the activity on the loconet bus. My first attempt was to just write logix to monitor for the turnout status changes that are used to control the SE8C and then set the appearance of a virtual signal head to match the state. Ex: IX:AUTO:0039C9 Aurora WEB Main2 Green [x] R1 IF Turnout "LT1552" state is "Turnout Closed" THEN When Triggered True, Set Signal Head Appearance, "LH2" to Green IX:AUTO:0039C10 Aurora WEB Main2 Red [x] R1 IF Turnout "LT1552" state is "Turnout Thrown" THEN When Triggered True, Set Signal Head Appearance, "LH2" to Red IX:AUTO:0039C11 Aurora WEB Main2 Yellow [x] R1 IF Turnout "LT1553" state is "Turnout Thrown" THEN When Triggered True, Set Signal Head Appearance, "LH2" to Yellow IX:AUTO:0039C12 Aurora WEB Main2 Dark [x] R1 IF Turnout "LT1553" state is "Turnout Closed" THEN When Triggered True, Set Signal Head Appearance, "LH2" to Dark This worked in my testing as I was always changing the state of a turnout from closed->thrown or thrown->closed when testing using the turnout table manually. However when tested on the real layout it didn't work. The panel could see the traffic when I monitored the loconet traffic: In this trace you see a 2 head signal where the aspect is changing from red over red -> yellow over red -> red over red. The problem with my logix is that the two turnouts that matter LT1552/LT1553 controlling the SE8C never actually change state in JMRI they are always in the thrown state and just sent a message to 'Throw' which is then not triggering my logix as I expected it to. I expected the 'Execute Actions whenever triggered' would mean that the logix would run everytime the message to throw the turnout was sent but that doesn't appear to be the case. Is there a better way to do what I'm trying to do or is there something wrong with my logix that will fix this issue? -- Chris
|
WHERE USED doesn't find sensors located in setSensorState statements
11
#logixng
I have LogixNG statements using Digital Formula: setSensorState("69-RWKE",getSensorState("69W-R")). When using WHERE USED to find either of these sensor terms, these instances don't show up. I assume this is also true for the other getX/SetX functions. Is this a capability that can be added to WHERE USED in a future release? -- Jim Moomaw Portland, OR - Willamette Model Railroad Club (WMRC) - NMRA, Pacific NW
|
Ad Hoc Changing Block Alternate Colour - Means of Showing Cab Allocation with DC Cab Control
19
My layout is DC cab control, servo points, neither occupation sensors nor signals. Windows JMRI + MERG CBUS. Panel editor panel. NX routing to set and show points, routes and block cab allocation. Early days, layout under construction, JMRI being understood. On a simple simulated test panel I've been able to set and show points, routes and allocated blocks with NX. I would like also to use this process to allocate and show the (one of five) route control cab. It looks like LogixNG (user level currently novice!) might do this. I might click a one-of-five cab select sensor button group before setting an NX route. This selection is then available during the NX setting process. Is there a way to vary the block alternate colour used to indicate an allocated block during this process, please? It's nagging at me that I've seen a forum query on exactly this subject but despite quite deep digging and repeated searching I can't find it (or indeed anything). I suspect there is a rune to cast that will unlock my current very limited understanding!
|
Trains list and Schedules disappeared
3
#operationspro
Hi, I've been using JMRI for 7 years or so and am still on v. 4.26. I use Operations Pro for all train movements. I had 20 trains listed on the Trains list and schedules. Today, I started up JMRI and all my trains were gone as were the schedules. All routes are still there and showing as Orphans. Cars list, locomotive list, locations are also there. Not sure what would have caused this. Any ideas on how to get back Trains and schedules without rebuilding? Thanks, Fran
|
CV Accessibility
When adding a column to the Roster page of JMRI, are CVs accessible to add a value to that column or would it need a script to accomplish that? -- John Griffin The Hostlers Inn Model Railroading Topics
|
Help menu
3
I was wondering if it would be possible to add a help menu to each tab of Decoder Pro explaining what everything on that page does and how it interacts. I've been using JMRI for 5 years now and still finding out things only when other users mention it. I've used other s/w for programming other non model railroading products (PBX systems) that have a help button on each page that explains each entry. If already exists, please let me know where to find it. -- Dino Peris Cuyahoga & Lake Erie RR NMRA Div 4
|
LogixNG table editor and CSV question
38
#logixng
Following this JMRI tutorial I try to make up and import as a LogixNG table this Excell .csv file. Simply 8 sensors (C2S0B1 ... C2S0B8) and three lamps (C2L0B001 .. C2L0B003). Excel view: And LogxNG view of the imported csv file: What is wrong with my import? I cannot seem to use it anywhere as described in the JMRI tutorial (https://www.jmri.org/help/en/package/jmri/jmrit/logixng/LogixNGTableTableEditor.shtml)... ? Wrong csv table? Wrong way of importing? The csv file as used is attached below. Thanks for any help or pointers! Erik
|