Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Jmriusers
- Messages
Search
Locked
JMRI and Sprog nano - racing loco's
¿ªÔÆÌåÓýHi all,I have a combination of latest stable JMRI on Lubuntu (or Mac) with Sprog Nano with the following: During start up
Then the set all turnouts to closed takes a while as it works through roughly 30 switch decoder addresses. Power off and all goes quiet. If I then turn on the power again manually those loco's that raced before will do this again until you take control of them and change speed or direction. They then come under control and stay that way for the rest of the session. My Lubuntu system went into screensaver mode after 10 minutes and the same happened. Any idea what can be causing this? I don't think the problem happens when I use a Tams Command Station. Must give this a try and observe. Under some circumstances I use the Tams for providing track commands and the Sprog Nano only to control turnout/DCC decoders. Would it be possible to e.g. send a "speed zero" command similar to what a break booster does as a script file similar to setting the power on/off? This might provide a work around. Thanks, (Mr) Jan |
Locked
Re: Turnouts (not) updating on Panel
Hi Tim,
Am thinking that this isn't CBUS related Another quick thing to test, does it work when sending event 503 from the event table? What feedback mode do you have set for the turnout? Ta, Steve |
Locked
Re: Programming locos with Fleischmann Twin-Center sw ver. 2.000 and DecoderPro 4.14
I don't remember the details - I worked on this 4 years ago with @kjlisby - but there are differences in the LN implementation between IB2/IB-COM and IB 'one' (or Fleischmann TC); and a number of IB (1 or 2) messages are NOT defined in the Digitrax LN specification.
The work performed by @kjlisby focused on the IB-COM with my support for IB2 - both are sharing the same message set - but it was not completed for IB 'one'. -- Alain LM |
Locked
Re: Turnouts (not) updating on Panel
Hi Steve,?
Yes its a little unclear i will admit. basically the panel never updates the turnout position, IE the icon doesn't move? when the event "503" is sent from the CANCAB.? The turnouts table shows the change, the column labeled? "state" in the turnouts table does change when the CAB sends the 503 event, but this is not replicated on the panel image. This means that the Panel is not correct if you change the switch with the CAB.? (it is correct if you change the switch with the Panel, or click the state in the turnouts table) I am just heading out but will try to get a copy of the data later for you. Thanks for the assistance. Tim |
Locked
Re: Turnouts (not) updating on Panel
Hi Tim,
Yes, the same Steve Young! Thanks for the GIF however I found it a tad awkward to understand! The one thing I spotted was that there was an incoming short event containing a node number, this isn't an issue though. Console will report these as they are the true message, however I've tested this in JMRI, and the node number is definitely stripped out as per CBUS short-event spec. I think we need to resolve which particular link isn't working, there are 2 links in the chain. 1 - Between the panel and the turnout table 2 - Between the turnout table and the CBUS message. When the troublesome incoming CBUS message is received, the turnout table IS updating? or When the troublesome?incoming CBUS message is received, the turnout table is NOT updating? If you could post the single console log entries ( left hand side pure message please ), for the correct message sent out, also the entry for when the message is received by the CAB that would also help. Thanks, Steve. |
Locked
Re: RPi-JMRI image updated
Hi Bruno, since the autoidentify is not working, you should disable it (there's a desktop icon for that). Then open PanelPro and select a similar profile, or just create a new one.
Then set the Connection Preferences as needed. That profile will be used on restart. I don't have Lenz equipment, so I can't advise on that. -- SteveT |
Locked
Re: JMRI RailDriver In Cab Video
#raildriver
Hi again;
Regarding RailDriver support, it would be nice to have it as a Jynstrument, like I did for Wiimote, various USB pads, and even a DCC throttle, see code in jython/Jynstruments/ThrottleWindowToolBar .... just checked the code, it's actually there (in USBThrottle.jyn), I remember now, it's a sample implementation I did a while ago, but was never tested, as I don't own a Raildriver. Why using Jynstrument instead of a classical Jython script, because it will be loaded by the throttle, and the throttle will be a regular JMRI throttle with all its customization, and the Jython code doesn't have to handle the throttle creation, hence code is way simpler, and several of these Jynstruments can be loaded all together in one regular throttle. So actually, it's all there, just need to make it work! Regards; Lionel |
Locked
Re: JMRI RailDriver In Cab Video
#raildriver
Hi;
regarding video playback in a JMRI throttle frame, I had build something a while ago, I think the code is still there ( jython/Jynstruments/ThrottleFrame/VideoView.jyn ), see (at 0:40), not sure if this still works, there are some comments at the top of the Jython code on how to set it up. Regards; Lionel |
Locked
Re: Turnouts (not) updating on Panel
Hi Steve,
Thanks for the link, i did try that but to no avail, enabled or not it seems to make no difference. I can click on the panel editor and it does change the turnout, but the panel doesn't seem to update its state when the turnout is thrown outside of JMRI. I created a short GIF to show this, first i change the point in the Panel, then change the point in the turnout table, this also updates the turnout position in the Panel, then i change the turnout from the CAB, this changes the state correctly in the turnouts file but the panel doesn't follow the update. I am using 4.15.1+R4a42841 so i could get your (Assuming you are the same Steven Young :) ) improvements to the console etc, not sure if that should make any difference. Cheers Tim? |
Locked
Re: Operations Pro Roster
Thanks Dan and Peter.? Dan, I thought CSV was most likely the easier and more efficient way since the columns would be easier to manage.? I never thought of first exporting a "dummy file" with no data entered.?? Jerry |
Locked
Re: RPi-JMRI image updated
hello Steve,
First of all thanks for your hard work. I downloaded your early January 2019 version. I'm having a Lenz LZV100 and normally use my Lenz 23150 Li-USB to connect with a WIN10 to my central station. That works. But now I would like to switch to the RPI approach. What doesn't work for me is the Auto Identify of the Lenz LIUSB (23150, not the newer 23151). I looked in your script whereyou grep the lsusb output. My Lenz LIUSB is recognized as "Bus 001 Device 005: ID 1111:1234 Pandora International Ltd." I modified the SH script to start the right profile. That works now but I now get the error message "Serial Port ttyACM0 not found". From where does JRMI get this ttyACM0 serial port config ? I only have a ttyS0 and ttyAMA0 available but none of them are talking with the Lenz USB interface. Looking in /var/log/messages I found: Jan 13 11:58:00 RPi-JMRI kernel: [? ? 2.191535] usb 1-1.1.3: new full-speed USB device number 5 using dwc_otg
Jan 13 11:58:00 RPi-JMRI kernel: [? ? 2.335924] i2c /dev entries driver
Jan 13 11:58:00 RPi-JMRI kernel: [? ? 2.338990] usb 1-1.1.3: New USB device found, idVendor=1111, idProduct=1234
Jan 13 11:58:00 RPi-JMRI kernel: [? ? 2.339006] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jan 13 11:58:00 RPi-JMRI kernel: [? ? 2.339015] usb 1-1.1.3: Product: LI USB
Jan 13 11:58:00 RPi-JMRI kernel: [? ? 2.339027] usb 1-1.1.3: Manufacturer: Lenz Jan 13 12:43:16 RPi-JMRI kernel: [ 2713.359458] usb 1-1.1.3: USB disconnect, device number 5
Jan 13 12:43:19 RPi-JMRI kernel: [ 2716.216244] usb 1-1.1.3: new full-speed USB device number 9 using dwc_otg
Jan 13 12:43:19 RPi-JMRI kernel: [ 2716.364524] usb 1-1.1.3: New USB device found, idVendor=1111, idProduct=1234
Jan 13 12:43:19 RPi-JMRI kernel: [ 2716.364532] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jan 13 12:43:19 RPi-JMRI kernel: [ 2716.364538] usb 1-1.1.3: Product: LI USB
Jan 13 12:43:19 RPi-JMRI kernel: [ 2716.364541] usb 1-1.1.3: Manufacturer: Lenz
Jan 13 12:43:19 RPi-JMRI mtp-probe: checking bus 1, device 9: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.3"
Jan 13 12:43:19 RPi-JMRI mtp-probe: bus: 1, device: 9 was not an MTP device
?
The device is recognized but seems not be mapped to anything in /devAny clues how to solve this ? I assume, first by adding a new udev rule. regards, Bruno (JMRI user from Belgium) |
Locked
Re: Cannot read, but can write, with Decoder Pro
Cant seem to edit the last post and both links go to the same image - if you scroll back you can see the default preferences also
/g/jmriusers/photo/81943/1?p=Name,,iain,20,1,0,0 Might be the right link? |
Locked
Re: Cannot read, but can write, with Decoder Pro
Thanks for the reply and suggestion.
I have checked that and everything says that it is set for the Z21 :( I have placed 2 screenshots in an album for you to see Defaults Main Screen Any other ideas? Iain |
Locked
Re: Cannot read, but can write, with Decoder Pro
Check the Preferences, Defaults? if they are all on Z21 and not on Internal or some other option.
I do not own a ROCO system but I played around with PREFERENCES and can replicate the issue (greyed out buttons) and correct them in DEFAULTS. Marc |
Locked
Re: Operations Pro Roster
Not sure if this page helps.
-- Peter Ulvestad JMRI Users Group Moderator - ( ) Tam Valley Group Moderator - ( ) Sprog-DCC Group Moderator - ( ) Edmonton Model Railroad Association - |
Locked
Re: Operations Pro Roster
Jerry,
Better off using the CSV file format.? One trick is to do a file export and you'll get a CSV file with all of the fields labelled for you.? Enter your data in the appropriate columns and then do an import to pull your data into the program. Dan |
Locked
Re: Lights
Hi folks,
Just to clarify, Variable light intensities are NOT available for MERG CBUS at present, the only valid intensity values are 1 and 0 I've got some notes ready to go if / when someone wants to pursue this on the MERG forum, however I've got no immediate use case and? AFAIK there hasn't been a request to add a light specific or general purpose intensity scale event. As Dave's found,?x.setState(ON)?should work just fine, along with the 0 and 1 setIntensity values, Steve. |
Locked
Re: Turnouts (not) updating on Panel
Hi Tim,
If the turnout table is changing to the correct state when messaged from the CAB then that's good :-) This sounds similar to?/g/jmriusers/topic/28956227#155651 ( Changing the Turnout Control to Direct in LE ) ? Steve |
Locked
Re: Laptop Suggestions
Thanks for all your suggestions: I will explore some more of the suggested options in the future. I purchased a new HP Laptop today for less than $400.00 it has all the options I was looking for. the OS is windows 10 I will be loading JMRI and some of my other software give it a test run. A few of the programs I have been running on XP could no longer be updated. so this should allow me to get up to date on some other things as well. Thanks again Chuck Brick NJ |
Locked
Operations Pro Roster
I read that you can develop the Operations Pro roster either as a space- or comma-separated vale file.? With all the categories that can be entered, how does the space-separated file distinguish between the categories?? I take it that in the CSV file, two commas in a row would act as a place-holder? Jerry Michels Amarillo Railroad Museum |
to navigate to use esc to dismiss