¿ªÔÆÌåÓý

Date

Locked Re: Ops: Timetable, wait time

 

Yup, the new times work. Thanks!


Locked decoder pro no ops mode programminfg in red

 

I had to reinstall JMRI because of a Windows 10 glitch and I updated to newest version. Previous Decoder Pro and Panel Pro worked. I have same hardware settings as previous Decoder pro which worked.

I am using a PowerCab (with DecoderPro) with USB card. I can read my throttles (PowerCab and USB) and get the version of the USB card in command monitor so it looks like USB is operating OK. Looks like settings are the same as previous Decoder Pro which worked. PC driver at default 9600 and DecoderPro USB at 19200 which I was told were correct since DecoderPro sets driver settings.

PowerCab reads engine decoder so it looks like PowerCab is working.

However Decoder Pro says in red no ops mode programming available in red.

Looks like something is not working with it and maybe setup is wrong.

Can some one help?

thanks

Bob in McLean


Locked Re: Problems with LayoutEditor

 

Vince,

I am not able to re-create your magic block problem. For now you should be able to go to the block table and delete the block.

The "Additional Name" field is used to assign the second turnout for "Single Slip" and "Double Slip" switches. These require two independent turnout controls.

Dave Sand


Locked Re: Getting last signal prior to fiddle yard to automatically cycle back to green (BR 4 Aspect)

 

Steve,

This is how I see your situation:
---> layout ---> SM ---> yard entry block ---> VM ---> yard tracks

VM never changes. It is set to a constant aspect. SM changes between Stop and NOT Stop based on the occupancy of "yard block". The SM aspect depends on the signal mast logic for the selected signal system.

Personally I would set VM to Stop and SM would be either Approach (yellow) or Stop (red). Clear (green) implies proceed at normal speed.

If my perspective is not correct, then we need more information.

Dave Sand


Locked Re: Test release 4.7.6 available

 

Issue submitted to Github.

Peter


Locked Re: Test release 4.7.6 available

 

Here is a console print from the Single CV Programmer failure:

2017-06-18 13:27:25,701 util.Log4JUtil INFO - * JMRI log ** [main]
2017-06-18 13:27:26,504 util.Log4JUtil INFO - This log is appended to file: /home/peter/.jmri/log/messages.log [main]
2017-06-18 13:27:26,506 util.Log4JUtil INFO - This log is stored in file: /home/peter/.jmri/log/session.log [main]
2017-06-18 13:27:26,612 apps.Apps INFO - PanelPro version 4.7.6+R570b2bc starts under Java 1.8.0_131 on Linux i386 v4.0.5-antix.1-486-smp at Sun Jun 18 13:27:26 MDT 2017 [main]
2017-06-18 13:27:32,885 apps.Apps INFO - Starting with profile JMRI.3eb5b6e2 [main]
2017-06-18 13:27:34,083 node.NodeIdentity INFO - Using jmri-00023F082735-3eb5b6e2 as the JMRI Node identity [main]
2017-06-18 13:27:38,534 loconet.LnPacketizer WARN - passing to xmit: unexpected exception: java.lang.NullPointerException [Thread-4]
2017-06-18 13:27:38,617 loconet.LnPacketizer WARN - passing to xmit: unexpected exception: java.lang.NullPointerException [Thread-5]
2017-06-18 13:27:38,730 hexfile.LnHexFilePort INFO - LocoNet Simulator Started [Thread-6]
2017-06-18 13:27:49,681 util.FileUtilSupport INFO - File path program: is /home/peter/JMRI/ [main]
2017-06-18 13:27:49,683 util.FileUtilSupport INFO - File path preference: is /home/peter/Dropbox/JMRI/ [main]
2017-06-18 13:27:49,697 util.FileUtilSupport INFO - File path profile: is /home/peter/.jmri/JMRI/ [main]
2017-06-18 13:27:49,699 util.FileUtilSupport INFO - File path settings: is /home/peter/.jmri/ [main]
2017-06-18 13:27:49,706 util.FileUtilSupport INFO - File path home: is /home/peter/ [main]
2017-06-18 13:27:49,714 util.FileUtilSupport INFO - File path scripts: is /home/peter/Dropbox/JMRI/Scripts/ [main]
2017-06-18 13:28:06,227 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [AWT-EventQueue-0]
java.lang.UnsupportedOperationException
at java.util.AbstractList.add(AbstractList.java:148)
at java.util.AbstractList.add(AbstractList.java:108)
at jmri.jmrit.progsupport.ProgOpsModePane.programmerSelected(ProgOpsModePane.java:240)
at jmri.jmrit.progsupport.ProgOpsModePane.<init>(ProgOpsModePane.java:209)
at jmri.jmrit.progsupport.ProgModePane.<init>(ProgModePane.java:69)
at jmri.jmrit.simpleprog.SimpleProgFrame.<init>(SimpleProgFrame.java:34)
at jmri.jmrit.simpleprog.SimpleProgAction.actionPerformed(SimpleProgAction.java:49)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
at java.awt.Component.processMouseEvent(Component.java:6533)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6298)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
2017-06-18 13:28:44,681 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [AWT-EventQueue-0]
java.lang.UnsupportedOperationException
at java.util.AbstractList.add(AbstractList.java:148)
at java.util.AbstractList.add(AbstractList.java:108)
at jmri.jmrit.progsupport.ProgOpsModePane.programmerSelected(ProgOpsModePane.java:240)
at jmri.jmrit.progsupport.ProgOpsModePane.<init>(ProgOpsModePane.java:209)
at jmri.jmrit.progsupport.ProgModePane.<init>(ProgModePane.java:69)
at jmri.jmrit.simpleprog.SimpleProgFrame.<init>(SimpleProgFrame.java:34)
at jmri.jmrit.simpleprog.SimpleProgAction.actionPerformed(SimpleProgAction.java:49)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
at java.awt.Component.processMouseEvent(Component.java:6533)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6298)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Peter


Locked Re: Problems with LayoutEditor

Vincent Filardo
 

Hi JMRI users And Developers' .

I am Vince Filardo and have just updated to JMRI version 4.7.5 on Windows 7.
Installation went well no problem setup preference and startup Panel
Editor's LayoutEditor all OK. In edited mode I am trying to duplicate Bob
Bucklew JMRI Tutorial Panel, first I created Turnout, and Sensors Tables,
than layout 5 Turnouts as showing in the Tutorial and save the Panel. No
track lines has been drown yet and no block table has been created, but open
the saved file with an xml Editor shows Blocks Name that don't existed (IB1
for System Name, Block 1 for User Name) where this blocks came from? Is this
program configure blocks automatically? I thought I knew Layout Editor
pretty good but with all the modification updates I guess am behind the A
ball and need to catchup. Can anyone enlighten me for what I don't know with
this Layout Editor? In previous thread I spoke about 2 Turnout boxes (Name
and additional Name) hope someone respond.

Thank You in advance.



Vince

Hope somebody is familiar with JPT by B Bucklew.


Locked Re: Test release 4.7.6 available

 

Single CV Programmer won't open. I stepped down to 4.7.5, same issue. I then stepped down to 4.7.4, it works. So something is broken for this between 4.7.4 and 4.7.5.

Alain LM

Bob Jacobsen rgj1927@... [jmriusers] a ???crit le 17/06/2017 ??? 12:24 :


Test version 4.7.6 of JMRI/DecoderPro is available for download.
<...>


Locked Re: Getting last signal prior to fiddle yard to automatically cycle back to green (BR 4 Aspect)

 

Hi Dave, thanks for the reply

yes using signal mast logic and have set a virtual signal at the end of the block controlling the previous signal.


When the virtual mast clears won't that just set the preceding mast to clear, rather than cycling through yellow and double yellow ?


Steve


Locked Re: Ops: Timetable, wait time

 

Thanks, Dan. That's what I figured about the car wait counts.

Will get the latest version and retry re timetable.

Jon
Nicasio Northern Rwy


Locked Re: Getting last signal prior to fiddle yard to automatically cycle back to green (BR 4 Aspect)

 

Steve,

The solution depends on how you are controlling your signals.

If you are using signal mast logic, then you use a virtual mast that is always Clear (green) set as the target mast for your yard entrance mast with the entrance block being the controlling factor. When the block is occupied, the entrance mast displays Stop, but Clear when the bock is not occupied.

Dave Sand


Locked Re: Scripts used in Routes

 

Hi Ron

All my routes are built using the route table. They operate and set various turnouts. I have about 12 routes available

Select main menu, select tables, then routes

These are saved within your own User area of JMRI

These can also be displayed on Wthrottle and engine driver

On 18 Jun 2017, at 05:29, roncyn2@... [jmriusers] <jmriusers@...> wrote:

If i were to create a script in Word would it work in Decoder pro, in Routes and were should I save it to to be able to access in the script tab menu in routes . I guess what I am asking what folder in JMRI do you save work in to access it in other areas of Panel pro or decoder pro ?


The sample script can be changed to help with my creating scripts but I can not save the changes anywhere so that I could use them in JMRI

[Non-text portions of this message have been removed]


Locked Re: Audio and Scripts

 

The custom audio files and scripts should be saved at your "User Files Location". Selecting "Help >> Locations" will show you the JMRI locations. If you click on the "Open User Files Location" button, the "File Manager" will open at this location. Actually, this location should be used for all custom items, such as icons, etc. This location is not affected when you install new versions of JMRI.

I create a scripts directory, but that is not required.

I am not sure what you mean by the "script tab" in routes. The middle section of the routes screen has a "Play Sound" section and a "Run Script" section. If you click on the button (...) next to each, a file open box is displayed. When you have a finished navigating to the correct location, click on "Open". The box left of the button will be filled in.

Dave Sand


Locked Re: Problem with leading spaces in a sensor "username".

 

Marshall,

I could be wrong but if JMRI normalized the name when the panel started, the panel should have worked the same. All you would need to do is save the panel to retain the change.

A developer may correct me or expand on it.

Peter


Locked Problem with leading spaces in a sensor "username".

 

I noticed the following message in the console log and went to remove the ¡°leading¡± space but was unable to do so.

2017-06-18 08:57:57,856 util.Log4JUtil INFO - * JMRI log ** [main]
2017-06-18 08:57:57,950 util.Log4JUtil INFO - This log is appended to file: C:&#92;Users&#92;Marshall&#92;JMRI&#92;log&#92;messages.log [main]
2017-06-18 08:57:57,950 util.Log4JUtil INFO - This log is stored in file: C:&#92;Users&#92;Marshall&#92;JMRI&#92;log&#92;session.log [main]
2017-06-18 08:57:57,965 apps.Apps INFO - PanelPro version 4.7.6+R570b2bc starts under Java 1.8.0_131 on Windows 7 x86 v6.1 at Sun Jun 18 08:57:57 GMT-07:00 2017 [main]
2017-06-18 08:58:10,586 profile.ProfileManagerDialog INFO - Automatically starting with profile SMRHSno_panel_loading.3cf92188 after timeout. [AWT-EventQueue-0]
2017-06-18 08:58:10,679 apps.Apps INFO - Starting with profile SMRHSno_panel_loading.3cf92188 [main]
2017-06-18 08:58:11,522 node.NodeIdentity INFO - Using jmri-4494FCE7B905-3cf92188 as the JMRI Node identity [main]
2017-06-18 08:58:12,052 simulator.SimulatorAdapter INFO - NCE Simulator Started [Nce Simulator]
2017-06-18 08:58:12,083 nce.NceConnectionStatus INFO - NCE EPROM revision = 6.2.1 [AWT-EventQueue-0]
2017-06-18 08:58:14,829 hexfile.LnHexFilePort INFO - LocoNet Simulator Started [Thread-12]
2017-06-18 08:58:19,478 util.FileUtilSupport INFO - File path program: is C:&#92;Program Files&#92;JMRI&#92; [main]
2017-06-18 08:58:19,493 util.FileUtilSupport INFO - File path preference: is C:&#92;Users&#92;Public&#92;JMRI&#92; [main]
2017-06-18 08:58:19,493 util.FileUtilSupport INFO - File path profile: is C:&#92;Users&#92;Marshall&#92;JMRI&#92;SMRHSno_panel_loading&#92; [main]
2017-06-18 08:58:19,493 util.FileUtilSupport INFO - File path settings: is C:&#92;Users&#92;Marshall&#92;JMRI&#92; [main]
2017-06-18 08:58:19,493 util.FileUtilSupport INFO - File path home: is C:&#92;Users&#92;Marshall&#92; [main]
2017-06-18 08:58:19,493 util.FileUtilSupport INFO - File path scripts: is C:&#92;Users&#92;Public&#92;JMRI&#92;MyScripts&#92; [main]
2017-06-18 08:58:42,519 xml.AbstractNamedBeanManagerConfigXML WARN - Requested user name " Initialize Town Turnouts" for system name "ISTOWNTO" was normalized to "Initialize Town Turnouts" [AWT-EventQueue-0]

Because JMRI ¡°normalized¡± the username by removing the leading space in memory, I was unable to correct this by editing the sensor in the sensor table. I fixed it by using a text editor.

How would you remove leading ¡°space(s)¡± using JMRI tools? And are leading spaces not allowed in usernames and system names?
This username ¡° Initialize Town Turnouts¡± has been in this panel file for about 3 years and this is the first time I have seen this warning message.

Marshall

[Non-text portions of this message have been removed]


Locked Re: What protocol is easier for turnout/signals via arduino

 

Hi Manu,

An overview to NMRA LCC ( = OpenLCB) can be found at , and a video (1h15) at .

The specifications for OpenLCB can be found at . These are hard to digest and IMHO an awful specification to program from.

There's a youtube video posted by Balacz Racz (3h25) ( ) which helped me understand what was going on.

So far I have developed a fake OpenLCB Node, although it is not yet complete. It is fake because due to the limitations of the Arduino nano (1K EEPROM and 2K RAM) I won't be able to implement the configuration elements. I have an external programmer which will write to the EEPROM, but will also require some intelligence in front of the screen.

I'll package and post my code on github in the next couple of days.

What works:
Identification of the node to the LCB network, including JMRI: Assignment of an alias and SNI.
Passing messages to/from JMRI and the node.
Writing configuration to EEPROM and reading it back.


Coded but not yet tested (and open to change)
Processing event messages
Writing configuration to EEPROM and reading it back.


The node is generic as it will set arduino pins depending on the messages received or conversely sending messages on the change of pin status. My experience shows the node will be able to handle up to 20 messages and use 10 pins on the nano. What the messages "mean" is up to the configurer.
For example, to operate a point/turnout/switch (or whatever you call it) will take two messages: one to throw the point, the second to close it. The node will turn a selected pin on the nano on or off. For a point, I'll have an ATTiny85 which will actually control the movement to avoid having the OpenLCB node do this.

Regards
Otto


Locked Re: Why the choice of internal layouts and Loconet?

 

Internal are things that only JMRI knows about. It can be something that is set like an Internal sensor that indicates something has happened or could be that it being set causes something else to happen. A good example would be setting a route when the Internal sensor goes set, That sensor could be on your panel and be set by the computer operator. An External sensor (anything not an Internal sensor) goes set or cleared as a result of input from a Stationary Decoder.


Hope that helps.
Walt


Locked Why the choice of internal layouts and Loconet?

 

What is the difference between internal and loconet?


Locked Getting last signal prior to fiddle yard to automatically cycle back to green (BR 4 Aspect)

 

Hi All


I know this has been asked before but i can't find a definitive answer so sorry for asking again !


Im using block detection and BR 4 aspect signalling and I want the last signal on the layout prior to entering the fiddle yard to automatically cycle back to green, once the block section beyond the signal has cleared.


How can I achieve this in JMRI ?


Many thanks


Steve


Locked NEW MEMBER

 

I just joined the JMRIusers group to interact with more model railroaders. I design and build all the DCC electronics on our Sun City layout in Georgetown Texas. It now consists of 22 modules interconnected to form a 12ft x 32ft rectangular layout with yards, staging area, crossovers, turntable, and industries. please allow me to join the Yahoo group.
Thanks
Dennis Searles