¿ªÔÆÌåÓý

Date

Locked Re: JMRI and NCE

 

Ken W,

It is trying to open COM4 for the NCE connection. Use the Windows Device
Manager to confirm which COM port it is using and that the driver is ok.
Plugging and unplugging the connection at the computer should make it show
up and go away from the 'Ports' list in the Device Manager. Right click on
the COMx to see if it thinks the driver install is ok. That's in the
properties.

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


Locked Re: Right way to shutdown JMRI running on Raspberry Pi? #rpi

 

Jim:?? i looked at the Pi 4 a few days ago, there still seems to be some thermal issues with overheating when the CPU gets to a high rate of utilization, it isn't helping that the Pi 4 case has inadequate ventilation.??

I too want to get my hands on one but I'll wait till the issue is resolved.?? There appears to be a firmware fix in the offing to address it.??


Locked Re: Exception and other errors? Blocks Signals

 

Hi again Dave, Ken and all

Dave: I have tried your suggestion and this really helps to have a better understanding of signal mast logic. The strange routing behaviour issue at cuewait siding is still causing signal? problems, as is a similar the issue at slippery slope. This may be because I have not fully blocked the mine section and set up block occupancy sensors and signal masts for that section. I was hoping this would not be necessary. I have reverted to a earlier save of my layout which uses single head masts at the xovers and the aspects seem to function more predictably. I don't need double heads as I don't want to automatic trains to use the mining section in any event, but do need to stop auto trains from entering turning loops that are currently being used for manual mine traffic. I was using the double aspect signals to try to understand why the main line locos were reducing speed to 15 over the xover section despite green signals.? I'm not sure I have fully grasped the process behind the SML or built my layout to be compatible or at least "comfortable" with it but with help and advice from yourself and others, I'm on the way to gaining a basic understanding.

Ken: I hadn't realised this. This is great and could be the root of my issues. I can set speeds for through and diverging turnouts as you suggest and set speeds for blocks.? ?If I understand correctly, JMRI uses some formula of these two? along with pre-set speeds for signal aspects? in the file "signalspeeds.xml" to determine some speed value displayed when editing logic in? signal mast? pairs. Presumably I can edit and copy this file and change it's location to user preferences.? I'm not sure how warrants and dispatcher integrate or share speed data and tables. I haven't got as far as Warrants yet. Perhaps this will make things clearer but I haven't created a control panel yet. Do I need to do this first?? I can also, of course, set speeds in the decoder chip CVs. Does this overrule or work in conjunction with JMRI speeds (How do I make the decoder programmers work from within PanelPro?) Are there any further methods of setting auto train speed??

Thanks for reading?
I'll keep trying. Please anyone chip in with other suggestions.


StevLomax

Steve 009 in UK


Locked Re: JMRI and NCE

 

¿ªÔÆÌåÓý

Hello Marc,

?

I found the System Console Log. I have attached it below. I now have only one NCE connection now.

?

Ken Skopp

?

From: [email protected] <[email protected]> On Behalf Of forfoum@...
Sent: Monday, July 22, 2019 9:18 PM
To: [email protected]
Subject: Re: [jmriusers] JMRI and NCE

?

On Mon, Jul 22, 2019 at 04:04 PM, Kenneth Skopp wrote:

When I try to start DecoderPro I get this message in a window: ¡°Unable to create connection "NCE2" (N2). ?Serial port COM4 is in use. Unable to run startup actions due to earlier failures.¡± I believe I have deleted ¡°NCE2(N2).

Do you have a good reason to have a second NCE connection ?? You believe you deleted NCE2(N2).?? Clearly it was not deleted as per this message.

That would imply NCE (first connection)? is valid and being used. ?

It would help greatly if you could provide the System Console log via cut&paste here.?

2019-07-23 05:59:00,298 util.Log4JUtil??????????????????????? INFO? - * JMRI log ** [main]

2019-07-23 05:59:00,327 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: C:\Users\Ken\JMRI\log\messages.log [main]

2019-07-23 05:59:00,327 util.Log4JUtil??????????????????????? INFO? - This log is stored in file: C:\Users\Ken\JMRI\log\session.log [main]

2019-07-23 05:59:00,327 apps.AppsBase???????????????????????? INFO? - DecoderPro version 4.16+R6f9aced starts under Java 1.8.0_181 on Windows 10 x86 v10.0 at Tue Jul 23 05:59:00 EDT 2019 [main]

2019-07-23 05:59:00,528 gui3.Apps3??????????????????????????? INFO? - Starting with profile My_JMRI_Railroad.3f3718c5 [main]

2019-07-23 05:59:00,809 node.NodeIdentity???????????????????? INFO ?- Using jmri-kyUuSdgurhNiaayakslegv-3f3718c5 as the JMRI storage identity for profile id 3f3718c5 [AWT-EventQueue-0]

2019-07-23 05:59:00,903 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "NCE" [main]

2019-07-23 05:59:01,278 usbdriver.UsbDriverAdapter??????????? ERROR - Serial port COM4 not found [main]

2019-07-23 05:59:01,278 jmrix.ConnectionConfigManager???????? ERROR - Unable to create jmri.jmrix.nce.usbdriver.configurexml.ConnectionConfigXml for [Element: <connection/>], load returned false [main]

2019-07-23 05:59:01,278 plementation.JmriConfigurationManager ERROR - Exception initializing jmri.jmrix.ConnectionConfigManager: Unable to create several of your connections. [main]

2019-07-23 05:59:01,987 jmri.InstanceManager?????????? ???????ERROR - Should not set default of type jmri.CommandStation to null value [main]

2019-07-23 05:59:01,987 managers.ManagerDefaultSelector?????? WARN? - SystemConnectionMemo for NCE (class jmri.jmrix.nce.NceSystemConnectionMemo) provides a null interface jmri.CommandStation instance [main]

2019-07-23 05:59:01,987 plementation.JmriConfigurationManager ERROR - Exception initializing jmri.managers.ManagerDefaultSelector: System connection NCE provides a null manager for interface jmri.CommandStation [main]

2019-07-23 05:59:02,096 plementation.JmriConfigurationManager ERROR - Exception initializing apps.StartupActionsManager: jmri.util.prefs.InitializationException: Unable to run startup actions due to earlier failures. [main]

2019-07-23 05:59:04,939 util.FileUtilSupport????????????????? INFO? - File path program: is C:\Program Files (x86)\JMRI\ [main]

2019-07-23 05:59:04,939 util.FileUtilSupport????????????????? INFO? - File path preference: is C:\Users\Ken\JMRI\My_JMRI_Railroad\ [main]

2019-07-23 05:59:04,939 util.FileUtilSupport????????????????? INFO? - File path profile: is C:\Users\Ken\JMRI\My_JMRI_Railroad\ [main]

2019-07-23 05:59:04,939 util.FileUtilSupport????????????????? INFO? - File path settings: is C:\Users\Ken\JMRI\ [main]

2019-07-23 05:59:04,939 util.FileUtilSupport????????????????? INFO? - File path home: is C:\Users\Ken\ [main]

2019-07-23 05:59:04,939 util.FileUtilSupport????????????????? INFO? - File path scripts: is C:\Users\Ken\JMRI\My_JMRI_Railroad\ [main]

2019-07-23 05:59:05,770 throttle.PowerManagerButton?????????? INFO? - No power manager instance found, panel not active [main]



Marc


Locked Re: Controlling Servos directly connected to Arduino with DCC++ Base Station #arduino #dccpp

 

Hi,

Are you sure that your servo is compatible with DCC++? A standard RC servo requires a pulse width modulated signal, which the arduino servo library will generate, if that's what you have used in your test sketch. ?I'm possibly wrong here but I suspect the DCC++ code just puts out a logic high or low depending on the turnout setting, which won't drive a standard RC servo.

Regards

Paul


Locked DP feature request

 

Is it possible to add a column/field on the roster sheet for a consist address and have DP fill it in if the loco has a consist address. Thanks.

Jim K


Locked Re: JMRI is broken (?)

 

Bob? Here is an update to the above problem we discussed in Jan 2019.?
I replaced my new NCE box with the old Wangrow box. I now have control of the UNK OFF ON radio button.
Next I will upgrade the JMRI version. Suppose the NCE box was defective????
The one item I did not try was to replace the PS DB9 cable to computer w/ USB cable; as the cable does currently work but newer NCE might not like PS DB9???


Locked Re: Cantons / Stop trains in block with red signal

 

¿ªÔÆÌåÓý

Dennis,


On 23 Jul 2019, at 6:41 AM, Dennis Cherry <dbcherry@...> wrote:

BTW: will have a Asymmetric Stopping block module soon with 4 stopping block outputs, also an expansion board to add an additional 4 stopping blocks. You can go more in increments of 4 also.

You can build your own Asymmetric Stopping block modules for less than $1 per module, using 1N5404 diodes and using this circuit:

Less difficult than attaching track droppers to your DCC bus.

Dave in Australia


Locked Re: Controlling Servos directly connected to Arduino with DCC++ Base Station #arduino #dccpp

 

¿ªÔÆÌåÓý

do you have enough current available??? The servo draws ~ 150mA when it's moving.?? You can turn it off once it's had a chance to stabilize.?? You may want to put the servo on an auxiliary power supply.

On 7/22/2019 6:55 AM, rsauerbrun wrote:
Hello Group,

I have an Arduino Mega with motor shield running DCC++. I also have a Raspberry Pi running Steve Todd's image. I have upgraded JMRI on the RPi to v4.16 and Java 1.8.0_65. I have the letter "D" as the connection prefix in the JMRI connection preferences.

I have a servo connected directly to the Mega with 5V, GND, and PIN15 for control. I checked the wiring and have a good 5V going to the servo. I have created an entry in the JMRI turnout table with hardware address 115 (now shows as DT115) and chose "BSOUTPUT" in the Feedback Mode chooser. I then added an output to the DCC++ base station configuration with Index 115 assigned to PIN 15.

I built a quick panel with DT115, and this seems to work OK as the icon moves when clicked, I see "closed/thrown" in the turnout table and I see the Output Cmd "Output ID: 115 low/high" in the DCC++ traffic monitor, but the servo does not move. I have tested the servo by itself using an Arduino servo sketch and it works fine.

What have I missed?

Thanks for your help,

Richard

-- 
Seth Neumann
Mountain View, CA


Locked Re: JMRI and NCE

 

¿ªÔÆÌåÓý

Hi Ken,

I recommend that you download the drivers for USB interface and reinstall them.???? I have found in the past that whenever Windows 10 installs updates the SILABS drivers have problems and need to be reinstalled.

On 7/22/2019 3:48 PM, Kenneth Skopp wrote:

Hello,

??

I have JMRI connected to my layout with an NCE USB interface. I have software for the interface using COMM4. Since originally installing JMRI, I updated my computer to Windows 10. When I try to start DecoderPro I get this message in a window: ???Unable to create connection "NCE2" (N2). ??Serial port COM4 is in use. Unable to run startup actions due to earlier failures.??? I believe I have deleted ???NCE2(N2). When I ignore message and continue to DecoderPro and select a locomotive the following error message appears at bottom of screen: ???Service mode program NCE is offline and Operator mode program NCE is offline???. I spoke with Ed at NCE today and he said problem is with JMRI and Windows 10.

What do I do? When I had Windows 7 Pro, I was able to set up 5 locomotives.

??

Thank you,

??

Ken Skopp

Train Show Coordinator

Grand River Valley Railroad Club

616-667-9680

??

??

??

??

??

--
Gerry Myers gem8055@...

Virus-free.


Locked Re: JMRI and NCE

Robert Schworm
 

to make it easy on the engineers, youmight want to sure jmri is up to 4.16anr go from there


On Mon, Jul 22, 2019, 4:04 PM Kenneth Skopp <kwskopp@...> wrote:

Hello,

?

I have JMRI connected to my layout with an NCE USB interface. I have software for the interface using COMM4. Since originally installing JMRI, I updated my computer to Windows 10. When I try to start DecoderPro I get this message in a window: ¡°Unable to create connection "NCE2" (N2).? Serial port COM4 is in use. Unable to run startup actions due to earlier failures.¡± I believe I have deleted ¡°NCE2(N2). When I ignore message and continue to DecoderPro and select a locomotive the following error message appears at bottom of screen: ¡°Service mode program NCE is offline and Operator mode program NCE is offline¡±. I spoke with Ed at NCE today and he said problem is with JMRI and Windows 10.

What do I do? When I had Windows 7 Pro, I was able to set up 5 locomotives.

?

Thank you,

?

Ken Skopp

Train Show Coordinator

Grand River Valley Railroad Club

616-667-9680

?

?

?

?

?


Locked Re: Build Pickup Problems

 

Dan

Before I do That I have done some more digging and I have discovered a number of car location problems. I want to clear them and see how it builds. This train has always been an easy build.

Jerry


Locked Re: Help with Parse Error

 

Dave
Thank you for your help, and advice. Much appreciated.
Gavin


Locked Re: Build Pickup Problems

 

Hi Jerry,

What does the build report say about the cars not being picked up.? If the build report isn't too long, you can copy and paste the entire report for us to review for you.

Dan


Locked Re: Cantons / Stop trains in block with red signal

 

Brake on DC is very crude compared to Assymetric DCC. With Assymetric loco sounds still operate, and react with the changing speed of the engine as it slows and then accelerates. With brake on DC no DCC functions operate while on DC track.


Locked Re: Right way to shutdown JMRI running on Raspberry Pi? #rpi

 

Group:

Using Steve's RPi-JMRI distro for many months now on a couple of layouts killing power has not caused problems.

A possible warning is if the Pi is doing other things too, not just being Steve's JMRI machine, then there is a possibility that there is disk activity and the ?SD was being written to, then there could be corruption to the drive.

My Pi's are not running as a RR controller but rather as bullet proof WiFi access points where my friends are not opening their home net to strangers. Huge selling point... open house/guest session and the "hey can I use my phone?" Is a sure... server is RPi-JMRI password is rpI-jmri... Love it!

Off topic, sorta... Pi 4 looks to be producing Pi 3 bargains...

Jim Albanowski


Locked Re: Cantons / Stop trains in block with red signal

 

I never had that problem with Brake on DC between blocks, or never noticed that.

My blocks where very long.


BTW: will have a Asymmetric Stopping block module soon with 4 stopping block outputs, also an expansion board to add an additional 4 stopping blocks. You can go more in increments of 4 also.

Dennis


Locked Build Pickup Problems

 

I am building a train with nine locations. In 3 of the locations the build does not pick up the car currently located at the location.
Therefore in those locations it places cars picked up from other locations served by this train, .
The build report does not indicate any problems with track length,
I have adjusted the initial move count.
I do notice that the reserves are high for these 3 locations than the other locations

Jerry Hampton


Locked Re: JMRI and NCE

 

I dont know what the experts do, but when I get a com port error starting JMRI in Windows 10 I edit the com port setting and restart JMRI.

Windows seems to change the com port arbitrarily when booting.

Ken Moordigian
Jackson Livery
818-522-4292




On Monday, July 22, 2019 Kenneth Skopp <[email protected]> wrote:

Hello,

?

I have JMRI connected to my layout with an NCE USB interface. I have software for the interface using COMM4. Since originally installing JMRI, I updated my computer to Windows 10. When I try to start DecoderPro I get this message in a window: ¡°Unable to create connection "NCE2" (N2). ?Serial port COM4 is in use. Unable to run startup actions due to earlier failures.¡± I believe I have deleted ¡°NCE2(N2). When I ignore message and continue to DecoderPro and select a locomotive the following error message appears at bottom of screen: ¡°Service mode program NCE is offline and Operator mode program NCE is offline¡±. I spoke with Ed at NCE today and he said problem is with JMRI and Windows 10.

What do I do? When I had Windows 7 Pro, I was able to set up 5 locomotives.

?

Thank you,

?

Ken Skopp

Train Show Coordinator

Grand River Valley Railroad Club

616-667-9680

?

?

?

?

?


Locked JMRI and NCE

 

¿ªÔÆÌåÓý

Hello,

?

I have JMRI connected to my layout with an NCE USB interface. I have software for the interface using COMM4. Since originally installing JMRI, I updated my computer to Windows 10. When I try to start DecoderPro I get this message in a window: ¡°Unable to create connection "NCE2" (N2). ?Serial port COM4 is in use. Unable to run startup actions due to earlier failures.¡± I believe I have deleted ¡°NCE2(N2). When I ignore message and continue to DecoderPro and select a locomotive the following error message appears at bottom of screen: ¡°Service mode program NCE is offline and Operator mode program NCE is offline¡±. I spoke with Ed at NCE today and he said problem is with JMRI and Windows 10.

What do I do? When I had Windows 7 Pro, I was able to set up 5 locomotives.

?

Thank you,

?

Ken Skopp

Train Show Coordinator

Grand River Valley Railroad Club

616-667-9680

?

?

?

?

?