Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
Locked
Re: Exception while setting Signal Logic attempting to set invalid aspect
Just for grins, I changed the file appearance-SL-2-high-absolute.xml to include an aspect called Diverging Approach which was a copy of Approach Diverging.? I also removed the aspect mapping for Diverging Approach at the same time.? After this, JMRI no long threw the Exception while setting Signal Logic exceptions.? This looks to me like there is a bug in the aspect mapping code somewhere.? Any other ideas?
Thanks, Jack |
Locked
Re: NCE GET Macro caused loss of existing Macros and loss of existing consists
¿ªÔÆÌåÓýWith the NCE Power Pro, the NCE recommended ?"Clear All Advanced Consists" command (Pro Cab, under Setup Command Station) is better, much easier, safer and more thorough than trying to fix things manually in the event of problems with consists. NCE?Clear All Advanced Consists Command: 1) Clears and resets the Consist Table in the Power Pro command station. 2) Sends an NMRA Consist Control Instruction (remove loco from consist) to short address 1 (the broadcast address). All locos currently on the layout should obey this command to the broadcast address. 3) The NMRA Consist Control Instructions are not the same DCC instruction as "Program on Main CV19", but the result in the decoder is the same. Many locos will not obey Program on Main commands to the broadcast address. 4) Should be done at least twice because some decoders (e.g. SoundTraxx and QSI) go into a slumber mode and miss the first command. 5) Some decoders (e.g. early MRC) don't support the?NMRA?Consist Control Instructions at all and need manual cleanup. 6) Some decoders (e.g. LokSound V3.5 and early V4 firmware versions) don't support the?NMRA?Consist Control Instructions sent to the broadcast address and need manual cleanup. 7) Obviously, locos currently on dead track or off-layout are not cleaned up. --? Dave in Australia On 22 Nov 2018, at 3:29 AM, Wain Schroeder <niaw1@...> wrote:
consists were recreated, but not without quite a few decoders having to be placed on the Programming track to set their CV19 to 0 (wouldn't work on the Main).? It was my stupidity for forgetting the "NCE Users - don't use Macros" warning in this forum from last year, but want to relay some information that might prove helpful going forward . |
Locked
C/MRI serial connection issues
Our club has a C/MRI maxi-node with a SUSIC, eight DOUT24 output cards four DIN 24 input cards.
It is connected to a Lubuntu 18.04 system using a two port 16550 based RS-232 serial card. While I was working with the layout editor to sequence the signals some time ago, everything was working fine. Then my attention was diverted to other projects. Recently, I noticed most of the signals were held at 'stop' and many of the block detectors were shown as 'active' in JMRI despite nothing in the blocks.? I don't know when the problem started. After installing an SSD as the system drive, I have been unable to get JMRI to properly connect to the maxi-node. The results of my troubleshooting are as follows: 1/ Lubuntu serial connection to C/MRI
2/ WIndows 10 laptop with USB - RS-232 connection to C/MRI (connected at computer end of cable)
3/ Lubuntu with connection via USB - RS-323 adapter to C/MRI (as in 2 above)
Tom |
Locked
Exception while setting Signal Logic attempting to set invalid aspect
JMRI version: 4.13.4 and 4.12
Java version:?1.8.0_171 MacOS: Version 10.13 I've been working on a small physical layout connected to JMRI to understand signaling and LCC.? I've been using SML with Signal Masts assigned to turnouts.? I've used the Autogenerate features of SML logic to generate mast pairs, logic, and sections.? The layout includes 12 turnouts.? The turnouts operate in pairs of crossovers.? The problem is when I exercise the turnouts, under certain situations, I get an exception like "19:42:45.476 (246382) ERROR [AWT-EventQueue-0] DefaultSignalMastLogic.java:974? - Exception while setting Signal Logic attempting to set invalid aspect: Diverging Approach on mast: Turnout Left Near 2A". Turnout Left Near 2A is a Signal Mast using N&W 1981 Signal System with Mast Type: Color Light 2 Arm Absolute Mast Signal.? The Mast Driver is currently Virtual Mast because I have no hardware at the moment.? The Mast Type supports aspects: Clear, Approach Diverging, Advance Approach, Diverging Clear, Approach, Restricting, and Stop and Stay.? When I look at the JMRI/xml/signals/NW-1981/appearance-SL-2-high-absolute.xml, I see that the file has an aspectMapping for "Diverging Approach" that maps to "Approach Diverging".? I would expect this mapping to take care of setting the Mast to state Approach Diverging when JMRI sends it state "Diverging Approach".? Am I missing something?? Why is JMRI throwing this exception? I've copied my Main Yard panel file here:?/g/jmriusers/files/Exception%20while%20setting%20Signal%20Logic/Main%20Yard.xml Thanks for your help. |
Locked
Re: Caboose load status not printing
David, Dan |
Locked
Re: NCE GET Macro caused loss of existing Macros and loss of existing consists
Wain,
It looks to me that the NCE command station crashed. Other than the Macro tool, was anything else communicating with the NCE command station?? The console shows a timeout to a valid macro memory address in the command station.? I don't see anything wrong with the message.? However, the NCE command station might have seen something else, as the message timed out, which means the command station failed to response to our request to write to macro memory. Dan |
Locked
what is needed for seeing a train running on a physical layout through the computer?
Dave?
I have been using JMRI for a while now, but I cannot seem to get where I want to be. I have a Digitrax system, DCS50, Windows Vista RR-Cirkits and loconet. I believe Dave has my layout (George Layout) information that I sent to him several weeks back. I have some blocks, but I do not know whether they are working or not. I have a BD1 connected through a DS64 and when I run an engine around, only one LED stays lit and none of the other 4 come on or go off. I understand that is a problem as it shows that my blocks are not yet right. What I want to do is be able to run my trains, and see the train locations on the computer by the track going occupied. What do I need to do to get this going? I am hoping that Dave can help me get going since he has already helped me with the layout. Thanks, George Pendergraft |
Locked
Re: Problem exporting and importing the roster
Your fallback method (copying the "roster" folder) is the one I prefer.
toggle quoted message
Show quoted text
The Export Complete Roster option takes a long time to complete (with no busy/completed feedback) and actually produces a ZIP file. If you manually give it a ".zip" extension you can look inside it. It's also very tedious to import a large roster as it prompts for each entry. Some useful information links about JMRI file structure: <> <> -- Dave in Australia On 22 Nov 2018, at 9:05 AM, Marshall <readingrr2103@...> wrote: |
Locked
Re: Caboose load status not printing
/g/jmriusers/message/153685
There are only 4 messages in the original thread. Your answer is in the second message. /g/jmriusers/message/153695 -- Peter Ulvestad JMRI Users Group Moderator - ( ) Tam Valley Group Moderator - ( ) Sprog-DCC Group Moderator - ( ) Edmonton Model Railroad Association - |
Locked
Re: NCE AUI Sensors not detecting active or inactive - timeout message
¿ªÔÆÌåÓýMike, Wouter ?is correct. I need to update this page: <> Also, as Wouter has said, ignore the el-cheapo RS232 to USB connectors you see at office supplies and computer stores and buy a reliable genuine FTDI chipset-based one such as these two ~$30 solutions: <> <> The UN8-BE is the item you want. <> <> (Also ESU dealers in the UK and Australia can supply.) These don't need a 9-pin to 9-pin adaptor cable (some brands do). Also be aware that there is a potential poor contact issue involving the Power Pro socket and any adaptor, due to an engineering issue. If you have problems with getting a response from the Power Pro, see this page: <> --? Dave in Australia On 22 Nov 2018, at 3:16 AM, michelplouffe4748@... wrote:
|
Locked
Re: Caboose load status not printing
Greetings all;
My first note of this snag seemed to have been co-opted to the discussion of some other problem - so I'm re-printing it. ------------------------------------------------------ Another very minor bug I've been experiencing: When a caboose is assigned to a train, the car shows on the 'Cars' page with the load status I have set - normally either 'E', or the custom load 'Crew'. However, when the manifest is previewed or printed, the 'load' column is always blank. David |
Locked
Logix Change Doesn't Always Trigger Signal Head Change
I have numerous logix running on my layout and have for years.? I recently have added several signal heads and more logix to go with them.? Every once in a while, when the logix controlling a signal head changes state (for example, calculating that the signal should be green when it had been showing red previously), the signal head doesn't make the change.? In other words, the logix calculates the proper change and the conditional that triggers the change to green shows true in the logix (and is the only "true" in the logix), but the signal head table doesn't get the message and continues to display red.? Eventually, something eventually tirggers the signal head to make the change, but it seems to require some other event on the layout to occur before that happens.? I haven't been able to figure out what eventually gets the change to happen.
For the most part, this signal head is working properly.? It's just on rare instances that it doesn't seem to get the message to the signal head table. Any ideas on why the signal head table doesn't always reflect the change calculated by the logix? I believe that I am using the latest production version of JMRI. |
Locked
Problem exporting and importing the roster
Hi,
Today I attempted to export the roster from one computer to a new computer.? They are both Windows 10 and JMRI on both is 4.12. I used the "Export Roster" option and the "Import Roster" options. Although the Export seemed to work, here is what I observed: 1.? A window came up with a blank line to enter a file name (I'm assuming).? I entered one, Roster1.? On the flash drive I go Roster1roster. ?? Using a Windows window to rename the file, Windows say no way as something in JMRI did not release the file.? I think it was the Java run time library.? Not until I exited the Export window was I able to rename the file.? I tried it again giving a filename of roster.xml as mentioned on the JMRI.ORG web pages.? What I got was roster.xmlroster.? I renamed the file to roster.xml. 2.? The import failed telling me the file was basically "garbage". I edited the file with notepad++ and it was unintelligible.? There were errors in the console log related to this problem, but I had do way of capturing it as it was a club computer. 3.? I tried exporting a single roster entry and that worked as one would expect.? Also I did not get the problem the the export window has not "released" file, like I got on export of the roster. Eventually, I gave up and copied all the files in the roster folder to the flash drive and on the new Windows system, copied them into the roster folder.? I then did the option the Rebuild the Roster. Everything worked and all of the engines were in the roster on the new system. There were over 300 engines that needed to be exported to the new windows 10 system I either was doing something wrong when exporting the roster or there is a "bug". Have a Happy Thanksgiving and don't forget to roll back the scale 10lbs. Marshall |
Locked
Re: Is there any way to add time stamp to SensorLog.py?
#scripting
Dave and Cliff,
I was having some issues finding the lines you suggested Cliff, then saw Dave's suggestion and followed that.? It works as requested!!? Thank you for the quick reply and help, both of you!! Regards, Wain |
Locked
Re: Is there any way to add time stamp to SensorLog.py?
#scripting
Wain,
toggle quoted message
Show quoted text
An alternate solution to Cliff¡¯s approach. Add "import time¡± Change the print line: print time.strftime("%Y-%m-%d %H:%M:%S"), mesg Dave Sand On Nov 21, 2018, at 9:09 AM, Wain Schroeder <niaw1@...> wrote: |
Locked
Re: Is there any way to add time stamp to SensorLog.py?
#scripting
The Preview seen on my screen prior to sending is not always in agreement with what is reported at the groups.io website 2018-11-21 09:24:41,939 script.SensorLog INFO - Sensor NS550 (East Yard) from INACTIVE to ACTIVE [AWT-EventQueue-0] 2018-11-21 09:24:52,235 script.SensorLog INFO - Sensor NS550 (East Yard) from ACTIVE to INACTIVE [AWT-EventQueue-0] Double blanks and double CR characters seem to be squeezed. Maybe the snip from the log file will work better this time?? Cliff in Baja SoCal (still having mistakes with the markdown features) |
Locked
Re: Is there any way to add time stamp to SensorLog.py?
#scripting
Wain, The modifications suggested here approximate what you asked for and were developed several months ago. The only tests that I have performed were on Digitrax DCS200 and NCE simulator. These modifications assume that you are comfortable editing a script. If not, then I can send a complete SensorLogMod.py file off list. Immediately after the line:
copy these lines:
then at what was line # 41 change from:
to:
After that is saved with a new name and in your local jmri\python folder then executed, you should see something like: 2018-11-21 09:24:41,939 script.SensorLog INFO - Sensor NS550 (East Yard) from INACTIVE to ACTIVE [AWT-EventQueue-0] on your System Console and you Session.log file. Cliff in Baja SoCal (still having mistakes with the markdown features) |
Locked
Re: Question about defining double crossovers
I may be totally off base since I am a newbie.? It was my understanding that (when using 4 motors) the "supporting turnout" was used to indicate the "pair" to select a route across the crossover.? Maybe if you remove the "supporting turnout" on one route, that the other may be able to be defined correctly.
Just a thought, Woody |
Locked
NCE GET Macro caused loss of existing Macros and loss of existing consists
Hi, Wain Schroeder |
Locked
Re: NCE AUI Sensors not detecting active or inactive - timeout message
¿ªÔÆÌåÓýWouter, thanks for the guidance. I will try that connection type. Mike ? From: [email protected] <[email protected]> On Behalf Of whmvd ? Hi Mike, ? Although I am not sure that this is the actual cause of what you are experiencing, the choice of using an NCE-USB with a PH-Pro is most definitely incorrect(*). That device is specifically for the PowerCab and causes severe limitations with a PH-Pro. What you need is a serial connection to the computer. If your PC has a serial port, you can just get the simplest of cables, but if you are stuck with just USB, as most are these days, then you need to get a USB to serial connector, which will involve installing a driver. The recommended ones have an FTDI chipset, and it's not advisable to get something different. ? (*) Whether the NCE-USB supports AIUs at all depends on the version - V6 does not, V7 does with the right command station software version. Bottom line: do not go this way - get a serial connection, as decoder programming is notsupported whatever the version. You simply have a pointlessly crippled system. ? Wouter ? On Wed, 21 Nov 2018 at 10:50, <michelplouffe4748@...> wrote:
|