Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Jmriusers
- Messages
Search
Locked
Re: JMRI Dapol Black Label A4
Waz, since I did the original post I have ripped out the BLI decoder and
replaced it with a Soundtraxx Econami 200, part number 881102. I don't like the BLI decoders as they are prone to fail, the magnetic reed switch, and I don't like puffing smoke as it's just toy like. Also I found that it chuffs erratically which is very annoying, again the magnetic reed switch. The Soundtraxx decoder has a better chuff and whistle and will fit in the loco boiler with a speaker, once all the junk has been removed, and it's a simple matter to wire up. Now the sound comes from the right place in loco and with the addition of a 1Kohm surface mount resistor, Soundtraxx decoders use 12V lighting so a resistor is a necessary for LED lighting. I also wired a function for the fire box light with gives the necessary flicker. This is also translated to oil lamps which now have a nice flicker as well though they are a little bright so I may have to fit a larger resistor. Sorry I no longer have the settings in my roster but make sure you have the latest test version of Decoder Pro as this will have the latest decoder definitions. Regards Charles Emerson Queensland Australia From: jmriusers@... [mailto:jmriusers@...] Sent: Friday, 30 June 2017 5:42 PM To: jmriusers@... Subject: RE: [jmriusers] JMRI Dapol Black Label A4 Hi Charles, Firstly which decoder type did you use? as when I try and add the loco to my Roster it returns error unknown decoder. And secondly have you had any luck with changing the Lighting CV settings as I would like to try and get the oil lamps to flicker. Many Thanks Waz |
Locked
Re: JMRI sensors DCC++ and invalid XML files
Thank you for this. I will try to find time later today to try this out.
We have a public awareness event tomorrow and I was hoping to have the small railway shunting yard we have as part of that but the sensors problem was blocking me somewhat. I will no doubt be asking more questions, but I'll put them in other posts with more appropriate title. Thanks again. |
Locked
Re: JMRI Dapol Black Label A4
Hi Charles,
Firstly which decoder type did you use? as when I try and add the loco to my Roster it returns error unknown decoder. And secondly have you had any luck with changing the Lighting CV settings as I would like to try and get the oil lamps to flicker. Many Thanks Waz |
Locked
Re: Problems with writing a script to stop a train at a station.
Hi,
I too am new to jmri scripting. I think you are spot on to start with something simple. I did the same. With regard to your question, I have two comments that hopefully may be helpful if I have understood correctly. Firstly, I found that if I instructed a train to stop based on the state of a block occupancy sensor instead of some internal condition in the script, there was a notable difference in the time to react. I presume that is the same kind of issue you are referring to ? With regard to a script solution, it is possible to add a delay in a script using the sleep function ( you need to load the relevant module at the start of the code in order to access it). However, the sleep function pauses the entire script, and in my case the script controls many trains so it is not good to pause the entire script because other things may be happening to other trains thst need the script?s attention at that time. So I wrote some code that pauses only a specific operation rather than the entire script. I am a novice so this may not be an optimum solution but I am happy to show you what I did if I have understood what you need to do correctly and it would help. |
Locked
Re: How to put a Grade Crossing in my panel Pro?
RJM,
It sounds like you are asking about the typical road crossing a set of tracks. As pointed out, there are many ways and combinations of track so a one-size-fits-all doesn't exist. Another issue is there are a range of solutions that will emulate a range of prototypical behavior but at varying costs and complexity. And then comes of the issue of which way to detect the presence of the train. If you already have track detection for line side signaling, then leveraging that is best. Others us photo sensors to know when a train is approaching or departing. So lots of options that depend on what you already have or are willing to add to the layout. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.com www.syracusemodelrr.org |
Locked
Re: Consist Settings
Sounds like the Consist settings for 5629 are not "Locomotive Address Only" for Lights and Bell. What brand and model of decoder? Read the actual values in CVs 21 & 22 and if not already so, set them both to zero.
toggle quoted message
Show quoted text
-- Dave in Australia On 30 Jun 2017, at 9:24 AM, znrauiufnjz2e6tsduf24xoihjbzwl5y3fdj7ebx@... [jmriusers] <jmriusers@...> wrote: |
Locked
Re: How do I get a Grade Crossing into JMRI?
RJM,
It seems that you are asking about automation of "crossing signals" for a location where a street crosses one or more tracks. Is that correct? So far as I am aware, JMRI does not have any specific support for this. There are something like a bazillion ways to implement such a thing, so JMRI cannot easily implement a "one-size-fits-all" solution. (Since you seem to be working on a LocoNet-based solution, I will contact you "off-list" about possible solutions.) Regards, Billybob |
Locked
Re: How do I get a Grade Crossing into JMRI?
In the Layout Editor they¡¯re called ¡°Level Crossing¡±s¡
-- Enjoy, George Warner eMail/iChat: <geowar1@...> |
Locked
Re: layout editor assign turnout name
On Wed Jun 28, 2017 8:03 pm (PDT) . Posted by: cmitcham1
with george's help, we did find my problem. it seems that turnout user names are required. i was only giving the system name and trying to use that, but when i give my turnouts a user name, then all works as expected.Just an FYI: User names aren¡¯t required¡ it was just a bug introduced by your¡¯s truly¡ This should be fixed in an upcoming build (4.8?). -- Enjoy, George Warner eMail/iChat: <geowar1@...> [Non-text portions of this message have been removed] |
Locked
Re: Consist Settings
Hey Dave,
Thanks for the great article. I wish NCE had that information in their manual. Answered a lot of my questions and more. Here is my scenario I have set up. Front loco 5629 running forward. Rear loco 5203 running in reverse. I select loco 5629 and it comes up CON 5629. Runs as designed, Only 5629 has the bell, horn and headlight. Now, I go to switch directions. I select 5203 and it comes up CON 5203. Direction set as forward. Consist begins to run, however when I sound the horn or bell, both engines respond. Strange. Now, in JMRI, all consist settings are set to "Locomotive Address Only". I am sure you have an answer. Thanks. Ted |
Locked
How do I get a Grade Crossing into JMRI?
Help, using JMRI Panel Pro V.6 with standalone PR3 on a MS 10 Lenovo. Have searched all I can for how to setup a railroad grade crossing. Have viewed all the files in change icons ¨C resources. Do not see a typical grade crossing with gates. Have searched and found all sorts of discussions like ¡°Can we call a duck a duck?¡±, ¡°PanelPro Grade-Crossing control script¡± and various other well written posts. I am one of the users of JMRI that has very little technical knowhow or experience in JMRI programming. I have most of my blocks, color coded and turnouts set up, have gotten frustrated with this crossing dilemma.
Truly grateful that there are people that volunteer to write and program this very distinct tool. Thank You for assistance RJM |
Locked
Re: Decoder pro
The presence of "cu.Bluetooth-Incoming-Port" indicates the chosen port is certainly not correct. What other choices are available in the Preferences dropdown list?
toggle quoted message
Show quoted text
A Lenz user with a Mac should be able to indicate what the correct port name looks like. -- Dave in Australia On 30 Jun 2017, at 3:29 AM, Wolfgang Grehn grehnwolfgang@... [jmriusers] <jmriusers@...> wrote: |
Locked
Re: JMRI sensors DCC++ and invalid XML files
Dave,
At this time, there is nothing you need to do different, other than running the script I mentioned in a previous post. The unexpected sensor content has been there for a long time, but older versions of JMRI (before 4.7.2) did not validate the content during loading. A developer familiar with DCC++ will need to make the determination whether the additional sensor content should be included in the XML file. If yes, then the schema will need to be changed to match. Dave Sand |
Locked
Bootup into Panel Pro
When I try to open Panel Pro, Decoder Pro, Sound Pro, After they boot up they go into preferences and before I can do anything it shuts off back to windows 10, I'm using java 1.8 with jmri 4.6. I was just wondering if any body else had the same problem???. if so help in advance, thank you.
|
Locked
Re: Decoder pro
Wolfgang Grehn
Hello Dave,
Thank you for your answer. You will find the desired information from Decoder Pro below: 1. Computer operating system: MAC OS Sierra version 10.12.5 - IMac27 " 2. DCC Lenz LZ100 - LV101 - Version 3.6 - USB Interface 23150 Wolfgang Weil am Rhein Germany 2017-06-29 12:29:33,046 util.Log4JUtil INFO - * JMRI log ** [main] 2017-06-29 12:29:34,464 util.Log4JUtil INFO - This log is appended to file: /Users/wolfganggrehn_iMac/Library/Preferences/JMRI/log/messages.log [main] 2017-06-29 12:29:34,465 util.Log4JUtil INFO - This log is stored in file: /Users/wolfganggrehn_iMac/Library/Preferences/JMRI/log/session.log [main] 2017-06-29 12:29:34,470 apps.AppsBase INFO - DecoderPro version 4.7.6+R570b2bc starts under Java 1.8.0_131 on Mac OS X x86_64 v10.12.5 at Thu Jun 29 12:29:34 CEST 2017 [main] 2017-06-29 12:29:34,683 gui3.Apps3 INFO - Starting with profile My_JMRI_Railroad.3f09e17c [main] 2017-06-29 12:29:34,751 node.NodeIdentity INFO - Using jmri-8863DFBB063B-3f09e17c as the JMRI Node identity [main] 2017-06-29 12:29:37,006 liusb.LIUSBAdapter INFO - cu.Bluetooth-Incoming-Port port opened at 57600 baud with DTR: true RTS: true DSR: false CTS: false CD: false [main] 2017-06-29 12:30:07,034 lenz.XNetInitializationManager WARN - Command Station disconnected, or powered down assuming LZ100/LZV100 V3.x [main] 2017-06-29 12:30:08,353 util.HelpUtil WARN - JavaHelp: File help/de/JmriHelp_de.hs not found, dropping to default [main] 2017-06-29 12:30:09,080 util.FileUtilSupport INFO - File path program: is /Applications/JMRI/ [main] 2017-06-29 12:30:09,081 util.FileUtilSupport INFO - File path preference: is /Users/wolfganggrehn_iMac/Library/Preferences/JMRI/My_JMRI_Railroad/ [main] 2017-06-29 12:30:09,081 util.FileUtilSupport INFO - File path profile: is /Users/wolfganggrehn_iMac/Library/Preferences/JMRI/My_JMRI_Railroad/ [main] 2017-06-29 12:30:09,081 util.FileUtilSupport INFO - File path settings: is /Users/wolfganggrehn_iMac/Library/Preferences/JMRI/ [main] 2017-06-29 12:30:09,081 util.FileUtilSupport INFO - File path home: is /Users/wolfganggrehn_iMac/ [main] 2017-06-29 12:30:09,081 util.FileUtilSupport INFO - File path scripts: is /Applications/JMRI/jython/ [main] 2017-06-29 12:30:12,034 jmrix.AbstractMRTrafficController WARN - Timeout on reply to message: 21 21 00 consecutive timeouts = 0 [liusb.LIUSBXNetPacketizer Transmit thread] 2017-06-29 12:30:22,318 withrottle.UserInterface INFO - Creating new WiThrottle DeviceServer(socket) on port 12090, waiting for incoming connection... [WiThrottleGUIServer] 2017-06-29 12:30:47,613 jmrix.AbstractMRTrafficController WARN - Timeout on reply to message: 21 24 05 consecutive timeouts = 1 [liusb.LIUSBXNetPacketizer Transmit thread] Am 29.06.2017 um 01:01 schrieb Dave Heap dgheap@... [jmriusers] <jmriusers@...>: [Non-text portions of this message have been removed] |
Locked
Re: JMRI sensors DCC++ and invalid XML files
Dave,
The technical problem is a XML schema / sensor data mismatch that only affects DCC++. I have created GitHub issue #3695 to address this problem. In the meantime, you need to disable XML validation during XML file loading. You have two options. #1) Before loading the panel XML file, go to "Panels >> Run Script...". Select "TurnOffXmlValidation.py" and click on Open. This runs very quickly and you will see no response. Now you can load your panel xml file. #2) Go to "Preferences >> Start Up". From the "Add" dropdown, select "Run Script..." Select the script as above. Save and restart. Each time you start PanelPro with this profile, the script will run automatically and you can then load your panel xml file. Dave Sand |
Locked
Re: JMRI sensors DCC++ and invalid XML files
1/. I have tried using both 4.6 and 4.7.1 with (essentially) the same invalid XML files being created.
2/. I don't really understand why PanelPro agrees to write out sensot information if it does not meet rules. Also, have other have noted, if the XML file is invalid you can't read it back in with PanelPro to edit the tables you are forced to then try to edit the XML by hand. I have created a directory called DavePrice in the ProblemsBeingWordOn area containing one example of the invalid XML files being created. Any advice on either how I should be creating things, or an explanation of why JMRI PanelPro saves invalid XML files would be much appreciated. Dave Price |
Locked
New file uploaded to jmriusers
Hello,
This email message is a notification to let you know that a file has been uploaded to the Files area of the jmriusers group. File : /DavePrice/sensors.xml Uploaded by : price.dave@... <dap@...> Description : This created with PanelPro from JMRI 4.7.6. Debug-> validate XMK report this as invalid. You can access this file at the URL: To learn more about file sharing for your group, please visit: Regards, price.dave@... <dap@...> |
Locked
Re: Requesting help with Parse error after upgrading to 4.7.6
It¡¯s a really obscure way to say it, but the message is saying that
*) Your file refers to the icons location by starting with ¡°scripts:¡± *) But the code doesn¡¯t accept ¡°scripts¡±. It does accept ¡°program:¡±, ¡°preference:¡±, ¡°settings:¡±,¡±home:¡±, profile:¡± or some other things. If you send me the file, I¡¯ll do a quick edit on it and send it back. (It¡¯s still work on the old version, just in case) Bob On Jun 28, 2017, at 9:18 PM, bcomail@... [jmriusers] <jmriusers@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Requesting help with Parse error after upgrading to 4.7.6
After upgrading from 4.6 to 4.7.6, making no other changes, and merging the directories (OS X 10.11.6, El Capitan), I get a Parse Error:
while parsing file /Users/overholtzer...etc. Exception: org.jdom2.input.JDOMParseexception: Error on line 6586: cvc-pattern-valid: Value 'scripts:Applications/JMRI/resources/icons/USS/sensor/amber-on.gif' is not facet-valid with respect to pattern '((program:|preference:|settings:|home:|profile:|file:|[a-zA-Z]:|\/)(\/|\\|[^/?*:;{}\\]+)+|https?:\/\/.+\/?.*)' for type 'urlType'. I checked, and the amber-on.gif DOES still reside in the Applications/JMRI/resources/icons/USS/sensor/ folder. Any ideas what may have happened and how I can recover my panels? Bret O. Lenexa, Kansas |
to navigate to use esc to dismiss