¿ªÔÆÌåÓý

Date

Locked Re: C/MRI serial connection issues

 

I'm heading out the door so not of any further help... Jumping in on this thread...

It looks like a loop back test is needed to see where in the chain that the data is not getting back... if the node is in the init blink mode it reads and the computer and 485 is sending.

I drop all nodes out and loop the in/out +/+ -/- from the 485 converter use a tty program to send and receive from the host computer. If no loop I drop back to the USB (or raw) 232 to loop.

If specific wiring or other help is needed I think someone might be able to jump in.

Jim Albanowski


Locked Re: Icons cut in half in JMRI 4.13.4

 

¿ªÔÆÌåÓý

Dan, PJ, Bob j?

I have loaded this morning JMRI 4.13.5 and the icon issue has been resolved and my control panel has icons return to normal?

Many thanks to all this involved in resolving the issue and the continued development of JMRI.?


Cheers?

Peter?


On 4 Nov 2018, at 09:31, Peter Riley <peterriley2@...> wrote:

Dan

?

Just to confirm there is 2 individuals that have identified this issue. PJ has already confirmed the following and I will provide the same information except the icons are different for me

?

?

I'm just using the icons that come with JMRI.
Editor -? just panel editor.
Folder - icons ¨C track ¨C Line - TrackSeg

icon name ¨C Scale 1:1 block-black

Folder - icons ¨C track ¨C Line -LeftTO or RightTO

?

Scale 1:1 os-lefthand-west-thrown-red

Scale 1:1 os-lefthand-west-error-black

Scale 1:1 os-lefthand-west-unkown-black

?

No it does not happen with JMRI 4.13.3 or before.

PJ

?

?

Sent from for Windows 10

?

From: Dan Boudreau
Sent: 04 November 2018 03:59
To: [email protected]
Subject: Re: [jmriusers] Icons cut in half in JMRI 4.13.4

?

I was able to reproduce.? Made a bug report for you.

Dan

?


Locked Re: DecoderPro (4.12) - IB-COM - SwitchPilot Servo V2.0 (ESU) ¨C Unable to change Decoder Address (CV 1)

 

Hi Dave !
following your answer ,
1. Change the Baud rate to 115200?
2. Create a new roster entry based on JMRI ESU roster (switchpilot Servo v 2.0)
3. Change the decoder address to 39 and [Write full sheet] - unfortunately same problem
? ? - err. msg: Programmer error: No acknowledge from locomotive (308)

??enclosed- log file
-----
2018-11-23 10:46:45,164 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - * JMRI log ** [main]
2018-11-23 10:46:45,237 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is appended to file: C:\Users\itzik\JMRI\log\messages.log [main]
2018-11-23 10:46:45,238 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is stored in file: C:\Users\itzik\JMRI\log\session.log [main]
2018-11-23 10:46:45,257 apps.AppsBase? ? ? ? ? ? ? ? ? ? ? ? ?INFO? - DecoderPro version 4.12+Rb6a9bb1 starts under Java 1.8.0_191 on Windows 7 x86 v6.1 at Fri Nov 23 10:46:45 IST 2018 [main]
2018-11-23 10:46:57,004 gui3.Apps3? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO? - Starting with profile Workspace_01.3f384938 [main]
2018-11-23 10:46:58,267 node.NodeIdentity? ? ? ? ? ? ? ? ? ? ?INFO? - Using jmri-aTaZJdR6WhNiaaac_3d-I5-3f384938 as the JMRI Node identity [AWT-EventQueue-0]
2018-11-23 10:46:59,207 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "LocoNet" [main]
2018-11-23 10:47:00,936 uhlenbrock.UhlenbrockAdapter? ? ? ? ? INFO? - Uhlenbrock adapter set no flow control, mode=0 RTSCTS_OUT=2 RTSCTS_IN=1 [main]
2018-11-23 10:47:00,945 locobuffer.LocoBufferAdapter? ? ? ? ? INFO? - COM4 port opened at 115200 baud with DTR: true RTS: true DSR: false CTS: false? CD: false [main]
2018-11-23 10:47:04,235 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path program: is D:\Program Files (x86)\JMRI\ [main]
2018-11-23 10:47:04,236 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path preference: is D:\Users\Itzik\Model Railroad\JMRI\Workspace_01\ [main]
2018-11-23 10:47:04,238 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path profile: is D:\Users\Itzik\Model Railroad\JMRI\Workspace_01\ [main]
2018-11-23 10:47:04,239 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path settings: is C:\Users\itzik\JMRI\ [main]
2018-11-23 10:47:04,240 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path home: is C:\Users\itzik\ [main]
2018-11-23 10:47:04,242 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path scripts: is D:\Program Files (x86)\JMRI\jython\ [main]
2018-11-23 10:48:58,804 mentation.VerifyWriteProgrammerFacade INFO? - programmer already in use by CvValue _num=35 _cvName= [AWT-EventQueue-0]
2018-11-23 10:48:58,815 symbolicprog.CvValue? ? ? ? ? ? ? ? ? WARN? - Exception during write CV '36' to '8' [AWT-EventQueue-0]
jmri.ProgrammerException: programmer in use
at jmri.implementation.VerifyWriteProgrammerFacade.useProgrammer(VerifyWriteProgrammerFacade.java:97)
at jmri.implementation.VerifyWriteProgrammerFacade.writeCV(VerifyWriteProgrammerFacade.java:60)
at jmri.jmrit.symbolicprog.CvValue.write(CvValue.java:417)
at jmri.jmrit.symbolicprog.SplitVariableValue.propertyChange(SplitVariableValue.java:461)
at java.beans.PropertyChangeSupport.fire(Unknown Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at jmri.jmrit.symbolicprog.CvValue.notifyBusyChange(CvValue.java:209)
at jmri.jmrit.symbolicprog.CvValue.errorTimeout(CvValue.java:505)
at jmri.jmrit.symbolicprog.CvValue$1.actionPerformed(CvValue.java:490)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$DoPostEvent.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(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.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)


------

Hope the info will clarify the problem

Itzik


Locked Re: DecoderPro (4.12) - IB-COM - SwitchPilot Servo V2.0 (ESU) ¨C Unable to change Decoder Address (CV 1)

 

Hi Dave !
Thank's for your answer.
enclose the copy&paste message
------------
2018-11-23 08:59:46,927 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - * JMRI log ** [main]
2018-11-23 08:59:47,128 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is appended to file: C:\Users\itzik\JMRI\log\messages.log [main]
2018-11-23 08:59:47,131 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is stored in file: C:\Users\itzik\JMRI\log\session.log [main]
2018-11-23 08:59:47,153 apps.AppsBase? ? ? ? ? ? ? ? ? ? ? ? ?INFO? - DecoderPro version 4.12+Rb6a9bb1 starts under Java 1.8.0_191 on Windows 7 x86 v6.1 at Fri Nov 23 08:59:47 IST 2018 [main]
2018-11-23 08:59:58,093 gui3.Apps3? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO? - Starting with profile Workspace_01.3f384938 [main]
2018-11-23 08:59:59,997 node.NodeIdentity? ? ? ? ? ? ? ? ? ? ?INFO? - Using jmri-aTaZJdR6WhNiaaac_3d-I5-3f384938 as the JMRI Node identity [AWT-EventQueue-0]
2018-11-23 09:00:04,426 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "LocoNet" [main]
2018-11-23 09:00:08,366 uhlenbrock.UhlenbrockAdapter? ? ? ? ? INFO? - Uhlenbrock adapter set no flow control, mode=0 RTSCTS_OUT=2 RTSCTS_IN=1 [main]
2018-11-23 09:00:08,505 locobuffer.LocoBufferAdapter? ? ? ? ? INFO? - COM4 port opened at 19200 baud with DTR: true RTS: true DSR: false CTS: false? CD: false [main]
2018-11-23 09:00:16,003 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path program: is D:\Program Files (x86)\JMRI\ [main]
2018-11-23 09:00:16,005 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path preference: is D:\Users\Itzik\Model Railroad\JMRI\Workspace_01\ [main]
2018-11-23 09:00:16,006 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path profile: is D:\Users\Itzik\Model Railroad\JMRI\Workspace_01\ [main]
2018-11-23 09:00:16,008 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path settings: is C:\Users\itzik\JMRI\ [main]
2018-11-23 09:00:16,009 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path home: is C:\Users\itzik\ [main]
2018-11-23 09:00:16,010 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path scripts: is D:\Program Files (x86)\JMRI\jython\ [main]

-------
Itzik


Locked Re: Instance Manager

 

On Thu, Nov 22, 2018 at 07:43 PM, Bob Jacobsen wrote:
self.panel = jmri.InstanceManager.getDefault(jmri.ConfigureManager).findInstance(java.lang.Class.forName("jmri.jmrit.display.layoutEditor.LayoutEditor"),0)
Thanks Bob, that did the trick.? Thanks to all who answered.
Dave Sand, I love the humour.

Nom


Locked Test version 4.13.5 of JMRI/DecoderPro is available for download

 

¿ªÔÆÌåÓý

(The following was sent yesterday, but apparently didn¡¯t go through because my account at ?was bouncing; sorry for the delay)

Test version 4.13.5 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 December 2018.

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.9.6 or earlier, we strongly recommend that you first update to JMRI 4.12 and make sure that's running OK before updating to this test release. There have been a number of changes in serial port support, panel file format and configuration options since those earlier releases, and moving to the stable JMRI 4.12 release is a good way to work through any possible problems.
<>

If you use JMRI on Linux or Mac and are updating from JMRI 4.7.3 or earlier, there¡¯s a necessary migration step. (Not needed on Windows) Please see the JMRI 4.12 release note for details: <>

For more information on the issues, new features and bug fixes in 4.13.5 please see the release note:
<>

Note that JMRI is made available under the GNU General Public License. For more information, please see our copyright and licensing page.
<>

The download links, along with lots of other information which we hope you'll read, can be found on the release note page:
<>

Enjoy!

Bob
--
Bob Jacobsen
rgj1927@...




Locked Re: C/MRI serial connection issues

 

Table 6.3 in the C/MRI book (see also here?) will tell you what the flash codes mean.?

If what you're seeing is Mode 1, 1 second on, one second off, then JMRI _is_ able to write to the node (the node has seen the initialization), but JMRI is _not_ hearing back from the node. ?(Although in that case I would have expected you to see a quick flash on the yellow when JMRI sends the init and poll messages, and a flash on red when poll is sent)

In that case, look at wiring on the receive side: connectors, wire connections, etc. ?Could also be the transmit chip on the C/MRI board or the something wrong in the RS485 adapter.


Locked Re: Instance Manager

 

Replace that line with?

?self.panel = jmri.InstanceManager.getDefault(jmri.ConfigureManager).findInstance(java.lang.Class.forName("jmri.jmrit.display.layoutEditor.LayoutEditor"),0)
?
making sure to keep the same indentation. ?The change is from "configureManagerInstance()" to "getDefault(jmri.ConfigureManager)"

Bob


Locked Re: NCE light it as signal decoder

 

¿ªÔÆÌåÓý

That's why it's better to configure an NCE Simulator connection when away from your NCE hardware rather than using Infernal for definitions. The system prefix is the same, you don't have to change any definitions and you can easily swap either way.

Many (if not most) other systems also provide Simulator connections. That's what they are for.

--?
Dave in Australia

On 23 Nov 2018, at 11:13 AM, Michael Murphy <smurfmm@...> wrote:

Once these are in, is there a way to go in and change the hardware from internal to NCE? Or do I need to take out each mast and replace it with NCE? ?I know the light it decoder is only good for one head and I¡¯ll need to for each switch.


Locked Re: NCE light it as signal decoder

 

Michael,

When you use an end bumper for the end of track, you can assign a virtual signal mast using the right click context menu. You can then create the signal mast logic for the source mast. The virtual mast will default to the Stop aspect. I generally set the end bumper masts to display only in edit mode.

When I created EB 5, I selected "Double head absolute searchlight signal" for the mast type. When I added the mast to the appropriate block boundary for the cross-over, the double head mast icon was added to the panel.

Once you have an east bound destination signal mast on the upper main, select "Signal Mast Logic: EB 5" from the context menu. A dialog box with one route will appear. Click on Discover. If everything is configured correctly, a new entry will appear.

To switch a mast from virtual to NCE, create the same mast type but with no user name. JMRI will confirm that is what you want. When that is done, you right click the original mast and select Move. Select the NCE version of the mast and select OK. The name will moved to the NCE mast. Once your moves are done, save the panel and stop/start JMRI and verify that the signals still work.

Dave Sand

On Nov 22, 2018, at 6:13 PM, Michael Murphy <smurfmm@...> wrote:

Dave,

Thank You! This give me a huge jump. I was able to go into masts to see how you did the logic. This will come in very handy to do the other track and the bidirectional part. Is there a way to put a virtual signal at the ends? Also how did you get the 2 head signal icon for the crossover and how do I do the logic for the lower mast once I get the other main done?

Once these are in, is there a way to go in and change the hardware from internal to NCE? Or do I need to take out each mast and replace it with NCE? I know the light it decoder is only good for one head and I¡¯ll need to for each switch.

Thanks for all the help

Michael
On Nov 22, 2018, at 11:20 AM, Dave Sand <ds@...> wrote:

Michael,

I have uploaded a modified panel:

/g/jmriusers/files/ProblemsBeingWorkedOn/dsand/TEST%20LAYOUT%20DS.xml

The first issue is that the generated signal mast logic had no content. I enabled Use Layout Editor Paths, Use Turnout details and Use Block details and updated the signal mast logic.

For testing purposes, I added the occupancy sensor icons to the panel so that I simulate train movements.

I changed the block assignments for the cross-over. I use two blocks, one for the top two positions and one for the bottom two.

I created a double head mast for the cross-over lower left position and a couple more signal masts. The double head signal mast logic only does one route for now since there is not a target east bound signal mast on the upper main. The cross-over implies that you want bi-directional running on both mains. The requires a west and east mast at each block boundary for each main.

The Light-It hardware only supports a single head. For the double head masts you will need two Light-It devices. Since a signal mast only supports one address, you will need to create a lower head and an upper head for the two headed mast. The heads are defined as DCC Signal Decoder for Light-Its and the mast driver changes to ¡°Signal Head Controlled Mast¡± specifying the two heads. For consistency I recommend using the head/mast approach for all of the signals.


Dave Sand



On Nov 22, 2018, at 11:31 AM, Michael Murphy <smurfmm@...> wrote:

Dave,

Added the panel.xml file. It¡¯s under test layout. Please let me know if you found it. I really do appreciate all the help. I have one NCE light it wired in right now and 3 virtual masts. The masts will work correctly by clicking them in the screen. Signal names EB 1 is the NCE decoder and the rest are virtual.
I can¡¯t get them to detect the train in the blocks. Also in the file you¡¯ll see a crossover and a siding. Is there anything I need to do to signal those?

Thanks
Michael
On Nov 21, 2018, at 7:47 PM, Dave Sand <ds@...> wrote:

Michael,

You can upload your panel xml file to the group¡¯s ProblemsBeginWorkedOn folder.

Dave Sand


On Nov 21, 2018, at 9:04 PM, Michael Murphy <smurfmm@...> wrote:

Dave, so I created 4 signal masts to test out what you said. I can get them to change correctly by clicking them on the screen. How do I get them to work as the train moves through them? And how do I set up a crossover. I didn¡¯t do anything with signal heads, is that where I need to do the occupancy thing? Also is there a way I could send you my file so you could take a look?

It is really cool seeing them change on the screen, even though right now 3 are virtual and one real one

Michael
On Nov 20, 2018, at 10:25 PM, Dave Sand <ds@...> wrote:

Michael,

Since you defined a signal mast, you also need to create signal mast logic. Which signal system did you choose when you created the mast?

Sample with 4 masts with traffic moving left to right: ¡ªA ¡­¡­ ¡ªB ¡­¡­ ¡ªC ¡­¡­ ¡ªD ¡­¡­

A signal mast is placed at each block boundary. Signal mast logic is defined for each pair of masts. In this example that would be A-B, B-C and C-D.

When the train is in the block between A and B, A will show Stop, B, C, and D will probably show Clear depending on other blocks.

When the train is in the block between B and C, B will show Stop and A will show Approach since the block between A and B is now empty but B is showing Stop.

When the train moves to the block between C and D, the changes cascade back towards A as each previous mast is updated. C changes which causes a change to B which causes a change to A.

The signal mast logic is created by drawing the track diagram on a Layout Editor panel, attaching the signal masts to the block boundaries on the panel and then generating the signal mast logic. The first step is the track diagram with blocks assigned to the turnouts and track segments. Use the Layout Editor Tools >> Check menu to verify that the drawing is consistent.

For bidirectional running you will have another set of masts for traffic moving right to left, each with their own signal mast logic.


Dave Sand



On Nov 20, 2018, at 6:42 PM, Michael Murphy <smurfmm@...> wrote:

So I downloaded 4.13. I was able to add the NCE light it as a signal mast and can change its colors from the signal mast table now. Now how do I get on my panel to where it will detect the occupied blocks in front of it and go through the sequence as the train moves more blocks away. Such as red to yellow to flashing yellow to green. I¡¯ve tried playing around with it but can¡¯t figure it out. Not ready for it right now but is there something I will have to do later for bidirectional running?

Thanks for all your help on this.


On Nov 19, 2018, at 9:57 PM, Michael Murphy <smurfmm@...> wrote:

Dave,

Will download 4.13 tomorrow. I did download tonight the 4.12 and it messed some stuff up. Like on my panel, as the train moved the blocks didn¡¯t show it unless I clicked somewhere on the screen, and didn¡¯t show any occupancy of the crossover at all.

Will let you know how it goes. Gonna make up signals for the other 2 light it decoders I have tonight so I¡¯ll be able to put them in tomorrow.


On Nov 19, 2018, at 9:01 PM, Dave Heap <dgheap@...> wrote:

I wouldn't be trying anything less than the latest test version. I've added a lot of support for Light-It over the past few production releases. But the latest V4.13.x test release is certainly more stable than V4.12.

When you add a "Signal Head", select "DCC Signal Decoder", your System type (NCE in your case since you have a Power Pro). The Offset Address box is beside Hardware Address.

If you need to set up a Signal Mast (more than 3 LEDs on the mast controlled by more than one Light-It), create Signal Heads as above for each Light-It and use the "Signal Head Controlled Mast" option to add your already-defined Signal Heads. But that's getting out of my area of expertise...

--
Dave in Australia


On 20 Nov 2018, at 1:33 PM, Michael Murphy <smurfmm@...> wrote:

Do you need the latest version of JMRI for the offset address box? I haven¡¯t been able to find it.


On Nov 17, 2018, at 11:05 AM, Dave Heap <dgheap@...> wrote:

Adding 4 will work, but obviously you can't access signal addresses 1-4, mor those at the top end.

Building your signal mast by using already-defined DCC Signal Heads (with the offset in) is a better approach.







Locked Re: Throttle for Microsoft Phone?

 

See the info at for using any browser.

Several of our club members have used this in the past, but eventually migrated to smartphone or tablet using WiThrottle or EngineDriver. If they told me why, that story has slipped off my memory.

Cliff in Baja SoCal


Locked Re: NCE light it as signal decoder

 

Dave,

Thank You! This give me a huge jump. I was able to go into masts to see how you did the logic. This will come in very handy to do the other track and the bidirectional part. Is there a way to put a virtual signal at the ends? Also how did you get the 2 head signal icon for the crossover and how do I do the logic for the lower mast once I get the other main done?

Once these are in, is there a way to go in and change the hardware from internal to NCE? Or do I need to take out each mast and replace it with NCE? I know the light it decoder is only good for one head and I¡¯ll need to for each switch.

Thanks for all the help

Michael

On Nov 22, 2018, at 11:20 AM, Dave Sand <ds@...> wrote:

Michael,

I have uploaded a modified panel:

/g/jmriusers/files/ProblemsBeingWorkedOn/dsand/TEST%20LAYOUT%20DS.xml

The first issue is that the generated signal mast logic had no content. I enabled Use Layout Editor Paths, Use Turnout details and Use Block details and updated the signal mast logic.

For testing purposes, I added the occupancy sensor icons to the panel so that I simulate train movements.

I changed the block assignments for the cross-over. I use two blocks, one for the top two positions and one for the bottom two.

I created a double head mast for the cross-over lower left position and a couple more signal masts. The double head signal mast logic only does one route for now since there is not a target east bound signal mast on the upper main. The cross-over implies that you want bi-directional running on both mains. The requires a west and east mast at each block boundary for each main.

The Light-It hardware only supports a single head. For the double head masts you will need two Light-It devices. Since a signal mast only supports one address, you will need to create a lower head and an upper head for the two headed mast. The heads are defined as DCC Signal Decoder for Light-Its and the mast driver changes to ¡°Signal Head Controlled Mast¡± specifying the two heads. For consistency I recommend using the head/mast approach for all of the signals.


Dave Sand



On Nov 22, 2018, at 11:31 AM, Michael Murphy <smurfmm@...> wrote:

Dave,

Added the panel.xml file. It¡¯s under test layout. Please let me know if you found it. I really do appreciate all the help. I have one NCE light it wired in right now and 3 virtual masts. The masts will work correctly by clicking them in the screen. Signal names EB 1 is the NCE decoder and the rest are virtual.
I can¡¯t get them to detect the train in the blocks. Also in the file you¡¯ll see a crossover and a siding. Is there anything I need to do to signal those?

Thanks
Michael
On Nov 21, 2018, at 7:47 PM, Dave Sand <ds@...> wrote:

Michael,

You can upload your panel xml file to the group¡¯s ProblemsBeginWorkedOn folder.

Dave Sand


On Nov 21, 2018, at 9:04 PM, Michael Murphy <smurfmm@...> wrote:

Dave, so I created 4 signal masts to test out what you said. I can get them to change correctly by clicking them on the screen. How do I get them to work as the train moves through them? And how do I set up a crossover. I didn¡¯t do anything with signal heads, is that where I need to do the occupancy thing? Also is there a way I could send you my file so you could take a look?

It is really cool seeing them change on the screen, even though right now 3 are virtual and one real one

Michael
On Nov 20, 2018, at 10:25 PM, Dave Sand <ds@...> wrote:

Michael,

Since you defined a signal mast, you also need to create signal mast logic. Which signal system did you choose when you created the mast?

Sample with 4 masts with traffic moving left to right: ¡ªA ¡­¡­ ¡ªB ¡­¡­ ¡ªC ¡­¡­ ¡ªD ¡­¡­

A signal mast is placed at each block boundary. Signal mast logic is defined for each pair of masts. In this example that would be A-B, B-C and C-D.

When the train is in the block between A and B, A will show Stop, B, C, and D will probably show Clear depending on other blocks.

When the train is in the block between B and C, B will show Stop and A will show Approach since the block between A and B is now empty but B is showing Stop.

When the train moves to the block between C and D, the changes cascade back towards A as each previous mast is updated. C changes which causes a change to B which causes a change to A.

The signal mast logic is created by drawing the track diagram on a Layout Editor panel, attaching the signal masts to the block boundaries on the panel and then generating the signal mast logic. The first step is the track diagram with blocks assigned to the turnouts and track segments. Use the Layout Editor Tools >> Check menu to verify that the drawing is consistent.

For bidirectional running you will have another set of masts for traffic moving right to left, each with their own signal mast logic.


Dave Sand



On Nov 20, 2018, at 6:42 PM, Michael Murphy <smurfmm@...> wrote:

So I downloaded 4.13. I was able to add the NCE light it as a signal mast and can change its colors from the signal mast table now. Now how do I get on my panel to where it will detect the occupied blocks in front of it and go through the sequence as the train moves more blocks away. Such as red to yellow to flashing yellow to green. I¡¯ve tried playing around with it but can¡¯t figure it out. Not ready for it right now but is there something I will have to do later for bidirectional running?

Thanks for all your help on this.


On Nov 19, 2018, at 9:57 PM, Michael Murphy <smurfmm@...> wrote:

Dave,

Will download 4.13 tomorrow. I did download tonight the 4.12 and it messed some stuff up. Like on my panel, as the train moved the blocks didn¡¯t show it unless I clicked somewhere on the screen, and didn¡¯t show any occupancy of the crossover at all.

Will let you know how it goes. Gonna make up signals for the other 2 light it decoders I have tonight so I¡¯ll be able to put them in tomorrow.


On Nov 19, 2018, at 9:01 PM, Dave Heap <dgheap@...> wrote:

I wouldn't be trying anything less than the latest test version. I've added a lot of support for Light-It over the past few production releases. But the latest V4.13.x test release is certainly more stable than V4.12.

When you add a "Signal Head", select "DCC Signal Decoder", your System type (NCE in your case since you have a Power Pro). The Offset Address box is beside Hardware Address.

If you need to set up a Signal Mast (more than 3 LEDs on the mast controlled by more than one Light-It), create Signal Heads as above for each Light-It and use the "Signal Head Controlled Mast" option to add your already-defined Signal Heads. But that's getting out of my area of expertise...

--
Dave in Australia


On 20 Nov 2018, at 1:33 PM, Michael Murphy <smurfmm@...> wrote:

Do you need the latest version of JMRI for the offset address box? I haven¡¯t been able to find it.


On Nov 17, 2018, at 11:05 AM, Dave Heap <dgheap@...> wrote:

Adding 4 will work, but obviously you can't access signal addresses 1-4, mor those at the top end.

Building your signal mast by using already-defined DCC Signal Heads (with the offset in) is a better approach.







Locked Re: Throttle for Microsoft Phone?

 

¿ªÔÆÌåÓý

Not an app as such (as far as I am aware).

But can create a web server throttle using the jyson stuff in JMRI and the drive using the phone browser.

Nigel


From: [email protected] <[email protected]> on behalf of Peter PENNYCUICK <peter.pennycuick@...>
Sent: Thursday, November 22, 2018 10:50:19 AM
To: [email protected]
Subject: [jmriusers] Throttle for Microsoft Phone?
?
A friend is wanting to use an old Microsoft phone with Withrottle.

Is there an app available for that?

Regards
Peter Pennycuick
0407916570




Locked Re: DecoderPro (4.12) - IB-COM - SwitchPilot Servo V2.0 (ESU) ¨C Unable to change Decoder Address (CV 1)

 

¿ªÔÆÌåÓý

1) Don't use Single CV programmer. The decoder address for the?SwitchPilot Servo V2.0 is not simply stored in CV1, it's in a more complex combination of CVs 1 & 9. Use the provided?SwitchPilot Servo V2.0 available in JMRI. Using single CV programmer when there is a definition available is asking for trouble. (I have?SwitchPilot Servo V2.0 decoders and I wrote the definitions and also the extra JMRI code needed for programming these properly on the main.)

2) Your error messages indicate a problem with your?IB-COM connection to JMRI. It will help us hugely if you go to the Help->System Console menu item, click Copy to Clipboard and paste that into message for us all to see.
Alternatively, go to the Help->Locations menu item, click on Open Log Files Location and upload the session.log file to a folder with your name that ?you create in the Files area of this list and in the Problems Being Worked On folder already there.

--?
Dave in Australia


On 23 Nov 2018, at 6:15 AM, Itzik Teboul <itzik.teboul@...> wrote:

Just receive my new ESU-SwitchPilot Servo V2.0 (Servo decoder) and trying to config /change the decoder address (cv 1) on programming Track using the last version of DecoderPro - 4.12
¨C unfortunately with no success !!

?

When trying to read / write CV 1 using? Actions > Single CV Programmer

?[Read CV / Write CV ] - ?receive Error msg: Timeout talking command station (306)

try to solve the problem by Changing :
a. the Baud rate from 19200 to 115200? - Same error
b. the Program mode from Page to Direct Byte - Same error

any suggestion how to solve the problem ??


Locked Re: Instance Manager

 

Nom,

This will return a list of layout editor panels:

lePanels = jmri.InstanceManager.getDefault(jmri.jmrit.display.PanelMenu).getLayoutEditorPanelList()
print "First panel: {}".format(lePanels[0])

Dave Sand

On Nov 21, 2018, at 9:07 PM, Nom dInet via Groups.Io <nomdinet@...> wrote:

Upgrading from 4.4 to 4.10 breaks the script line:
self.panel = jmri.InstanceManager.configureManagerInstance().findInstance(java.lang.Class.forName("jmri.jmrit.display.layoutEditor.LayoutEditor"),0)

with
AttributeError: type object 'jmri.InstanceManager' has no attribute 'configureManagerInstance'

Is there a workaround please?

Nom


Locked DecoderPro (4.12) - IB-COM - SwitchPilot Servo V2.0 (ESU) ¨C Unable to change Decoder Address (CV 1)

 

Just receive my new ESU-SwitchPilot Servo V2.0 (Servo decoder) and trying to config /change the decoder address (cv 1) on programming Track using the last version of DecoderPro - 4.12
¨C unfortunately with no success !!

?

When trying to read / write CV 1 using? Actions > Single CV Programmer

?[Read CV / Write CV ] - ?receive Error msg: Timeout talking command station (306)

try to solve the problem by Changing :
a. the Baud rate from 19200 to 115200? - Same error
b. the Program mode from Page to Direct Byte - Same error

any suggestion how to solve the problem ??

--------

Configuration:? ? ? ? ?DecoderPro (Ver.? 4.12)

Command Station: ?Uhelnbrock ?IB-COM ?(USB Connection)

Driver:? ? ? ? ? ? ? ? ? ? ?CP210x USB to UART Bridge [ver. ?6.7.5.1893]

Itzik t.


Locked Re: Engine Driver and JMRI fail when stealing an engine

 

Stealing on a throttle, when the system is LocoNet has known problems. It is
being worked on, but may take some more time.

-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.com
www.syracusemodelrr.org


Locked Re: Engine Driver and JMRI fail when stealing an engine

 

I have the same problem.
Regards
Bj?rn


Locked Run JMRI & JAVA on Chromebook

Bob Potter
 

The subject is my question. Is it possible to run JMRI and JAVA on a Chromebook using that OS?
I think the answer may be not but I'm hoping that maybe with some sort of software interface it could work.
Thanks,
Bob


Locked Re: NCE light it as signal decoder

 

Michael,

I have uploaded a modified panel:

/g/jmriusers/files/ProblemsBeingWorkedOn/dsand/TEST%20LAYOUT%20DS.xml

The first issue is that the generated signal mast logic had no content. I enabled Use Layout Editor Paths, Use Turnout details and Use Block details and updated the signal mast logic.

For testing purposes, I added the occupancy sensor icons to the panel so that I simulate train movements.

I changed the block assignments for the cross-over. I use two blocks, one for the top two positions and one for the bottom two.

I created a double head mast for the cross-over lower left position and a couple more signal masts. The double head signal mast logic only does one route for now since there is not a target east bound signal mast on the upper main. The cross-over implies that you want bi-directional running on both mains. The requires a west and east mast at each block boundary for each main.

The Light-It hardware only supports a single head. For the double head masts you will need two Light-It devices. Since a signal mast only supports one address, you will need to create a lower head and an upper head for the two headed mast. The heads are defined as DCC Signal Decoder for Light-Its and the mast driver changes to ¡°Signal Head Controlled Mast¡± specifying the two heads. For consistency I recommend using the head/mast approach for all of the signals.


Dave Sand

On Nov 22, 2018, at 11:31 AM, Michael Murphy <smurfmm@...> wrote:

Dave,

Added the panel.xml file. It¡¯s under test layout. Please let me know if you found it. I really do appreciate all the help. I have one NCE light it wired in right now and 3 virtual masts. The masts will work correctly by clicking them in the screen. Signal names EB 1 is the NCE decoder and the rest are virtual.
I can¡¯t get them to detect the train in the blocks. Also in the file you¡¯ll see a crossover and a siding. Is there anything I need to do to signal those?

Thanks
Michael
On Nov 21, 2018, at 7:47 PM, Dave Sand <ds@...> wrote:

Michael,

You can upload your panel xml file to the group¡¯s ProblemsBeginWorkedOn folder.

Dave Sand


On Nov 21, 2018, at 9:04 PM, Michael Murphy <smurfmm@...> wrote:

Dave, so I created 4 signal masts to test out what you said. I can get them to change correctly by clicking them on the screen. How do I get them to work as the train moves through them? And how do I set up a crossover. I didn¡¯t do anything with signal heads, is that where I need to do the occupancy thing? Also is there a way I could send you my file so you could take a look?

It is really cool seeing them change on the screen, even though right now 3 are virtual and one real one

Michael
On Nov 20, 2018, at 10:25 PM, Dave Sand <ds@...> wrote:

Michael,

Since you defined a signal mast, you also need to create signal mast logic. Which signal system did you choose when you created the mast?

Sample with 4 masts with traffic moving left to right: ¡ªA ¡­¡­ ¡ªB ¡­¡­ ¡ªC ¡­¡­ ¡ªD ¡­¡­

A signal mast is placed at each block boundary. Signal mast logic is defined for each pair of masts. In this example that would be A-B, B-C and C-D.

When the train is in the block between A and B, A will show Stop, B, C, and D will probably show Clear depending on other blocks.

When the train is in the block between B and C, B will show Stop and A will show Approach since the block between A and B is now empty but B is showing Stop.

When the train moves to the block between C and D, the changes cascade back towards A as each previous mast is updated. C changes which causes a change to B which causes a change to A.

The signal mast logic is created by drawing the track diagram on a Layout Editor panel, attaching the signal masts to the block boundaries on the panel and then generating the signal mast logic. The first step is the track diagram with blocks assigned to the turnouts and track segments. Use the Layout Editor Tools >> Check menu to verify that the drawing is consistent.

For bidirectional running you will have another set of masts for traffic moving right to left, each with their own signal mast logic.


Dave Sand



On Nov 20, 2018, at 6:42 PM, Michael Murphy <smurfmm@...> wrote:

So I downloaded 4.13. I was able to add the NCE light it as a signal mast and can change its colors from the signal mast table now. Now how do I get on my panel to where it will detect the occupied blocks in front of it and go through the sequence as the train moves more blocks away. Such as red to yellow to flashing yellow to green. I¡¯ve tried playing around with it but can¡¯t figure it out. Not ready for it right now but is there something I will have to do later for bidirectional running?

Thanks for all your help on this.


On Nov 19, 2018, at 9:57 PM, Michael Murphy <smurfmm@...> wrote:

Dave,

Will download 4.13 tomorrow. I did download tonight the 4.12 and it messed some stuff up. Like on my panel, as the train moved the blocks didn¡¯t show it unless I clicked somewhere on the screen, and didn¡¯t show any occupancy of the crossover at all.

Will let you know how it goes. Gonna make up signals for the other 2 light it decoders I have tonight so I¡¯ll be able to put them in tomorrow.


On Nov 19, 2018, at 9:01 PM, Dave Heap <dgheap@...> wrote:

I wouldn't be trying anything less than the latest test version. I've added a lot of support for Light-It over the past few production releases. But the latest V4.13.x test release is certainly more stable than V4.12.

When you add a "Signal Head", select "DCC Signal Decoder", your System type (NCE in your case since you have a Power Pro). The Offset Address box is beside Hardware Address.

If you need to set up a Signal Mast (more than 3 LEDs on the mast controlled by more than one Light-It), create Signal Heads as above for each Light-It and use the "Signal Head Controlled Mast" option to add your already-defined Signal Heads. But that's getting out of my area of expertise...

--
Dave in Australia


On 20 Nov 2018, at 1:33 PM, Michael Murphy <smurfmm@...> wrote:

Do you need the latest version of JMRI for the offset address box? I haven¡¯t been able to find it.


On Nov 17, 2018, at 11:05 AM, Dave Heap <dgheap@...> wrote:

Adding 4 will work, but obviously you can't access signal addresses 1-4, mor those at the top end.

Building your signal mast by using already-defined DCC Signal Heads (with the offset in) is a better approach.