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 arrays
#logixng
Probably because I am not a Java/Python guru, but let's see...... I have a LogixNG Table: Ignore the "Digit x" columns - they were from my first (working) attempt at this. I am now doing some refactoring and want to use a more useful array of four digits, hence the new Digits column. I guess the first question is whether I have defined those arrays properly. I grabbed the square bracket syntax from the documentation, but from a different area. The I have a module which starts like this: Then, I do this: If I put a log of local variables after A4, I get this: Bearing in mind that I defined the Events variable as as array, I am not sure whether what I actually have there is an array (if my original formatting is wrong, then obviously it won't be). The A2 operation fails with a fairly clear error message which seems to be telling me that Events is not an array: My suspicion is that the way I have put the data into the CSV file is wrong. I'd welcome any pointers. Thanks, Nick
|
New users questions
3
Where can I ask simple newbie type of questions? Is there a thread for this? -- ~gary
|
jmri & Arduino DCC-EX
2
I have an Arduino uno with a motor shield attached and loaded with the DCC-EX command station software I have tested this and it detects my loco within the monitor part of the Arduino so I know the loco can be detected and if I issued the command <R 8> directly to the loco the loco judders forward and is detected however when using decoder pro and using the add now loco button I get a message "loco failed to respond" currently I have jmri version 4.26 on my Mac and 5.10 on the other systems due to java limitations on my Mac the track voltage on the main is 12v the loco works on other dcc systems so no problem there (I have a digikeys 5000 on my main layout) I have tried multiple computers running jmri on windows 10 , windows 7 , linux , and Macos all give the same message jmri on all the systems can turn the power to the track on and off on the Arduino but nothing else so any help would be welcome Many thanks Rob
|
How do I hook up a bar code reader to JMRI
27
I want to use a barcode reader to identify cars on my layout, but I can't find a way to read the code into JMRI. I've reviewed other bar code topics from this group in the past but none answered my question. One way I've tried is to use a Reporter. I'm using an iMac running macOS Monterey. When I connect the bar code reader to the USB port, I can see it in the Mac system report and in JMRI>PanelPro>Debug> USB devices. However, when I try to create the Reporter using 'others' as the system manufacturer and (Direct Drive (Serial) not available), the USB port does not show in the serial port drop down. I can't get past this problem. Another way I've tried is to use a Memory Variable. I can read the bar code into the value field if my cursor is in that field. But I don't known how to select that field without a cursor. I don't need to identify a port, as the bar code reader just acts like a keyboard, entering a 4-digit number and <enter>. I've never tried manipulating JMRI windows and am not sure how to activate a particular field in one. I'm creating Jython script to accept the bar code using the waitChange command (for the Reporter) and then process it. But as I said I'm stuck trying to get the bar code inside JMRI. The Reporter track is preferred, I think, since I will be using two bar code readers eventually and I can have two reporters attached to two different connection ports. I don't know how I would do this using a Memory Variable. Can someone help me out? Thanks, Nick
|
Keeping track of trains in staging - Attn Ken Cameron
5
I am wondering if there is a way to mark which train is on which track in staging? Maybe a label that I move with the train. I can do this in edit mode but I don't see a way to do it in non edit mode. Ken - when you were running Bill Brown's layout last weekend I noticed you had tags that you moved with the trains. Eventually I will likely want to do that for my entire layout but for now I just need it in staging. Could you give me a hand to set it up? Thanks!
|
Transfer of programming from one computer to another?
2
I program my locos at home and then take them to the club compter that we use to programm our locos. How do I save my home programming and then put on the club programming computer? Would it be export it then import it? Second question we use our two digit member number with the last two digits of the loco for our DCC address. If I want several units lashed togetherv wev ususally give all of the units the same DCC number. Is there someway to use 4 digits for a consit? Thank you in advance for your reply. Ken Z
|
Blocking Order
13
#operationspro
My layout has two classification yards each with one track per destination. We had an ops session yesterday and one of my yard operators was commenting it would be nice to know the destination of all the cars in a specific C&I track so they could be properly blocked. He would prefer to block the cars as they come in rather then as he assembles the outbound train. I can give him a manifest report that shows the cars' next destination for an inbound train but am struggling to figure out how he could tie that information in with cars already on that C&I track from previous trains. Any ideas? Is there a report in JMRI that shows a track's current contents as well as any inbound cars from trains that are built? It would also need to show next destination. This same operator wondered if we could display a screen from JMRI across the web server that would show all cars in the yard and their next destination. Ideally this screen would display live updates.
|
Is LogixNG multi threaded?
4
Hi, Just wondering if LogixNG multi threaded?. I know the JMRI Jython script class AbstractAutomat facilitates some multi threading but just wondered if LogixNG can utilise multi threading?. Regards Nick
|
Sending MERG CBUS events from LogixNG
20
#cbus
#logixng
#merg
Hi folks, I have a LogixNG Module which needs to push an event out to CBUS. As an example, let's assume an ACON event (opcode 90) for node 5007 and channel 36. If I was doing that within, for example, the Turnout table, it would be +N5007E36. My challenge is how I can send that data out from LogixNG. I don't think there is any easy way to say "send this to CBUS", so I am starting to look down the lines of sending a CAN frame. That takes me down the line of "90 13 8F 00 24" where 90 is the opcode, 13 8F is 5007 and 00 24 is 36. Assuming that I need to go that way , I then need to push that out as a CAN message. It feels like I'll need to use a Digital Formula in LogixNG (I may well be missing something). A pointer would be appreciated. Of course, if LogixNG supported something like SendCbusMessage(90, 5007, 24) or even SendCbusMessage("+N5007E36", On) then the whole world would be perfect. :-) Thanks, Nick
|
Piko KM ML4000 Number Board Lighting Settings
#definitions
#piko
I have successfully installed the PIKO #97442 SmartDecoder XP 5.1 Sound, and all functions work correctly. I currently have no understanding how to set up the number boards to be ¡°always on¡± when track power is applied. Similarly, I would like to set the Cab Lights to come on when the loco is stationary and white Class Lights when the Loco is travelling forwards and turning off when stopped. Decoder pro shows all the CV settings but I can¡¯t find an instruction sheet that details what I need to do. I hope someone in the group can assist. Cheers Jim
|
Still Trying | Running a sequence of web requests based on fast clock time.
29
I have spent many hours tonight and I am no closer to figuring out what I need to do. I have been trying to use ChatGPT to help, but the information does not seem to be lining up. This is where I am at so far. From what I gather, I need to setup the LogixNG to listen for a change to the memory variable IMCURRENTTIME. For testing purposes, the first web request I want to occur at midnight. The "then" is triggering the web request. From what I gathered, there is a way for the !Else to be a table where the left side of the table are a list of times and the right side of the table are a list of the web requests. Am I heading down the correct path? Is there a better way to do this? -- Heath @ Human[c]ity http://www.humancity.org http://www.riversidetransfer.nyc http://www.manhattanmodelers.com
|
Signal Mast Logic behaving oddly
7
#sml
I pretty much guarantee this is going to be something daft that I have done. This is a screen shot of Layout Editor: Signals 898, 904 and 906 have their mast logic configured exactly as I'd expect. 906 discovers just one route to 904. 904 discovers a route to 898. All good. I'd expect signal 908 to discover four routes - to 906 and to the three sidings (which have buffer stops 202, 204 and 206). It discovers those, but also suggests that there are routes available to 898 and 904 which seems strange. I can see that they are not active, but surely they should not be there at all. Then, I'd expect 910 to be exactly the same - 906 and the three sidings. In fact, it does not spot the route to 906 at all, but does find 898 and 904. It also suggests 207, which is set up to protect block T810, so shouldn't be involved in a move from left to right. Then, lastly 912 which I'd expect to discover 906, the three sidings and the spur at the top (buffer stop 210). This one (unlike 910) does find 906 but also finds 207, 898 and 904. Any thoughts on where I might have messed up would be very welcome! Thanks, Nick
|
Manifests: Why print all at once before an Op Session?
19
#operationspro
Good afternoon - My question pertains to the logic of printing Manifests during Operating Sessions. I've been following this group for a while now, and it has been very helpful, but I am perplexed about the idea of printing ALL train manifests for a op session ahead of time vs. printing the manifests for each train as the train is built and ready to move. JMRI OperationsPro does not actually terminate a train until all cars have been SO and/or PU'ed, and the train arrives at it's last destination. If Train A (a cross country road freight) stops at Location 2 (an I/C yard) to set out cars needed for Train B (a local) at say, 09:30; but Train B is timed to stop at Location 2 to pick up the cars SO by Train A at say 10:45, before Train A terminates at 12:15, how does JMRI handle the cars transferred from A to B?? Train B has a much shorter journey than Train A, Train B terminating at Location 5 at 11:15. Thus Train B terminates before Train A. How does that work? Does my question make sense? Thank you, Clarence
|
Virtual sound setup
23
#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
|
Entry Exit talking to a hardware panel
4
#entryexit
I am making some great progress with the Entry Exit functionality. I have a hardware panel with buttons and indications and am interfacing that to the Entry Exit functionality. I have identified a couple of challenges which I can probably solve with LogixNG but, before I go down that road I want to make sure I am not missing some functionality which already exists. Challenge 1..... I can press an Entrance button on the hardware panel and that fires a sensor which JMRI sees as the beginning of a route setting sequence, so the icon representing that sensor in Layout Editor starts to flash. When a valid Exit button is pressed, the icon in Layout Editor changes to steady. That is good, and my challenge now is to get the light inside my hardware button doing the same thing. It is configured in JMRI as a light (actually two lights, one flashing and one steady). The gap is how to persuade that hardware light to illuminate in the same way as the icons in Layout Editor. Challenge 2..... When a route is set, Layout Editor shows white lights along the route. I have lights on the hardware panel configured as lights in JMRI. Each "Block" is split into several separate groups of white lights, so that I can illuminate only those that are on the actual route, exactly as JMRI does in Layout Editor. The gap is how to get JMRI (Entry Exit) to send the appropriate on events to the separate segments in the block. All help very welcome. Thanks, Nick
|
Test release 5.11.6 of JMRI/DecoderPro is available for download
#announcement
Test release 5.11.6 of JMRI/DecoderPro is available for download. This is the next in a series of test releases that will culminate in a production release, hopefully in June 2025. It's really helpful when people download, install and use these test releases so we can find and fix any inadvertent new problems early. We're getting close to the end of the development series, so we'd appreciate feedback on whether or not this release works for your layout. If you are currently using JMRI 4.99.10 or earlier, there is an update process that we strongly recommend. See the release note section on updates: <https://www.jmri.org/releasenotes/jmri5.11.6.shtml#update> For more information on the issues, new features and bug fixes in 5.11.6 please see the release note: <https://www.jmri.org/releasenotes/jmri5.11.6.shtml> Note that JMRI is made available under the GNU General Public License. For more information, please see our copyright and licensing page. <https://www.jmri.org/Copyright.html> The download links, along with lots of other information which we hope you'll read, can be found on the release note page: <https://www.jmri.org/releasenotes/jmri5.11.6.shtml> Bob -- Bob Jacobsen, UC Berkeley Physics jacobsen@... cell: +1-510-708-5988 Zoom https://berkeley.zoom.us/j/9503261456
|