Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
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: |
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:
|
Locked
Re: NX and signals query
Fraser,
toggle quoted message
Show quoted text
Try resetting the NX and SML definitions.
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: |
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, |
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: DS51K1 turnout decoder - detection
Rizwan,
toggle quoted message
Show quoted text
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.
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: |
¿ªÔÆÌåÓý
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,
toggle quoted message
Show quoted text
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: |
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: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: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:<> 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. |