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/
|
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.
|
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/
|
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
|
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
|
LogixNG POM
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
|
How do I import openpyxl?
3
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
|
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
|
Edit dialog boxes do not open with full width
13
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
|
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
|
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(); } }
|
JMRI import of separate track layers from Anyrail not working
2
#anyrail
Anyrail v7.8.3 export of separate layers is not working. I have a track plan with an undersection and an upper section separated in two different layers. When hiding one layer for export to JMRI .xml, and imorting into JMRI still the full track plan is shown leading to an unsightly spaghetti mess. How to proceed to obtain just selected layers of track from Anyrail into JMRI? And also, in the panel selection for turnouts I had to delete all 60+ turnouts individually, even thought the box "remember choice for next tile" is ticked. How to delete a selection of turnouts in Panels?
|
VSD dont work
2
#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.
|
Starting with JMRI sensor reading and signal output: help request
5
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.
|
Engine and bell sounds work but no horn after decoder install
3
Hello - I have just completed my first decoder installation, an ESU LokSound 5 and Decoder Buddy into an Atlas Gold Series GP40-2 that previously had an old QSI decoder. The LokSound decoder was purchased from, and programmed by, Tony's Train Xchange. Motion, lights and some sounds (engine and bell) are working, but there is no horn sound when I press either F2 or the Horn button on my NCE throttle. (BTW, I also noticed that the F3 coupler sound does not work; there may be others.) I have been trying to determine how to fix this. I am using the JMRI version 5.10 DecoderPro, and created the roster entry by doing a "read all sheets" in the programmer. On the Function Map tab, I saw that F2 was not mapped to anything, so I mapped it to Sound slot 2, which I read is the "standard" mapping. But the drop-down list of Logical Functions provided by DecoderPro does not have "horn" listed, so I selected Grade Crossing as my best guess. Is this list fixed, or built based on what DecoderPro reads from the decoder? Either way, the horn still does not sound with F2 or the Horn button. On the Sound Levels tab, I also verified that Sound slot 2 volume is set to a non-zero value (100 in my case). Is there anything else I should verify, and/or does anyone know how to fix this? Thank you! ~Dan
|
Colors for JMRI shirts (was re: JMRI merchandise for donations
15
Daylight Sales got back to me. They can do JMRI polo shirts, denim shirts, pocket t-shirts and/or coffee mugs. Now we get to pick a color! The available colors for each item are shown as swatches on these pages: Polo = https://www.sanmar.com/p/112_CoolGrey?text=k500p Denim = https://www.sanmar.com/p/2934_FadedBlue Pocket t's = https://www.sanmar.com/p/1163_SportGrey Coffee mugs are white. Note that our logo is mostly black and white, with just a touch of red: https://www.jmri.org/images/logo-jmri.gif https://www.jmri.org/community/original_icons/JMRI.png It might not show up well when embroidered on really dark colors. I¡¯m color blind, so give this a large grain of salt, but I suggest: ¡°Cool gray" for polo shirts ¡°Faded blue¡± for denim shirts ¡°Sport gray¡± for pocket t-shirts I¡¯m happy to follow any color consensus that emerges. Bob ¡ª Bob Jacobsen rgj1927@...
|
Fresh install of JMRI and Java on new Mac (Sequoia). PanelPro won't start ("To use JMRI you need to install Java 11" dialog comes up)
9
Sorry to be "another one of those guys" who missed something obvious. I'm trying to get JMRI 10 running on a new Mac running Sequoia. First I installed the Azul version 17 LTS JDK with FX. I downloaded the zip file and put the resulting unzipped folder in my home directory under ~/bin/java and renamed the java root folder zulu-17.fx. (I did this to facilitate later, ongoing java upgrades when/if necessary.) After moving and renaming the directory, I went into my .zshrc file and set JAVA_HOME to /Users/<myUserName>/bin/java/zulu-17.fx and my PATH to $JAVA_HOME/bin:$PATH. I then "source"d the .zshrc file and tried java --version and get: openjdk 17.0.15 2025-04-15 LTS OpenJDK Runtime Environment Zulu17.58+21-CA (build 17.0.15+6-LTS) OpenJDK 64-Bit Server VM Zulu17.58+21-CA (build 17.0.15+6-LTS, mixed mode, sharing) Even wrote a little "hello world" java program and javac works. Seems good. I installed JMRI V10 and fired up PanelPro. I get the dialog: I even tried logging out and logging in again just to be sure no bad paths were being cached anywhere. No change. I keep looking over the JMRI installation pages and don't see anything that looks like a step I missed. Can someone tell me what I skipped or otherwise did wrong? Thanks, Vince
|
DECODERPRO WARNING
3
I was resetting some basic NCE and Digitrax mobile decoders back to their original programming. For some reason I never could reset TCS, NCE decoders on my Lenz system. No problem with Digitrax. I had a Proto 2000 SW1000 with a NCE SW*-SR decoder to reset so I set about making changes in DECODERPRO. Since it was not on my roster it was entered as a New Loco and read into the program to program on the main. The decoder instruction leaflet had a list of the original CV's so that is what I was going to program. Carefully changing only a few at a time and writing the sheet to make sure no mistakes were made, I dutifully went down the list making sure the CV's were correctly changed. The only CV's not changed were the speed table which contained a special switching program I had successfully used. I saved the file and exited the program.; WOW WHAT HAPPENED?? The little switcher took off like it was running on full DC and eleven other Layout loco's started running. I quickly hit the stop but6ton on my handset; which stopped all but the little switcher. which to me it meant analog running as the DC Component is still present on a LENZ stop function. I quickly pulled it off the layout. Looking at one handset i determined that Loco 3 was called up and had applied forward speed. While still in stop mode I changed loco 3 speed step to zero and pressed the stop function. No loco's were running. The loco's that had been running now had address 3. Theo only other loco's on the layout that did not have their address changed were various sound locomotives of various manufactures. All of the Lo's were restored to their respective Loco numbers on the programming track and appeared to be unchanged otherwise. The little switcher still had it's original number and would not run. I printed out the CV's for the SW9=SR as recorded in DECODERPRO. Everything was there except the manufacturer ID. That when it struck me. Had I tried to program a dead decoder?? Will DECODERPRO even let you ?? COMMENTS PLEASE.
|
Startup Gets Stuck
21
#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
|
JMRI merchandise for donations
19
As I get dressed for today's operations session. I put on my OpSIG shirt. And it made me realize that if I had one, I would also wear a JMRI shirt. While I know it would not be the fashion statement of the year, I would still purchase and wear one, especially as a fundraiser to keep JMRI going. Is there a JMRI merch store? Has this been tried in the past? Any chance that I could be wearing a JMRI t-shirt to my next ops session. Thanks -- Heath @ Human[c]ity http://www.humancity.org http://www.riversidetransfer.nyc http://www.manhattanmodelers.com
|