¿ªÔÆÌåÓý

Date

Locked Re: VSD CLASS 64 COASTING WEIRDNESS

 

On Wed, Sep 18, 2019 at 08:57 PM, Klaus Killinger wrote:
Am 18.09.2019 um 15:55 schrieb conrad:
Yes, I did check that F8 was correct.? Program manager shows it and, more importantly, the loco slows when F8 is activated.? I'll switch all to F3 as a test though.
I'll check it out.
I did a test on my layout today. HALF_SPEED works, but there is one thing to keep in mind. If the assigned function key is pressed while driving, the loco decoder changes its status immediately. VSD, on the other hand, changes its status only when the speed changes.

Klaus


Locked Re: NCE PowerPro Connection Issues

 

¿ªÔÆÌåÓý

Thanks, Everyone!? Here¡¯s where I am:

?

I am careful to plug the USB end of the adapter into the same USB port on my computer.

All Default radio buttons are set to ¡°NCE¡±

?

Upgraded to 4.17.4.? No change.

Removed the screws/nuts on either side of the serial port. No change.

?

Shorted the ¡°2¡± and ¡°3¡± pins on the serial adapter.? Didn¡¯t see the ¡°timeout flushes receive buffer: AA¡± message, but got a bunch of ¡°ERROR¡± messages (see log below).? Does that mean the adapter is bad, or do the error messages mean something else is wrong?

?

Thanks again for your help!

Jeff

?

Latest log file:

?

2019-09-19 13:03:51,413 util.Log4JUtil??????????????????????? INFO? - * JMRI log ** [main]

2019-09-19 13:03:51,425 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: C:\Users\Jeffrey Mutter\JMRI\log\messages.log [main]

2019-09-19 13:03:51,425 util.Log4JUtil??????????????????????? INFO? - This log is stored in file: C:\Users\Jeffrey Mutter\JMRI\log\session.log [main]

2019-09-19 13:03:51,433 apps.Apps? ???????????????????????????INFO? - PanelPro version 4.17.4+Rbf0d1af starts under Java 1.8.0_221 on Windows 10 x86 v10.0 at Thu Sep 19 13:03:51 EDT 2019 [main]

2019-09-19 13:03:53,738 apps.Apps???????????????????????????? INFO? - Starting with profile My_JMRI_Railroad.3ee7110a [main]

2019-09-19 13:03:54,060 node.NodeIdentity???????????????????? INFO? - Using 08fea99e-6b01-44fe-8e8b-1bbc47625414 as the JMRI storage identity for profile id 3ee7110a [AWT-EventQueue-0]

2019-09-19 13:03:54,191 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "NCE" [main]

2019-09-19 13:03:54,874 serialdriver.SerialDriverAdapter????? INFO? - NCE COM3 port opened at 9600 baud [main]

2019-09-19 13:03:55,260 util.FileUtilSupport????????????????? INFO? - File path program: is C:\Program Files (x86)\JMRI\ [main]

2019-09-19 13:03:55,261 util.FileUtilSupport????????????????? INFO? - File path preference: is C:\Users\Jeffrey Mutter\JMRI\My_JMRI_Railroad\ [main]

2019-09-19 13:03:55,261 util.FileUtilSupport????????????????? INFO? - File path profile: is C:\Users\Jeffrey Mutter\JMRI\My_JMRI_Railroad\ [main]

2019-09-19 13:03:55,262 util.FileUtilSupport????????????????? INFO? - File path settings: is C:\Users\Jeffrey Mutter\JMRI\ [main]

2019-09-19 13:03:55,262 util.FileUtilSupport????????????????? INFO? - File path home: is C:\Users\Jeffrey Mutter\ [main]

2019-09-19 13:03:55,262 util.FileUtilSupport????????????????? INFO? - File path scripts: is C:\Users\Jeffrey Mutter\JMRI\My_JMRI_Railroad\ [main]

2019-09-19 13:03:55,669 PanelPro.PanelPro???????????????????? INFO? - Main initialization done [main]

2019-09-19 13:04:04,986 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 0 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]

2019-09-19 13:04:05,090 nce.NceConnectionStatus?????????????? WARN? - Incorrect or no response from NCE command station [nce.NceTrafficController Transmit thread]

2019-09-19 13:04:05,096 jmrix.AbstractMRTrafficController???? ERROR - run: Exception: java.io.IOException in class jmri.jmrix.nce.NceTrafficController [nce.NceTrafficController Receive thread]

java.io.IOException

?????????????? at purejavacomm.PureJavaSerialPort$2.read(PureJavaSerialPort.java:887)

?????????????? at java.io.DataInputStream.read(Unknown Source)

?????????????? at jmri.jmrix.AbstractMRTrafficController.readByteProtected(AbstractMRTrafficController.java:946)

?????????????? at jmri.jmrix.AbstractMRTrafficController.loadChars(AbstractMRTrafficController.java:977)

?????????????? at jmri.jmrix.AbstractMRTrafficController.handleOneIncomingReply(AbstractMRTrafficController.java:1049)

?????????????? at jmri.jmrix.AbstractMRTrafficController.receiveLoop(AbstractMRTrafficController.java:870)

?????????????? at jmri.jmrix.AbstractMRTrafficController$2.run(AbstractMRTrafficController.java:794)

?????????????? at java.lang.Thread.run(Unknown Source)

2019-09-19 13:04:05,096 jmrix.AbstractMRTrafficController???? WARN? - sendMessage: Exception: In jmri.jmrix.nce.NceTrafficController port warn:? [nce.NceTrafficController Transmit thread]

java.io.IOException

?????????????? at purejavacomm.PureJavaSerialPort$1.write(PureJavaSerialPort.java:642)

?????????????? at java.io.DataOutputStream.write(Unknown Source)

?????????????? at java.io.FilterOutputStream.write(Unknown Source)

?????????????? at jmri.jmrix.AbstractMRTrafficController.forwardToPort(AbstractMRTrafficController.java:689)

?????????????? at jmri.jmrix.nce.NceTrafficController.forwardToPort(NceTrafficController.java:494)

?????????????? at jmri.jmrix.AbstractMRTrafficController.transmitLoop(AbstractMRTrafficController.java:474)

?????????????? at jmri.jmrix.AbstractMRTrafficController$1.run(AbstractMRTrafficController.java:770)

?????????????? at java.lang.Thread.run(Unknown Source)

2019-09-19 13:04:05,105 jmrix.AbstractMRTrafficController???? ERROR - Exit from rcv loop in class jmri.jmrix.nce.NceTrafficController [nce.NceTrafficController Receive thread]

2019-09-19 13:04:15,104 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 1 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]

2019-09-19 13:04:15,206 jmrix.AbstractMRTrafficController???? ERROR - Transmit thread terminated prematurely by: java.lang.NullPointerException [nce.NceTrafficController Transmit thread]

java.lang.NullPointerException

?????????????? at jmri.jmrix.AbstractMRTrafficController.getPortName(AbstractMRTrafficController.java:818)

?????????????? at jmri.jmrix.nce.NceConnectionStatus.nceEpromPoll(NceConnectionStatus.java:132)

?????????????? at jmri.jmrix.nce.NceTrafficController.pollMessage(NceTrafficController.java:430)

?????????????? at jmri.jmrix.AbstractMRTrafficController.transmitLoop(AbstractMRTrafficController.java:469)

?????????????? at jmri.jmrix.AbstractMRTrafficController$1.run(AbstractMRTrafficController.java:770)

?????????????? at java.lang.Thread.run(Unknown Source)

?

-- Jeff

?

From: [email protected] [mailto:[email protected]] On Behalf Of Marcus Ammann
Sent: Wednesday, September 18, 2019 10:33 PM
To: [email protected]
Subject: Re: [jmriusers] NCE PowerPro Connection Issues

?

Hi Jeff

?

You said the USB to Serial cable worked in your mate¡¯s computer, that confirms the Cable is okay.

From your Console Log, it shows COM 3.

Make sure you are using the SAME USB Port on your computer each time.

?

With Decoder Pro showing the Roster page:

Select the Edit Tab, then

Select the Preferences Tab, then

Select Defaults on the Drop Down window.

?

Make sure ALL selections are ¡°ticked¡± for NCE and not Internal.

?

If you made any changes, make sure you select SAVE at the L/H bottom.

?

As others have said, maybe you need to upgrade from 4.16

?

If it still does not work, check your ¡°Serial¡± connection using this page:

?

?

Regards

Marcus

??


Locked Re: NX Routing

 

Thanks both

Good to see that the problem is being progressed, and that I can continue testing using internal turnouts. I will monitor 7431 to see the progress.

Bill


Locked Re: Signal Mast Appearance definition file

 

David¡¯s explanation is right, but should be prefixed.

If you¡¯re just _using_ signal masts, you don¡¯t need to worry about any of this. Look at the various signal systems linked on this page: Pick the one you want, then select it when creating your signal masts. That¡¯s all that¡¯s needed. Each of those systems is defined by multiple files. The help pages describes how it works, because some people want to know that. That¡¯s fine. But the existing systems _do_ work, and those web pages show what they do. All you have to do is pick one.

Bob


On Sep 19, 2019, at 5:58 PM, Dave Sand <ds@...> wrote:

Hal,

In order to understand the internals of signal mast logic does require looking at xml files.

When a signal mast is defined in the JMRI Signal Mast table, the Signal System and Mast Type are selected. The same Signal System is used for all of the masts.

Each mast type has an appearance-??????.xml file in the signal system directory. The <name> element has the user friendly name that is shown in JMRI.

The <appearances> section defines what the mast looks like, including the icons to be displayed on a JMRI panel.

The <aspectMappings> section defines what aspect should be displayed based on the current aspect of the next signal mast. A <aspectMapping> set is defined for each possible aspect as defined in aspects.xml. The next aspect name is defined using <advancedAspect>. This is followed by one or more <ourAspect> entries using one of the appearances listed in the <appearances> section.

If more than one <ourAspect> is listed, then the route and speed values in the aspects.xml file are used to determine the correct aspect for the mast.

The speed is based on the Path Speed as shown in the Signaling Mast Pairs SML window. This is based on block and turnout speeds.

The route is Normal if all turnouts are normal and Diverging if any turnout is diverging.

I hope I have not made things more confusing.

Dave Sand



On Sep 19, 2019, at 7:40 AM, haltz@... wrote:

Thanks, Billybob, vey helpful. I was just trying to figure out what the logic is as described in the "JMRI Signal Mast Logic" page. There it says (italics mine):

"Which Aspect our source Signal Mast displays after being released from "Danger" is firstly determined by the Aspect mapping that has been defined in the Signal Mast Appearance definition file. If there is only one Aspect that could be displayed, then the Signal Mast will be set to that Aspect.
However if multiple Aspects could potentially be displayed then the logic looks at two areas to determine the resulting Aspect to be displayed:"...Diverging Route...Block/Signal Speed..."

That's why I was trying to look at a definition fie, but didn't know which one to look at nor how to look at it (short of reading xml, which is fine as a last resort)
I'll look closer at all you wrote and maybe understand better. Thanks again, Hal.
--
Bob Jacobsen
rgj1927@...


Locked Re: Signal Mast Appearance definition file

 

Hal,

In order to understand the internals of signal mast logic does require looking at xml files.

When a signal mast is defined in the JMRI Signal Mast table, the?Signal System and Mast Type are selected. ?The same Signal System is used for all of the masts.

Each mast type has an appearance-??????.xml file in the signal system directory. ?The <name> element has the user friendly name that is shown in JMRI.

The <appearances> section defines what the mast looks like, including the icons to be displayed on a JMRI panel.

The <aspectMappings> section defines what aspect should be displayed based on the current aspect of the next signal mast. ?A <aspectMapping> set is defined for each possible aspect as defined in aspects.xml. ?The next aspect name is defined using <advancedAspect>. ?This is followed by one or more <ourAspect> entries using one of the appearances listed in the <appearances> section.

If more than one <ourAspect> is listed, then the route and speed values in the aspects.xml file are used to determine the correct aspect for the mast.

The speed is based on the Path Speed as shown in the Signaling Mast Pairs SML window. ?This is based on block and turnout speeds.

The route is Normal if all turnouts are normal and Diverging if any turnout is diverging.

I hope I have not made things more confusing.

Dave Sand



On Sep 19, 2019, at 7:40 AM, haltz@... wrote:

Thanks, Billybob, vey helpful. I was just trying to figure out what the logic is as described in the "JMRI Signal Mast Logic" page. There it says (italics?mine):

"Which Aspect our source Signal Mast displays after being released from "Danger" is firstly determined by the?Aspect mapping that has been defined in?the Signal Mast Appearance definition file.?If there is only one Aspect that could be displayed, then the Signal Mast will be set to that Aspect.
However if multiple Aspects could potentially be displayed then the logic looks at two areas to determine the resulting Aspect to be?displayed:"...Diverging Route...Block/Signal Speed..."

That's why I was trying to look at a definition fie, but didn't know which one to look at nor how to look at it (short of reading xml, which is fine as a last?resort)
I'll look closer at all you wrote and maybe understand better. Thanks again, Hal.


Locked Re: Edit of build report #operationspro

Frank in Houston
 

Hi Dan....THANK YOU....That worked....This IMac is new and was a gift from my daughter for my 82nd birthday so I had to use its, NOW I love it but still a lot to learn.
? THANK YOU.....Frank in Houston.?


Locked Re: NX Routing

 

Hi Bill,

This is a new MERG CBUS bug, being progressed via?

Steve.


Locked Re: Turnouts work only in Edit mode

 

Richard,

I assume that your are using Layout Editor.

Is "Options >> Use Direct Turnout Control" enabled?

Are there any error in the system console. ?Use "Help >> System Console¡­¡±

Dave Sand



On Sep 19, 2019, at 6:44 AM, Richard_vanRaay via Groups.Io <richard_vanraay@...> wrote:

The 4 new points I installed only work when My Layout is in edit mode.
Any idea what I have done wrong?

Thanks for all your help.?
PanelPro 4.16
RasPi
Java 1.8.0-65
Switch 8 to Tortoise motors
Insufrog points


Locked Re: Possible roster problem #zimo

 

Thanks, Marc.

I already did one of those tests, as I first just entered the DCC address of the loco with the Zimo decoder. When that controlled function F1, which turns a home brew sound generator on and off, but couldn't make the loco run or stop, I then tried adding it to the roster, with the same result.

The Lenz LE103s don't have any functions except the front and back lights. But, I can't control them, or make the locos run or stop. I'm not aware of anything else I can change, or would need to reset. But, I will try that, and then monitoring the JMRI message to the EasyDCC again.

I was hoping there was some subtle DecoderPro "thing" going on that might explain lack of motor control when there is control of functions. I haven't heard yet that there is one. Bummer!

Don Weigt
Connecticut, USA


Locked Re: Possible roster problem #zimo

 

Read CV19.
If not 0, the command system has it in consist, and you need to use that number as address.

Some systems set this in background, do on their throttle is looks like cab number, but translated internally to CV19 number.
And make sure you are using short or long address as set be CV29 in decoder.

Open JMRI as decoder pro, and read Basic sheet. (This is all NMRA, so any decoder type will have these)
Check? for which address is active. (Includes read of CV19)

Thomas
DeSoto, TX


Locked Re: Signal Mast Appearance definition file

 

Thanks, Billybob, vey helpful. I was just trying to figure out what the logic is as described in the "JMRI Signal Mast Logic" page. There it says (italics mine):

"Which Aspect our source Signal Mast displays after being released from "Danger" is firstly determined by the Aspect mapping that has been defined in the Signal Mast Appearance definition file. If there is only one Aspect that could be displayed, then the Signal Mast will be set to that Aspect.
However if multiple Aspects could potentially be displayed then the logic looks at two areas to determine the resulting Aspect to be displayed:"...Diverging Route...Block/Signal Speed..."

That's why I was trying to look at a definition fie, but didn't know which one to look at nor how to look at it (short of reading xml, which is fine as a last resort)
I'll look closer at all you wrote and maybe understand better. Thanks again, Hal.


Locked Re: Jython Script Contribution - YAAT enhancement #automation #yaat #scripting

 

Thanks a lot. I have tried to keep to your style, but may not have succeeded. Please make any changes you feel necessary.

Bill


Locked Re: OpenLCB - Lights - using 7.14.4ish -- CRASHED

 

Hi Tim,

I have tested your panel file using a?simulated Loconet connection and simulated OpenLCB connection.
These simulated connections are to represent a layout connection when you've got no physical connection, enabling you to work with the layout offline.
PanelPro > Edit > Preferences > Connections > + >
OpenLCB / CAN Simulation
Digitrax / LocoNet Simulator

With your panel, I'm seeing OpenLCB Light flickering with v4.17.3
I am NOT seeing the flickering with v4.17.4 ( actual 4.17.4, not an ish )

If I'm not able to recreate them with the OpenLCB Simulator, it'll definitely need someone with more OpenLCB experience than me to assist.

Steve.


Locked Problem to reset slots with JMRI

 

We are running JMRI V 4.17.4 and Digitrax DCS 240. Closing OpSw 36 with JMRI has no effect on the command station. To clear all slots we must use the loco reset button on the DCS 240. Is there any setting we overlooked.

Jacques


Locked Re: SECTIONS TABLE NEW BUG

 

Mitch,

? ? ?Delete the section the sensor is working with then try to delete the sensor.? I've seen a few cases during recent JMRI versions where the programmers would not let you delete an item until it's associations had been severed.?

Roger


Locked Re: SECTIONS TABLE NEW BUG

 

Any ideas, anyone?
--
Thanks
Mitch


Locked Re: Issue with Engine Driver and functions

 

Thomas,
Any progress on this?
--SteveT


Locked Turnouts work only in Edit mode

 

The 4 new points I installed only work when My Layout is in edit mode.
Any idea what I have done wrong?

Thanks for all your help.?
PanelPro 4.16
RasPi
Java 1.8.0-65
Switch 8 to Tortoise motors
Insufrog points


Locked Possible roster problem #zimo

 

You may recall I have been unable to control old Lenz LE103 decoders with JMRI throttles, although I can control newer basic NCE decoders and SoundTraxx Econami steam decoders, at least the one of each I've tried so far.

The LE103s are controllable with my EasyDCC throttles, including the light function. Neither their throttles or the lights can be controlled via JMRI.

The NCE and Econami decoders throttles and functions can be controlled by EasyDCC throttles or JMRI. So, it is puzzling that all aren't controllable with JMRI.

Tonight I got a new data point. I finished servicing an engine with an old Zimo MX-61 or MX-62 decoder. It also works fine with an EasyDCC throttle, including functions. I had hoped JMRI would be able to control it. First indication was good, as I could toggle a function on and off. But, when I advanced the throttle, nothing happened. I can control its functions, but not its speed! This got me to wondering about the roster entry. Might the problems with this Zimo and with all my LE103s be due to something wrong in their roster entries?

Since the Zimo was working on EasyDCC throttles, I didn't program it with DecoderPro, just tried to create an appropriate roster entry. Perhaps there is some setting needed to make the throttle work right, that I don't understand? Might there be such a thing even with basic Lenz LE103s? The EasyDCC tech support person told me that they've never heard of a problem with EasyDCC and Lenz decoders. Said to see my "JMRI manufacturer." Hah!

I plan to revisit the DecoderPro help to carefully review what I'm trying to do. Maybe I have been making some beginner mistake? I would appreciate knowing if this sounds like a worthwhile step to you experts! Did anyone have an "Ah hah!" moment reading this?

Don Weigt
RPi 3B+ running Steve Todd's JMRI image
Connecticut, USA


Locked Re: Signal Mast Appearance definition file

 

"Haltz" (or whatever "friendly name" you would prefer),

Setting up JMRI "signal mast logic" _does not require_ that you modify any "Signal Mast Appearance definition file" if you are using one of JMRI's pre-defined "Signaling Systems".

If you are using a pre-defined "Signaling System", have you looked at the "JMRI: Signaling Quickstart" page ( )? This may be a better place to look for help on setting up some signaling than the "JMRI Signal Mast Logic" page.

If you are indeed creating a new "Signaling System", then it will be necesasry necessary to create one or more "Signal Mast Appearance definition files". Information on this may be found in the "JMRI: Defining your own Signaling System" page ( ). "Signal Mast Appearance definition files" are part of the "Signaling System" files. File location information for "Signaling System" files may be found in the first paragraph of the "Creating a new Signaling System" section of the "JMRI: Defining your own Signaling System" page.

Regards,
Billybob