Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
Locked
Re: How do I create a directional sensor.
Phil, Just like the prototypes, it takes two sensors to detect direction. If A and then B, one direction but if Band then A, the other direction. Your pairs of block sensors might provide enough information, depending upon how much granularity is needed, Sometimes a pair of photocells that straddle the boundary between two adjacent blocks might be advisable. Cliff in Baja SoCal |
Locked
Re: Items needed to set up a programming track
¿ªÔÆÌåÓýIn A word SPROG. Will do everything you want and more. On 2/16/2020 2:19 PM, neafus via
Groups.Io wrote:
I hope I¡¯m not posting to a worn out topic but I need some information. ?I am wanting to set a decoder programming track to program decoders from different manufacturers. With the jmri software what interface will work for most decoders or do I need multiple interfaces to cover the most manufacturers. I need this because I rebuild O and HO trains. I only need a programming track for installing new decoders or reprogramming, no throttles needed. |
Locked
Re: back up and restore operations files
#operationspro
¿ªÔÆÌåÓýHere is what I do. Main machine is a desktop. I run a manual
Back-up. Then I copy that back-up to my portable drive. Plug that
drive into my Laptop and copy the folder into the "Backups" folder
and then Restore that folder in the Laptop. Then I just reverse
the process to get the modified files back to my Desktop. Jim On 2/16/2020 8:14 PM, Burnell Breaker
via Groups.Io wrote:
|
Locked
Re: back up and restore operations files
#operationspro
Hi Jim, Should I then restore with the new files or copy again to the original computer? Thanks! Burnell
On Sunday, February 16, 2020, 08:10:40 PM CST, Jim Elbe <jelbe1953@...> wrote:
Burnell, Copy the folder with the 6 files and you are good to go. That is what I do. Jim E. On 2/16/2020 7:43 PM, Burnell Breaker
via Groups.Io wrote:
I am looking to know how to back up the
operations file to a flash drive, work on the file on another
computer and then restore the updated file to the original
computer. I see where it usually is backed up to but don't
know if I just copy that file to my flash drive or if there is
another way to do it.
?
Thanks!
Burnell Breaker
|
Locked
Re: back up and restore operations files
#operationspro
¿ªÔÆÌåÓýBurnell, Copy the folder with the 6 files and you are good to go. That is what I do. Jim E. On 2/16/2020 7:43 PM, Burnell Breaker
via Groups.Io wrote:
|
Locked
back up and restore operations files
#operationspro
I am looking to know how to back up the operations file to a flash drive, work on the file on another computer and then restore the updated file to the original computer. I see where it usually is backed up to but don't know if I just copy that file to my flash drive or if there is another way to do it.
?
Thanks!
Burnell Breaker
|
Rodney,
I made changes to use LS and LT and saved the panel.? It still doesn't load but the first error message I listed above is gone.? Now it says: 2020-02-16 18:56:32,736 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [AWT-EventQueue-0]
java.lang.NullPointerException
at cats.layout.items.PhysicalSignal.setAspect(PhysicalSignal.java:182)
at cats.layout.items.SecSignal.tumbleDown(SecSignal.java:141)
at cats.layout.items.SecSignal.nextSignal(SecSignal.java:229)
at cats.layout.items.PtsEdge.setFrogSignal(PtsEdge.java:582)
at cats.layout.items.FrogSignal.setPredecesor(FrogSignal.java:68)
at cats.layout.items.BlkEdge.locateFeeder(BlkEdge.java:243)
at cats.layout.items.Section.wireSignals(Section.java:363)
at cats.gui.Screen.findBounds(Screen.java:230)
at cats.gui.Screen.init(Screen.java:722)
at cats.gui.DispPanel.jMenuFileOpen_actionPerformed(DispPanel.java:186)
at cats.gui.DispPanel$1.actionPerformed(DispPanel.java:366)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
? |
Locked
How do I create a directional sensor.
I had have? Digitrax DCS51, PR4, BDL168 and my lap top windows 10, using Panel Pro 4.18+R37. I have created a 6 block test loop and three section of two block each. The sensors have been allocated to the blocks and the transits have have been created using the auto import function. In the sensor window the Set Directional sensor Logic has 3 errors.? Checking the System Console the state reads for each section Missing direction sensor in section IYLYSEC1 [AWT-EventQueue-0] Any suggestion how?to fix this? The edit section table of entry points is completed and correct. I am missing something. Phil |
Rodney, Yes, the error was from CATS when we tried to load the panel from Designer. When I created the sensors and turnouts in JMRI I used LS and LT. However when I defined JMRI devices in Designer I used ML and MS, was that correct? I live over an hour away from Mark now, but I'll call him and make sure he saw your latest reply. Thanks for you help. Clay |
Locked
Re: Items needed to set up a programming track
SPROG
toggle quoted message
Show quoted text
---------- Original Message ---------- |
Locked
Re: Items needed to set up a programming track
You'll also need to buy a USB printer lead to go with it, but they are readily available.
|
Locked
Re: Items needed to set up a programming track
Hi Neatus. Probably the cheapest option is to buy a Digitrax PR4 and possibly a power supply for it if yours doesn't come with one. Mine didn't, but I am in the UK. Have a look at the instruction manual to see if it meets your needs.?
|
Locked
Re: Problems Using NCE USB Interface Version 7 ?
Key is opening the Help->System Console, there will be two types of messages
of great importance. 1. Does JMRI open the port and see the USB device? 2020-01-26 14:33:07,602 xml.AbstractSerialConnectionConfigXml INFO - Starting to connect for "NCE" [main]^M 2020-01-26 14:33:07,623 usbdriver.UsbDriverAdapter INFO - NCE USB COM5 port opened at 19200 baud [main]^M 2020-01-26 14:33:07,736 nce.NceConnectionStatus INFO - NCE EPROM revision = 7.3.7 [AWT-EventQueue-0]^ This shows that the port opened and the NCE-USB responded with version and the last number says I had all the jumpers on the interface. If you get this, don't change jumpers or baud rate. We are talking to the interface. If you don't see that third line, you will end up seeing: 2020-01-25 14:05:15,206 jmrix.AbstractMRTrafficController WARN - Timeout on reply to message: AA consecutive timeouts = 0 in nce.NceTrafficController [nce.NceTrafficController Transmit thread] 2020-01-25 14:05:15,310 nce.NceConnectionStatus WARN - Incorrect or no response from NCE command station [nce.NceTrafficController Transmit thread] That shows it doesn't get a reply from the NCE-USB interface. Best thing then is: 1. Edit->Preferences->Connection->NCE, whichever baud rate it is, change it to the other. You may need to click 'Additional ...' checkbox to see baud rate. 2. Save and exit JMRI. 3. unplug the NCE-USB from both the computer and CabBus. 4. Start JMRI again. If you still don't see the interface, check all cables and look in the connectors for any hint of problems. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.org www.syracusemodelrr.org |
Locked
Re: Digitrax PR4 blinking lights?
Billybob, Thanks for the suggestions, I'll update when I figure it out. Luke On Sun, Feb 16, 2020, 6:39 PM billybob experimenter <jawhugrps@...> wrote: Luke(?), |
Locked
Re: Digitrax PR4 blinking lights?
Luke(?),
My notes say that the PR4 red and green lights flash rapidly when the PR4 is in "IPL" mode. I do not know where I got that information. If your PR4 continues to exhibit this symptom, I suggest that you re-install the PR4 firmware. Both the firmware file and the _REQUIRED_ program DigiIPLII.exe (_not_ DigiIPL.exe!) are available from the Digitrax Website "Downloads" page. Note that the DigiIPLII.exe program is available as part of the SoundLoader 2.4 download, and DigiIPLII.exe is designed for Windows-based computers. Regards, Billybob |
Locked
Re: Items needed to set up a programming track
¿ªÔÆÌåÓýNeafus, I install decoders in N, HO, O and use the Sprog 3 it programs anything that is programmable. Gerry On 17/02/2020 6:19 am, neafus via
Groups.Io wrote:
I hope I¡¯m not posting to a worn out topic but I need some information. ?I am wanting to set a decoder programming track to program decoders from different manufacturers. With the jmri software what interface will work for most decoders or do I need multiple interfaces to cover the most manufacturers. I need this because I rebuild O and HO trains. I only need a programming track for installing new decoders or reprogramming, no throttles needed. -- Gerry Hopkins MMR #177 FNMRA Great Northern Downunder NMRA Australasian Region Contest & AP Chairman |
Locked
RailDriver not working in 4.18/Linux
#raildriver
#ubuntu
I just tried to load my RailDriver throttle in JMRI 4.18 and it did not load plus the console shows an error (copy below). I am using Ubuntu 18.04. I rechecked 4.16 and it still works there.
Did something change? Allen Mtn RR 2020-02-16 14:36:08,258 input.DefaultControllerEnvironment??? INFO? - Loading: net.bobis.jinput.hidraw.HidRawEnvironmentPlugin [AWT-EventQueue-0] 2020-02-16 14:36:08,259 hidraw.HidRawEnvironmentPlugin??????? INFO? - Scanning xml files for devices on folder: /home/allen/JMRI_418/xml/jinputDevices [AWT-EventQueue-0] 2020-02-16 14:36:08,260 hidraw.HidRawEnvironmentPlugin??????? INFO? - Using already existing preferences for device RailDriverModernDesktop ??? ?To reset preferences for _all_ HidRaw devices use -Djinput.resetHidRawPreferences=true ??? ?After that, preferences for this device will be loaded from /home/allen/JMRI_418/xml/jinputDevices/RailDriverModernDesktop.xml [AWT-EventQueue-0] 2020-02-16 14:36:08,260 hidraw.HidRawEnvironmentPlugin??????? INFO? - Using file /home/allen/JMRI_418/xml/jinputDevices/ReDACIOModule.xml to get preferences for device ReDACIOModule [AWT-EventQueue-0] 2020-02-16 14:36:08,329 hidraw.HidRawEnvironmentPlugin??????? INFO? - HidRawEnvironmentPlugin, native devices: Vendor: 0x5f3 ; Product: 0xd2 ; Name: RailDriver Modern Desktop ; Path: /dev/RailDriverModernDesktop Vendor: 0x00 ; Product: 0x00 ; Name: unknown name ; Path: unknown path Vendor: 0x00 ; Product: 0x00 ; Name: unknown name ; Path: unknown path ?[AWT-EventQueue-0] 2020-02-16 14:36:08,377 hidraw.HidRawEnvironmentPlugin??????? INFO? - Failed to create HidRawController for device unknown name: net.bobis.jinput.hidraw.unknownname [AWT-EventQueue-0] 2020-02-16 14:36:08,377 hidraw.HidRawEnvironmentPlugin??????? INFO? - Failed to create HidRawController for device unknown name: net.bobis.jinput.hidraw.unknownname [AWT-EventQueue-0] 2020-02-16 14:36:08,377 hidraw.HidRawEnvironmentPlugin??????? INFO? - Failed to create HidRawController for device unknown name: net.bobis.jinput.hidraw.unknownname [AWT-EventQueue-0] 2020-02-16 14:36:08,378 hidraw.HidRawEnvironmentPlugin??????? INFO? - Failed to create HidRawController for device unknown name: net.bobis.jinput.hidraw.unknownname [AWT-EventQueue-0] 2020-02-16 14:36:08,378 input.DefaultControllerEnvironment??? INFO? - Loading: net.java.games.input.LinuxEnvironmentPlugin [AWT-EventQueue-0] 2020-02-16 14:36:08,381 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event15): Failed to open device /dev/input/event15 (13) ?[AWT-EventQueue-0] 2020-02-16 14:36:08,382 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event14): Failed to open device /dev/input/event14 (13) ?[AWT-EventQueue-0] 2020-02-16 14:36:08,382 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event13): Failed to open device /dev/input/event13 (13) ?[AWT-EventQueue-0] 2020-02-16 14:36:08,382 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event12): Failed to open device /dev/input/event12 (13) ?[AWT-EventQueue-0] 2020-02-16 14:36:08,383 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event11): Failed to open device /dev/input/event11 (13) ?[AWT-EventQueue-0] 2020-02-16 14:36:08,383 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event10): Failed to open device /dev/input/event10 (13) ?[AWT-EventQueue-0] 2020-02-16 14:36:08,383 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event9): Failed to open device /dev/input/event9 (13) ?[AWT-EventQueue-0] 2020-02-16 14:36:08,383 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event8): Failed to open device /dev/input/event8 (13) ?[AWT-EventQueue-0] 2020-02-16 14:36:08,384 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event7): Failed to open device /dev/input/event7 (13) ?[AWT-EventQueue-0] 2020-02-16 14:36:08,384 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event6): Failed to open device /dev/input/event6 (13) ?[AWT-EventQueue-0] 2020-02-16 14:36:08,447 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event3): Failed to open device /dev/input/event3 (13) ?[AWT-EventQueue-0] 2020-02-16 14:36:08,447 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event2): Failed to open device /dev/input/event2 (13) ?[AWT-EventQueue-0] 2020-02-16 14:36:08,448 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event1): Failed to open device /dev/input/event1 (13) ?[AWT-EventQueue-0] 2020-02-16 14:36:08,448 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event0): Failed to open device /dev/input/event0 (13) ?[AWT-EventQueue-0] 2020-02-16 14:36:08,450 input.ControllerEnvironment?????????? INFO? - Linux plugin claims to have found 3 controllers ?[AWT-EventQueue-0] 2020-02-16 14:36:08,450 jinput.TreeModel????????????????????? INFO? - Controller RailDriver Modern Desktop has 51 components [AWT-EventQueue-0] 2020-02-16 14:36:08,451 jinput.TreeModel????????????????????? INFO? - Controller Logitech Logitech Attack 3 has 14 components [AWT-EventQueue-0] 2020-02-16 14:36:08,451 jinput.TreeModel????????????????????? INFO? - Controller PI Engineering RailDriver Modern Desktop has 56 components [AWT-EventQueue-0] 2020-02-16 14:36:08,451 jinput.TreeModel????????????????????? INFO? - Controller PI Engineering RailDriver Modern Desktop has 56 components [AWT-EventQueue-0] Found RailDriver Modern Desktop 955670178 2020-02-16 14:36:08,461 jython.RunJythonScript??????????????? ERROR - Unable to execute script. [AWT-EventQueue-0] javax.script.ScriptException: AttributeError: type object 'jmri.jmrit.throttle.ThrottleFrameManager' has no attribute 'instance' in <script> at line number 312 ??? at org.python.jsr223.PyScriptEngine.scriptException(PyScriptEngine.java:222) ??? at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:59) ??? at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:64) ??? at java.scripting/javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:249) ??? at jmri.script.JmriScriptEngineManager.eval(JmriScriptEngineManager.java:394) ??? at jmri.script.JmriScriptEngineManager.eval(JmriScriptEngineManager.java:331) ??? at jmri.jmrit.jython.RunJythonScript.invoke(RunJythonScript.java:111) ??? at jmri.jmrit.jython.RunJythonScript.actionPerformed(RunJythonScript.java:84) ??? at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967) ??? at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308) ??? at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) ??? at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) ??? at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369) ??? at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1020) ??? at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1064) ??? at java.desktop/java.awt.Component.processMouseEvent(Component.java:6632) ??? at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342) ??? at java.desktop/java.awt.Component.processEvent(Component.java:6397) ??? at java.desktop/java.awt.Container.processEvent(Container.java:2263) ??? at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008) ??? at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) ??? at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840) ??? at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) ??? at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547) ??? at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) ??? at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307) ??? at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772) ??? at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840) ??? at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) ??? at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) ??? at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) ??? at java.base/java.security.AccessController.doPrivileged(Native Method) ??? at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) ??? at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) ??? at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) ??? at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743) ??? at java.base/java.security.AccessController.doPrivileged(Native Method) ??? at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) ??? at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) ??? at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) ??? at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) ??? at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) ??? at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) ??? at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) ??? at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) Caused by: Traceback (most recent call last): ? File "<script>", line 312, in <module> ? File "<script>", line 126, in __init__ AttributeError: type object 'jmri.jmrit.throttle.ThrottleFrameManager' has no attribute 'instance' ??? at org.python.core.Py.AttributeError(Py.java:207) ??? at org.python.core.PyType.noAttributeError(PyType.java:1994) ??? at org.python.core.PyObject.__getattr__(PyObject.java:1027) ??? at org.python.pycode._pyx7.__init__$3(<script>:139) ??? at org.python.pycode._pyx7.call_function(<script>) ??? at org.python.core.PyTableCode.call(PyTableCode.java:171) ??? at org.python.core.PyBaseCode.call(PyBaseCode.java:308) ??? at org.python.core.PyBaseCode.call(PyBaseCode.java:199) ??? at org.python.core.PyFunction.__call__(PyFunction.java:482) ??? at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237) ??? at org.python.core.PyMethod.__call__(PyMethod.java:228) ??? at org.python.core.PyMethod.__call__(PyMethod.java:223) ??? at org.python.core.Deriveds.dispatch__init__(Deriveds.java:19) ??? at org.python.core.PyObjectDerived.dispatch__init__(PyObjectDerived.java:1112) ??? at org.python.core.PyType.type___call__(PyType.java:1822) ??? at org.python.core.PyType.__call__(PyType.java:1805) ??? at org.python.core.PyObject.__call__(PyObject.java:480) ??? at org.python.core.PyObject.__call__(PyObject.java:484) ??? at org.python.pycode._pyx7.f$0(<script>:307) ??? at org.python.pycode._pyx7.call_function(<script>) ??? at org.python.core.PyTableCode.call(PyTableCode.java:171) ??? at org.python.core.PyCode.call(PyCode.java:18) ??? at org.python.core.Py.runCode(Py.java:1614) ??? at org.python.core.__builtin__.eval(__builtin__.java:497) ??? at org.python.core.__builtin__.eval(__builtin__.java:501) ??? at org.python.util.PythonInterpreter.eval(PythonInterpreter.java:259) ??? at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:57) ??? ... 43 more |
Locked
Re: Items needed to set up a programming track
¿ªÔÆÌåÓýJohn, I have both, I swear by my SPROG, if SPROG can't program the decoder, the As Peter has already said, JMRI can program CVs in ESU decoders. I've developed all the special JMRI code and definitions for ESU V4 and 5 decoders. My test systems are: - NCE Power Pro with PTB-100 programming track booster. - NCE Power Cab with NCE USB. - SPROG IIv3. All are absolutely fine for programming ESU decoders. The V4/Select have more than 1,000 CVs while the 5 has more than 2,000 CVs. General Decoder Programming Advice Always use New Loco->Read Type from Decoder to identify an ESU decoder. All modern ESU loco decoders will identify uniquely. Guessing the decoder model is a recipe for problems. Reading the full decoder is essential, particularly with ESU decoders where there are no "standard defaults". Each sound project has its own "factory defaults". All ESU sound decoders are manufactured effectively blank. When a Sound project is loaded to the decoder (using LokProgrammer software) part of the procedure is to write a new set of "factory defaults". Because of a known (but as yet unresolved) race condition with certain decoder settings variables in JMRI code: 1) Use "Read Full Sheet" on the CVs pane instead of "Read All Sheets". It is less likely to cause errors when reading a decoder with lots of CVs. Once finished, some may be missed (displayed in red). Use "Read Changes on Sheet" as many times as needed until no red items remain. (Hint: Click on the Status column in the CVs pane until you see a down arrow. All the Red items will then be at the top.) 2) After you make changes on a programming sheet, don't use Write/Read changes on that programming sheet. Instead, switch to the CVs pane and use Write/Read changes on (the CVs) sheet. The result is the same but it will never trigger the race condition. You'll also see a number of messages in the JMRI System Log like this: "ERROR - Variable=xxxxxx; Busy goes false with state IDLE" Ignore these as they don't indicate a real error, we'll fix the problem in a later JMRI release. |
Clay, That is helpful.? So, the error is coming from CATS and not designer?? That would make sense, as I don't remember that designer had that kind of error checking on sensor and turnout names.? If that is the case, then the error is actually coming from JMRI.? If a name is in error, then it will not go into the JMRI tables and you won't see it.? Are you creating sensors in designer with the "MS" prefix and using a recent version of JMRI?? If so, use the "LS" prefix.? See the CATS web page, scroll to the bottom to "What's new" and the Sept 19 entry.? There is a little more detail in the "bugs and change? history" ().? If you don't think that you are using the "MS" prefix, then open your CATS XML file in a text file editor (such as Notepad or Wordpad) and do a find for "LSMS".? If you get a hit, then look around and you should see some coordinates (something like " <SECTION X="2" Y="1"> " and that will tell you which grid square in designer to focus on (or one of its neighbors).? In the example, look for column 2, row 1. Rodney |