¿ªÔÆÌåÓý

Date

Locked Copying a Roster Entry

 

JMRI 4.14 on Mac OS Mojave 10.14.5 java 8.211
I cannot duplicate a roster entry. Select an existing entry on the roster which becomes highlighted then select "duplicate" from the "edit" menu opens a window which asks for the new roster entry name. Enter a new name and click OK. Window closes but no new entry appears in the roster. Am I missing a step?

Jan


Locked Re: DS51K1 turnout decoder - detection

 

¿ªÔÆÌåÓý

?

?

Soldering in the pictures looks fine.?

?

I¡¯ve a couple of suggestions:

?

a)????? ?When ¡°programming¡± the decoder, with the yellow wire:? Are you just touching this to the rail, or are you pushing it down firmly to ensure a good contact ??? It should be the latter.?? Finger should be OK, but to be on the safe side, use a wooden or plastic ¡°prodder¡± to ensure a good contact.?? (A coffee stirrer is one possible tool to do this).?

?

b)????? ?When programming, send multiple turnout commands, ie. Set, throw, set, thrown, etc, before removing the power.?? Its possible something happens when it gets more than one command.

?

?

I¡¯ve a feeling there are two ways of ending accessory commands in the depths of the DCC specification ¨C someone who knows more about the specs might want to look at this.?

?

?

?

-????????? Nigel

?

?

From: [email protected] [mailto:[email protected]] On Behalf Of rizimine@...
Sent: 27 May 2019 20:17
To: [email protected]
Subject: Re: [jmriusers] DS51K1 turnout decoder - detection

?

Thanks for all the helpful posts guys. I will try to respond to the most important queries since the last time:

1. @Dave Heap - The SPROG is in Command Station mode. I was not checking this earlier but I saw a lot of posts asking me to be certain of this and I double-checked the last time I tried to give it a command.?

2. Track power and SPROG setup: The SPROG DCC and the track power works. This is because I have a pre-programmed locomotive that I can run on it. Of course, I remove this locomotive when I am trying to program the turnout but otherwise, I can use this locomotive to test if SPROG can give commands to the layout and the power works. I've confirmed that this is not the issue.

3. I am not using a mobile phone for sending commands. I am connecting to my Raspberry Pi through VNC and giving commands directly in PanelPro or DecoderPro.?

4. @Dave Sand - I tried removing the yellow cable from the rail and trying to address the turnout using ST1 or ST3. It doesn't throw or close as per my commands. I didn't know that the "ST" prefix was added by default (I had tried to give command directly to "1" or "3" hardware address before), so at least this information was helpful.

5. @G Sinos (and possibly someone else) - I am now skeptical of my wiring as well. This is my first solder job and perhaps I didn't do good job. I've decided to post pictures and seek help.

Here are the pictures.

1. Decoder wired into the turnout
2. Backplate closed after the wiring. Let the Yellow wire come out so that I could program
3. Connected to the track. Yellow wire not connected to rail (not in programming mode).?
4. Yellow wire connected to the outer rail (to which the black decoder wire was connected) for programming.

I am able to physically throw/close the turnout using the black knob in the turnout itself. The turnout doesn't respond to any commands from the DCC (assuming I am addressing it right), nor does it take any programming input for the hardware address.?

Thanks for all the help guys. Really appreciate it!


Locked Re: DS51K1 turnout decoder - detection

 

Thanks for all the helpful posts guys. I will try to respond to the most important queries since the last time:

1. @Dave Heap - The SPROG is in Command Station mode. I was not checking this earlier but I saw a lot of posts asking me to be certain of this and I double-checked the last time I tried to give it a command.?

2. Track power and SPROG setup: The SPROG DCC and the track power works. This is because I have a pre-programmed locomotive that I can run on it. Of course, I remove this locomotive when I am trying to program the turnout but otherwise, I can use this locomotive to test if SPROG can give commands to the layout and the power works. I've confirmed that this is not the issue.

3. I am not using a mobile phone for sending commands. I am connecting to my Raspberry Pi through VNC and giving commands directly in PanelPro or DecoderPro.?

4. @Dave Sand - I tried removing the yellow cable from the rail and trying to address the turnout using ST1 or ST3. It doesn't throw or close as per my commands. I didn't know that the "ST" prefix was added by default (I had tried to give command directly to "1" or "3" hardware address before), so at least this information was helpful.

5. @G Sinos (and possibly someone else) - I am now skeptical of my wiring as well. This is my first solder job and perhaps I didn't do good job. I've decided to post pictures and seek help.

Here are the pictures.

1. Decoder wired into the turnout
2. Backplate closed after the wiring. Let the Yellow wire come out so that I could program
3. Connected to the track. Yellow wire not connected to rail (not in programming mode).?
4. Yellow wire connected to the outer rail (to which the black decoder wire was connected) for programming.

I am able to physically throw/close the turnout using the black knob in the turnout itself. The turnout doesn't respond to any commands from the DCC (assuming I am addressing it right), nor does it take any programming input for the hardware address.?

Thanks for all the help guys. Really appreciate it!


Locked Re: Setting Functions - Lights drop out

Robert Schworm
 

Are these lights being driven with a NCE "Light-It?? I assume we are ?now speaking of any lights on the loco?
A light-it can be driven by a Loco address or an accessory address. I believe an accessory address to a point needs to be calculated and entered.? See JMRI.Org under NCE items.? There is a discussion about accessory point calculation.? Bob
Thanks.
?
Regards,
?
Bob
Phone / Fax - 440-838-0508


On Mon, May 27, 2019 at 1:37 PM leo pesce <lpescester@...> wrote:
Also do not forget that NCE does not refresh, which means if there is even a slight interruption (dirty track, dirty wheels, pick-up issues in general), you will loose the light.

It will come back if you make a speed change, but not until then. A Keep Alive would help here.

Cheers
Leo P

On Mon, May 27, 2019 at 9:35 AM Stephen Lowens via Groups.Io <sjlowens=[email protected]> wrote:
Barry,

We need to know the brand and model of the decoder.? There are some decoders that have different states depending on whether or not the locomotive is or is not moving.

Steve Lowens


Locked Re: NX and signals query

 

Fraser,

Try resetting the NX and SML definitions.
  1. Delete all of the entries in the NX table.
  2. Delete all of the entries in the Signal Mast Logic table.
  3. Save the panel xml file, stop and re-start PanelPro and load the saved xml file.
  4. Use Tools >> Auto Generate Signaling Pairs in the Signal Mast Table.
  5. Use Auto Generate Entry-Exit Pairs in LE Tools >> Entry Exit¡­. (Don¡¯t forget to select Full Interlock)

I have plat1dep to cc05enter working as expected in simulation mode on 4.15.6.

Dave Sand



On May 27, 2019, at 10:45 AM, FRASER SMITH <fraser@...> wrote:

Whoops

Sorry Dave

New zip uploaded now.

Fraser


Locked Re: Setting Functions - Lights drop out

 

Also do not forget that NCE does not refresh, which means if there is even a slight interruption (dirty track, dirty wheels, pick-up issues in general), you will loose the light.

It will come back if you make a speed change, but not until then. A Keep Alive would help here.

Cheers
Leo P

On Mon, May 27, 2019 at 9:35 AM Stephen Lowens via Groups.Io <sjlowens=[email protected]> wrote:
Barry,

We need to know the brand and model of the decoder.? There are some decoders that have different states depending on whether or not the locomotive is or is not moving.

Steve Lowens


Locked Re: DS51K1 turnout decoder - detection

Jay
 

Hi!

I do have a Spog Pi also.
This is on my Z Scale layout.
JMRI runs that same as on Windows & Mac.
The Pi has an operating system on it, Raspian Stretch.
If you have a monitor, keyboard & mouse attached, it functions the same.

Jay


Locked Re: Setting Functions - Lights drop out

Stephen Lowens
 

Barry,

We need to know the brand and model of the decoder.? There are some decoders that have different states depending on whether or not the locomotive is or is not moving.

Steve Lowens


Locked Setting Functions - Lights drop out

 

¿ªÔÆÌåÓý

Hi I am a new user so please bear with me.

Operating Equipment:

Mac OS 10.13.6, NCE USB interface, NCE Power Cab Version 1.65, Engine Driver App on an android phone.

I have several problems but I have decided to attempt them one at a time.

I have currently setup the functions I want to utilise for all my locomotives, which in my case is very simple ¡°Lights¡± & ¡°Shunting¡±.

I have utilised Actions / Labels & Media / Function Labels and function ¡°0' for ?¡®Lights' with the function ¡°latched¡± and function ¡®1' to ¡®Shunting' also ¡°latched¡±.

Followed by ¡°Save to Roster¡± ?and ¡°Write changes on all sheets¡±

The Shunting functions works fine but the lights come on and off if the function button is pressed but, go out once I move the locomotive in any direction.

Anybody any ideas how to rectify this problem?

Regards

Barry Cross


Locked Re: NX and signals query

 

Whoops

Sorry Dave

New zip uploaded now.

Fraser


Locked Re: DS51K1 turnout decoder - detection

 

Rizwan,

As I mentioned at the beginning of my post, I don¡¯t have any related hardware. ?The steps that I listed were based on my understanding of the instructions from Digitrax and how they might look using JMRI. ?Their instructions are based on using a Digitrax command station with Digitrax throttles.

In your case, the Pi-SProg is the command station and JMRI has to issue the turnout commands instead of a Digitrax throttle. ?

I have not been able to find any reference to a default address for the DS51K1. ?It is probably either 1 or 3. ?

If you want to avoid the turnout table for now, you can use Tools >> Turnout Control as mentioned by Dave Heap. ?Just enter a turnout name, such as ST1, and select Thrown or Closed. ?Note: ?S is the connection prefix which you said was S, T stands for turnout. ?Try both 1, 3 and whatever address you were trying to enter.

There are two major assumptions that can impact the results.
  • Does the Pi-SProg send accessory commands to the track? ?I am assuming that it does.
  • Was the wiring done correctly?
Keep in mind that the track power has to be on in order for decoder to receive the command and set the turnout.


Dave Sand



On May 27, 2019, at 12:24 AM, rizimine@... wrote:

@Dave Sand.

Thanks for the detailed write-up. Really appreciate the effort you put into writing detailed instructions for a newbie.?

Unfortunately, it did not work as expected. I've added comments below on individual steps but everything worked except the Turnout did not move at all?as expected. At this time, I am at my wit's end. If people have successfully used the following method, I can only assume that I either have a faulty?decoder (less possible) or I have made some mistake in my soldering (more probable). I have one more turnout and decoder that I can try this with.?

Can you confirm that this kind of addressing has worked for you in the past with DS51K1? Some of the responses below seem to indicate that I need?either (a) a Digitrax system in-between my JMRI interface and the turnout decoder to control it OR (b) DS51K1 is a simple decoder that doesn't take?addresses.

For (a) my understanding is that PiSprog, being a full DCC command station should be adequate and I don't need a Digitrax system.?

Thanks for the help,
Rizwan?

? Start PanelPro.
? Verify the connection prefix by going to "Preferences >> Connections". ?It is probably ¡°S¡±. (Rizwan: This was "S")
? From the main PP menu, go to Tools >> Power Control.
? Set Layout power OFF.
? Attach the yellow wire to the same rail as the black wire.
? Return to the Power Control window and Set Layout Power ON.
? Go to Tools >> Tables >> Turnouts
? Click on Add.
? Make sure that the System Connection is set to the Pi-SProg. (Rizwan: I set it to "Pi Sprog-ONE Command Station". It was either?this or "Internal")
? Enter the desired number for the turnout in the Hardware Address field, such as 123.
? Enter the desired user name in the User Name field. ?This is usually something that makes sense on the layout, such as a station?name, etc.
? Click on Create. ?This will create a turnout table entry which will most likely be ST123 with the entered user name.
? The turnout state will be Unknown. ?Click on the state button.
? Return to the Power Control window and Set Layout Power OFF.
? Remove the Yellow wire.
? Return to the Power Control window and Set Layout Power ON.
? Return to the Turnout table.
? If everything worked, as you click on the turnout state button, the turnout should move between closed and thrown. (Rizwan: This?is where it didn't work. The Turnout doesn't move at all.)
? If the turnout is moving opposite of what you want, swap the orange and gray wires.
? From the main PP window select Panels >> Store Panels.
? Provide a file name for saving the current configuration.
? When you resume PanelPro later, use Panels >> Open Panels to re-load the configuration which now contains your first turnout.
? As additional turnouts (and other related changes) are made, remember to save the changes before quitting JMRI.


Locked Re: JMRI Hornby Elite Timeout issues #hornby

 

¿ªÔÆÌåÓý




On May 25, 2019, at 4:01 AM, cardy165@... wrote:

Hi Paul,

I tried setting the check buffer to no but still get the timeout errors.

Ok, I played around with this, and I think the Check Buffer option is likely the cause. ?More precisely, the way in which the default value is set for the check buffer.

I updated the code so that it doesn¡¯t present the check buffer option to users, and it initialized the Check Buffer option just like every other XpressNet connection.

I checked this as well as I could, but I don¡¯t have an elite to test with.

If you could, please try a daily build from:?


You may need to try this with a new profile, so the check buffer option isn¡¯t in the configuration files.

Paul



Locked Re: DS51K1 turnout decoder - detection

 

rizimine -? let me say a couple of things that might help you understand how the DS51K1 is programmed.? I will probably repeat a couple of things that have already been said.

1) JMRI doesn't detect address of any kind.? So forget that concept.

2) The DS51K1 is in the program mode whenever the yellow wire is connected to the black wire.

3) When the DS51K1 is in the program mode, it will change it's address to the next accy decoder address that you send down the track.

4) So if you want to make it Address 5, connect the yellow wire, use your throttle to send any command to accy address five, then detach the yellow wire. Your DS51K1 will now have the address of 5.

5) It may be obvious, but you'll need to do this one turnout at a time. If you connect all the yellow wires to the black wire, all of the DS51K1 will be programmed to the same address.? So only connect one yellow wire at a time.

That's the basic concept.? Now that's pretty easy with a NCE PowerCab or any other system that has a traditional throttle.? Your Sprog makes it a little more difficult because you need JMRI to communicate with cell phone throttles.

Instead of a throttle, you can easily use a turnout table in JMRI to send the needed command to the DS51K1.

First, in JMRI, build a turnout table with all of the addresses that you want to use for your turnouts. Save it.

Second, Now that you have a functioning turnout table use it to throw the turnout, instead of the throttle, in step 4 above.

You don't have to build panels to make this work.? There is a button in the turnout table to throw the switch.

If you are using the Engine Driver app, or the full ($10) version of the WiThrottle app, you will see the turnouts show up on your cell phone after you save the turnout table. (you may have to re-start JMRI or the apps) If you see the turnouts on the cell phone, you can use the phone instead of the turnout table button to do the programming.

Sorry to be repetitive, but perhaps that will help clear things up.

Now just a personal opinion -

I think you said you did not do the installation yourself.? Are you positive which rail was connected to the black wire? If nothing is working, I would carefully remove the baseplate and check.

And finally, just because the DS51K1 can fit inside the turnout doesn't mean it's a good idea.? If you're never going to fasten down your track it's probably ok.? But if you are going to fasten your track to the baseboard, you will someday be sad that you put the DS51K1 inside the turnout.? If it needs to be replaced, you will need to tear up the track to replace the DS51K1.? The do fail.

gs


Locked Re: NX and signals query

 

Fraser,

Your zip file is also missing all of the custom icons located in the resources directory.

Dave Sand

On May 27, 2019, at 1:30 AM, FRASER SMITH <fraser@...> wrote:

Hi Dave

Thanks for offering to look at this. Zip file uploaded to Fraser Smith folder in Problems Being Worked On. I have a few NX routes set up in there. Try from Plat 1 (sensor is in vee of SL7 to left of starter signal) to Fid5 (sensor just above left hand signal at mid height of fiddle yard. Another is Plat 5 (sensor just to left of signal at X2B) and Fid1 (sensor just below signal three lines in from right hand side of fiddle yeard). The opposite pairings are also set up.

Cheers

Fraser


Locked Re: How to identify and set USB port on Linux Ubuntu?

 

¿ªÔÆÌåÓý

Jim,

On 27 May 2019, at 10:48 PM, jimalbanowski <jimalbanowski@...> wrote:

Use your JMRI setup up to look at the list of ports without the USB adapter plugged in and then with it connected see whats new... like ttyUSB0 that's your connection.

while : ;do clear;ls -lt /dev|head;i=$((i+1));echo $i;sleep 1;done

Is better. Can see port even if you aren't in dialup group.

But you need to tell the system that you can use the port(s).

From console use sudo adduser "name of computer" dialout

sudo adduser ${USER} dialout

(Exactly as above)

Is better. No need to know your username, it's automatically substituted.

Dave in Australia


Locked Re: How to identify and set USB port on Linux Ubuntu?

 

Doug,

On 27 May 2019, at 9:53 PM, Doug Lowing <delowing1903@...> wrote:

System Manufacturer: NCE (could be any mfg)
System Connection: NCE USB
Serial Port: list of ttys0 to ttys32
USB Version : V7.x.x
This document will be helpful once you've located the port using:

while : ;do clear;ls -lt /dev|head;i=$((i+1));echo $i;sleep 1;done

as per earlier link, added yourself to dialout, logged out and back in again.

Configuration Instructions
===================

Here are the best settings for JMRI and jumpers for Power Cab (and also SB5).

Make sure you always unplug/replug both cables on the NCE USB after changing jumpers.

It also explains how to read the version of your NCE USB (only the first digit counts, the last three report how your jumpers 2-4 are set and jumper 1 is ignored on all systems).


Power Cab Instructions
=================
The correct settings for a Power Cab V1.65 or V1.28 (as shown when the Power Cab starts up) and an NCE USB V6 (or you are not sure of the USB version) are:
- All USB Jumpers off (or at least 2, 3 & 4. Jumper 1 is ignored).
- JMRI preferences are:
-- System manufacturer: NCE
-- System connection: NCE USB
-- Serial port: <whatever is appropriate for your system>
-- USB version: V6.x.x
-- System: PowerCab
-- Additional Connection Settings checkbox ON
--- Baud rate: 9600.

The JMRI console log should then report V6.3.0. If it reports V7.3.0 and your Power Cab is V1.65, use the settings below instead.
If you don't get a version number or the system does not work, Use Help->System Console...->Copy to clipboard and paste into a post for us to see.

The correct settings for a Power Cab V1.65 or V1.65b and an NCE USB V7 are:
- All USB Jumpers on (or at least 2, 3 & 4. Jumper 1 is ignored).
- JMRI preferences are:
-- System manufacturer: NCE
-- System connection: NCE USB
-- Serial port: <whatever is appropriate for your system>
-- USB version: V7.x.x
-- System: PowerCab
-- Additional Connection Settings checkbox ON
--- Baud rate: 19200.

The JMRI console log should then report V7.3.7.

SB5 Instructions
============
The correct settings for an SB5 and an NCE USB V7 are:
- USB Jumper 4 on. All others off (or at least 2 & 3. Jumper 1 is ignored).
- JMRI preferences are:
-- System manufacturer: NCE
-- System connection: NCE USB
-- Serial port: <whatever is appropriate for your system>
-- USB version: V7.x.x
-- System: SB5
-- Additional Connection Settings checkbox ON
--- Baud rate: 19200.

The JMRI console log should then report V7.3.1.

General Troubleshooting
==================

If the system does not work after this:
- If your SB5/Power Cab is V1.65 rather than V1.65B, you may have been affected by a firmware issue (triggered by a System Reset).
- Your NCE USB may be set to a bad cab address (V7 only).
- There is a potential hardware issue with the NCE USB/Power Cab combination.
In either case, go through the following :
- Quit JMRI.
- Ensure neither LED on the NCE USB is stuck ON. If so, power cycle the USB by unplugging it from the cab bus cable.
- Ensure you have no other throttles connected.
- Restart JMRI and immediately go to Configure USB Interface under the NCE menu.
- Set the Cab ID to 3.
- Attempt a JMRI operation (use a throttle, Identify a decoder).
- The status line should stay green and it should work
-If this does not work, do not fiddle with any other settings but instead:
-- Observe whether the Cab Bus LED on the NCE USB is stuck on and report back.
-- Use Help->System Console...->Copy to clipboard and paste into a post for us to see.

Dave in Australia


Locked Re: How to identify and set USB port on Linux Ubuntu?

 

Doug:

A couple of things...

Use your JMRI setup up to look at the list of ports without the USB adapter plugged in and then with it connected see whats new... like ttyUSB0 that's your connection.

But you need to tell the system that you can use the port(s).

From console use sudo adduser "name of computer" dialout

That's the name in the upper left corner of the sign in screen.

You can use lsusb in the console to see USB devices but that doesn't show port number as a tty.

Jim Albanowski


Locked Re: Editing Profile manager

 

Kurt,

On 27 May 2019, at 8:47 PM, Kurt Spychiger via Groups.Io <saomar91@...> wrote:

I can locate only one of the "profile.properties" files you mentioned:
JMRI-Test.jmri --> My test stock profile
--> No "profile.properties" on top level
JMRI-Test.jmri\profile --> "profile.properties" is here

Renaming the "JMRI-Test.jmri\profile\profile.properties" works. No entry for "JMRI-Test" in the profile manager.
Is everything okay so, even without the "profile.properties" on top level?
If it works, fine.

The test profiles I created were by copying an existing profile (my usual way of doing so) and it's possible the "profile.properties" on top the level is deprecated and no longer used.

If you need to make that profile visible again, just undo the rename and use Add Existing in the Preferences->Config Profiles manager to attach to it again.

Dave in Australia


Locked Re: How to identify and set USB port on Linux Ubuntu?

 

Doug,

On 27 May 2019, at 9:53 PM, Doug Lowing <delowing1903@...> wrote:

How do I determine the correct USB port in Linux Ubuntu?
This is the Mint variation if it makes a difference.
I am dedicated to using Linux, I had it working in Win 10 several times.
<>

Will be fine for Mint.

Dave in Australia


Locked How to identify and set USB port on Linux Ubuntu?

Doug Lowing
 

How do I determine the correct USB port in Linux Ubuntu?
This is the Mint variation if it makes a difference.
I am dedicated to using Linux, I had it working in Win 10 several times.

I have read many things - it is difficult to identify good and questionable information.
I think I need to run a Linux command line to show the USB ports, I do not know the command.
After getting a list of information, how to determine if it is a USB port?
If I assign a? port, is it a specific physical USB port on the machine, or could I plug into a different physical port and it works?


Steps to reproduce:
Menu > Window > preferences
System Manufacturer: NCE (could be any mfg)
System Connection: NCE USB
Serial Port: list of ttys0 to ttys32
USB Version : V7.x.x
System : PowerCab
Connection Prefix: NCE
Connection Name: NCE

I appreciate all the help in the past, just reading random articles has saved much time.