¿ªÔÆÌåÓý

Date   
Locked Sticky ADMIN: Use of the groups "Files" area #admin
This is a place for temp files, other than administrative files. Either they are to be added to the next release, added to the Documents or will have a short life span. Groups.io has free subscription storage limit of 1 GB! The following are counted towards the storage limits for the group: - Files - Photos - Images in databases - Images in wiki pages - Message attachments 1. Please put files into the correct folders. - If there is not an appropriate folder, feel free to create one. 2. If you are working on a problem and want to load info for others to look at, create a folder within the 'Problems Being Worked On' folder using the Msg number or you name as the folder name. When the problem is resolved please delete the folder. 3. All files and photos are subject to removal at the moderators discretion. Your Moderators -- Peter Ulvestad JMRI Users Group Moderator - http://www.jmri.org ( http://www.jmri.org ) Tam Valley Group Moderator - https://tamvalleydepot.com/ ( http://tamvalleydepot.com/ ) Sprog-DCC Group Moderator - http://www.sprog-dcc.co.uk/ ( http://www.sprog-dcc.co.uk/ ) Edmonton Model Railroad Association - http://www.emra.club/
Started by Peter Ulvestad @
Locked Sticky ADMIN: >>HOW TO ASK YOUR QUESTION<< - A general reminder for everyone #admin
====================== HOW to ask your question ====================== One of the most common questions about JMRI is "How do I get it to work?". This isn't really a problem with JMRI itself in most cases, but there are HUGE numbers of possible configurations for DCC systems, and Windows, Linux, and Mac computers out there. Just asking "How do I get it to work" is NOT going to get you any useful help. When asking ANY question, you should >>>utilize a meaningful subject line<<< that indicates the problem and include the following information in the body of the message: + If JMRI has started copy and paste the System Console into the body. (its under help on the start screen) + Has JMRI worked before on this computer? + JMRI version + Previous version if you just upgraded + Java version + Previous version if you just upgraded + Computer make and model + if you have just upgraded, from which version + Any other DCC devices in use + Specific details of your difficulty including error messages if any, or what you would like to do with JMRI. Decoder Programming, Signals, Automation, etc. Depending on the nature of the problem, you may need to supply even more information, but this is the absolute required for anyone to give you accurate answers. Signing you post helps keep the group friendly and personable! Your moderators and trouble shooters.
Started by Peter Ulvestad @
Locked Sticky Please use "meaningful subject lines" when starting topics #admin
Please use "meaningful subject lines" when starting topics. We are getting lots of subject lines that don't give much if any idea of what the topic is about. By providing a meaningful subject line you may get the attention of someone that can provide you assistance with your issue. It also give others the chance to skip the topic if it is not of interest to them. -- Peter Ulvestad JMRI Users Group Moderator - https://www.jmri.org ( http://www.jmri.org ) Tam Valley Group Moderator - https://tamvalleydepot.com/ ( http://tamvalleydepot.com/ ) Sprog-DCC Group Moderator - http://www.sprog-dcc.co.uk/ ( http://www.sprog-dcc.co.uk/ ) Edmonton Model Railroad Association - http://www.emra.club/
Started by Peter Ulvestad @
Locked Sticky ADMIN: PERMITTED TOPICS - A general reminder for everyone #admin
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
Started by Group Moderator @
DCC-EX Voltage/current meter 3
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
Started by Daniel Mcmillan @ · Most recent @
LogixNG POM 4 #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 @
Locked File /ProblemsBeingWorkedOn/2025-05-19T061811,413 util.Log4JUti.txt updated #file-notice
The following items have been updated in the Files area of the [email protected] group. /ProblemsBeingWorkedOn/2025-05-19T061811,413 util.Log4JUti.txt By: rprdds24@... Description: Startup Gets Stuck message I uninstalled and reinstalled Java 17 : 64 bit using the link - thanks. I then restarted my laptop and ran DecoderPro. The only response was the JMRI Monopoly splash screen and the DecoderPro icon on the taskbar. So, I ran InstallTest and got the three screens shown in the attached photos. Any ideas on why JMRI won't open? -- Richard Richter
Started by Group Notification @
Locked Added Folder /ProblemsBeingWorkedOn/Startup Gets Stuck #file-notice
rprdds24@... added folder /ProblemsBeingWorkedOn/Startup Gets Stuck Description: Here I am again. I uninstalled and reinstalled Java 17 : 64 bit using the link - thanks. I then restarted my laptop and ran DecoderPro. The only response was the JMRI Monopoly splash screen and the DecoderPro icon on the taskbar. So, I ran InstallTest and got the three screens shown in the attached photos. Any ideas on why JMRI won't open? -- Richard Richter
Started by Group Notification @
How do I import openpyxl? 14
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 @
VSD dont work 6 #vsdecoder
Hello, good evening. I'm trying to set up my own VSD file configuration for JMRI, and after many attempts and modifications, I came across a message that hasn't let me move forward: "Unsupported sound type: SD70." I checked the .wav files and, of course, I had recorded them at 48 kHz as the sample rate, which I reduced to 11 kHz. I repackaged everything, but the message remained exactly the same. Can anyone tell me if this has happened to them and how they resolved it? Thank you very much.
Started by Angel Mora @ · Most recent @
I think I have JMRI 5 and JAVA 11 loaded on my Win 11 computer 2
I am trying to get to look at the MACROs from my Clubs Layout, but I thought I needed the internet to my Computer so I got the Clubs computer win11 with Java and Jmri on and I got the some results cannot find USB PORT 3 on both with most of the other options. So this leads me to with or with out the Internet is not really needed, just to check if JMRI and JAVA are working, but mine not connected to the Internet as the Clubs laptop is up the other end of the Club room with Jmri/Java sorting out locos and CVs and other things ok. I have used most of the options with the setup with the both computers, so what else do I need to do to be able to get to the Reading of the Macros. Thanks Graeme
Started by Graeme Wilson @ · Most recent @
Trying to replicate 3-way LogixNG code 4 #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 @
Add default consist to train 3 #operationspro
Given the following, how would I assign a consist to a train? I have perused the topics on this web site and also studied the Ops Pro manual. I am hoping for an easy way to have a loco consist associated with a train, but not to a specific staging track. My system is NCE. Staging is off layout made up basically of 30 tracks (boxes) containing the rolling stock (not locos) for trains. The locos are off layout in boxes, but not assigned to specific staging tracks. Currently I have five trains. I have five default loco consists for each train, and additional consists that could be substituted into those trains. But again, none are assigned to staging tracks. All trains begin in staging. Ops Pro generates a train by selecting a train, and selecting a staging track for that train to draw cars from. Once Ops Pro sets up the manifest, I move the cars manually to a fiddle track, then move the locos to the fiddle track. I would like to have a default loco consist for each train. But also I would like to optionally change to a different consist for that train. Currently, I manually write the consist onto the Ops Pro generated manifest. But it would be convenient to have the default consist as part of the manifest generated by Ops Pro.
Started by Norman Beveridge @ · Most recent @
Edit dialog boxes do not open with full width 16
Now that I'm running with version 5.10 and Azul 17 LTS, I pulled over a profile from my previous system to continue working on it and I noticed when when I click the Edit button on various table items (e.g., Sensors, Blocks, Turnouts...looks like all of them), I get an edit window popping up that appears to be the correct height but has almost no width. For example, here is a section of my Blocks table: .... and if I click on the Edit button in the highlighted row (although it could be any row), I initially get: Then, once I drag the right box side to the right, I get: Which looks about right. I noticed a similar problem on startup when choosing a new profile: The difference with this one is that once I stretch it and and close PanelPro, I get the full dialog next time I open it. With the table element editors shown above, it happens every time. One last observation - if I create a new profile from the startup page (where I can either wait x seconds to take the default, or choose another, or create a new profile), and then select that new profile to start, I again get a skinny window that appears to be the right height but has a similarly narrow width: With this one, once again, once I stretch it out it appears to be good going forward. In fact, I can just close JMRI and reopen it and I get a normal size window. If this were a web page, I would swear I have a bad or missing .css file. Looks simpler in this case, though. Might be that all of these skinny windows are initially the same width....like JMRI is missing a parameter somewhere that describes my monitor sizes? Maybe I accidentally corrupted something in the process of reinstalling Java and JMRI 5.10 when dealing with my previous problem? Vince
Started by Vince Guarna @ · Most recent @
Looking for ideas to mirror SE8C signals between two panels 7
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
Started by cengel_74 @ · Most recent @
Starting with JMRI sensor reading and signal output: help request 6
JMRI version 5.10 Java version 11.0.17 PC: Windows 10 pro Background: 1. I am familiar with Decoder Pro (using it to program my DCC++ loco decoders). I am have access to functioning RS485-to-USB converter, C/MRI Smini node 2. I have working block detection (current transormer-based), C/MRI I/O card (SMini) Question: 1. where to find tutorials on using, adding and editing JMRI functionality for C/MRI connected sensors? 2. where to find tutorials on using LogixNG for driving output signals, based on sensor inputs? Several years ago I had managed to get sensors to be read over my C/MRI nodes, and do some very basic experimentation with LogixNG. But now I am starting in earnest with builing a new layout and I would like to be prepared for instllation of proper sensor, signals and turnouts wiring.
Started by Erik84750 @ · Most recent @
LogixNG some help requested 13 #logixng
I have a turnout that requires a 2-bit operation: two outputs for each direction (straight or divert), with pulsed output signal (on two outputs). "Divert" or "Straight" are driven by two separate inputs: either of them pulsed. For example: if Sensor_001 is pulsed 'low', then output Turnout_001 is pulsed 'low'. If Sensor_002 is pulsed 'low' then output Turnout_002 is pulsed 'low'. Turnout_001 and Turnout_002 are two bits for the same turnout. How should this be programmed in LogixNG? I am lost with all the possible parameters ("Add"/"Item"/ "Sensor" or "Turnout" or "Sensor Edge", ... Thanks for any help and/or references,.. ! Erik
Started by Erik84750 @ · Most recent @
Audio Icon on Web Panel - Java 23
Dave S. & Daniel B. I just picked-up where we left off on DEC 5 2024. We had a thread going and Daniel provided Java code. Based on Dave's comments on the code I believe I would be left with what's shown in the attached snip. I saved it as .js but that didn't work when I ran it from Panel Pro. NY&HV_RR_Yard_Scenes is the name of my panel and Harbor is the ID of the Audio Icon. What file extension should I use, .java? Will it run from Panel Pro or from Command line? -- 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 @
Virtual sound setup 24 #esu
Hi I hope this is an appropriate place to ask this question. I'm attempting to set up a two unit consist using a Loksound 5 and a Lokpilot 5 Basic and I'm running decoderpro. The problem is with the startup delay on the Lokpilot. The "delay starting if drive sound enabled" box on the Advanced screen has been ticked, same with the box on the Sound screen. I've created an entry for virtual sound in the function map and set it up on F8 and it appears in the throttle for the Lokpilot loco. I've set F8 to be accessible to the consist but so far I've not been able to get the delay to work. Do I need to specify the length of delay somewhere? I've read that this should be directly with a cv, 124 I think, but this is dedicated to other functions. Elsewhere I've read that 128 should be used for this but that is dedicated to Max Speed in AC mode. In the Lokpilot 5 Basic manual I am directed to cv252 but my interface for the Lokpilot 5 Basic in Decoderpro does not have a cv252. I'm clearly missing something here, can anyone help. Apologies if this is thought to be a query more suited to another forum eg for ESU decoders, but it seems to fall into a space between..... Thanks Ted
Started by ted@... @ · Most recent @
C/MRI 72-Input node: how to configure in JMRI? 11 #cmri
I have this board with 72 inputs, how to configure this node in JMRI? An Smini is standard 24IN/48OUT, yet how to modify this to 72IN? This is my code used for the board: #include <Auto485.h> #include <CMRI.h> #include <SPI.h> #define CMRI_ADDR 5 // select the CMRI node address #define DE_PIN 2 // Arduino pin 2 -> MAX485 DE and RE pins // #define NOP __asm__ __volatile__("nop") // macro for the "nop" assembly instruction #define NOP __asm__ __volatile__ ("nop\n\t") // https://forum.arduino.cc/t/very-short-delays/43445/5 // pin 74HC165 const byte LATCH_165 = 9; // LATCH Auto485 bus(DE_PIN); // RS485 bus transceiver CMRI cmri(CMRI_ADDR, 72, 0, bus); // sets up an SMINI with address 5, SMINI = 72 inputs, 0 outputs uint8_t input_state[9]; void setup() { Serial.begin(9600); delay(10); Serial.println("DCCpp_CMRI_nopxor75-in_v3.ino"); delay(1000); bus.begin(57600, SERIAL_8N2); // open the RS485 bus at 57600bps SPI.begin (); // serial data protocol used to control 74HC165 pinMode(LATCH_165, OUTPUT); digitalWrite (LATCH_165, HIGH); } void loop() { // 1: update inputs digitalWrite (LATCH_165, LOW); // pulse the parallel load latch NOP; // use the macro instead of inline assembly NOP; digitalWrite (LATCH_165, HIGH); uint8_t new_input_state[9]; for (int i = 0; i < 9; i++) { new_input_state[i] = ~(SPI.transfer(0)); } bool updated = false; for (int i = 0; i < 9; i++) { if (new_input_state[i] != input_state[i]) { cmri.set_byte(i, new_input_state[i]); input_state[i] = new_input_state[i]; updated = true; } } // 2: main processing node of cmri library if (updated) { cmri.process(); } }
Started by Erik84750 @ · Most recent @
Current Image
Image Name
Sat 8:39am