Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
Locked
Re: rs232 - usb adapter for pi
If all looks good and we still have a problem I would look at a loop back connectorPutty? Free SSH & Telnet client. |
Locked
Re: rs232 - usb adapter for pi
Okay, found two terminal emulators that work on the Pi with Stretch...
PuTTY and Cutecom Standard install... sudo apt-get update sudo apt-get upgrade sudo apt-get install putty or sudo apt-get install cutecom Found my loop back DB9 (2-3,4-6,7-8) Set the port settings in each program for ttyUSB0 or ttyUSB1 and can see data. If that works then there no problem with the USB dongle. We have some other problem either with JMRI end or C/MRI end. Jim Albanowski |
Locked
Re: rs232 - usb adapter for pi
Raspberry pi Console run sudo lsusb
It will show the USB device types connected not the port name but it's the first step to be sure the Raspbian is seeing the device. Then I would go in JMRI and open the prefs and look at the connections list for the ttyUSBn's With two USB adapters you should have a ttyUSB0 and ttyUSB1. If all looks good and we still have a problem I would look at a loop back connector and a terminal program... which so far I haven't found for the Pi... sigh... I'll keep looking.... The idea is to be sure that even though the USB is detected we're actually getting data out and in... Jim Albanowski |
Locked
Re: rs232 - usb adapter for pi
¿ªÔÆÌåÓýAlso:The most useful further information you can give us is the JMRI System Console log. It can be seen by either: - Going to the Help->System Console menu item, using the Copy to Clipboard button and pasting into a message to the group. - Going to the Help->Locations menu item, clicking on "Open Log Files Location" and uploading the "session.log" file found therein to a folder (with your name) in the "Problems being worked on" folder. --? Dave in?Australia
|
Locked
Re: rs232 - usb adapter for pi
¿ªÔÆÌåÓýSeveral possibilities: 1) The port name changed across the reboot. To check this, enter the following command exactly (with spaces and punctuation but excluding the outmost quotes) and press Enter. "while : ;do clear;ls -lt /dev|head;i=$((i+1));echo $i;sleep 1;done" The command will sit looping and displaying 10 entries. Unplug/replug the adaptor and watch what port name appears/disappears. 2) You manually changed permissions for the port. This does not persist across a reboot. You need to ensure you are a member of the correct group. I'll have to let a Pi expert comment on that. 3) Since you have a Power Pro, there can be a hardware-related connection flakiness issue. For details and fix, take a look at: <> --? Dave in Australia The New England Convention 2018 On 26 Jul 2018, at 6:29 AM, cmitcham@... wrote:
flakey means when i first hooked it up, it worked fine and i made trains move with a jmri throttle. for comfort, i rebooted the pi and then it did not work. not the normal "missing serial port, here is the prefs window to play with", but a red message on the main panelpro window saying the connection was not on. |
Locked
Re: Newbie Alastair's Decoder Pro programming problem (must be an easy fix I hope)
¿ªÔÆÌåÓýThanks for those photos. They answer several of our questions. The most useful further information you can give us is the JMRI System Console log. It can be seen by either: - Going to the Help->System Console menu item, using the Copy to Clipboard button and pasting into a message to the group. - Going to the Help->Locations menu item, clicking on "Open Log Files Location" and uploading the "session.log" file found therein to a folder (with your name) in the "Problems being worked on" folder. --? Dave in Australia The New England Convention 2018 On 26 Jul 2018, at 12:41 AM, Alastair <Raider844@...> wrote:
|
Locked
Re: WiThrottle and JMRI Questions
Classic Auto Portraits
¿ªÔÆÌåÓýDear Spuds,I deleted the one slot entry. It was not a road number, but an EOS..? slot. Sorry, I should've taken a screen shot. Still having the same issues with the WIThrottle not allowing me to address certain loco numbers: Once I've programmed an address, in this case 6035, when I try to enter the address a second time I get the prompt: "Loco 6035(L) In-Use Would you like to acquire this address?" When I click the YES button nothing happens, even with repeated pressing. When I click the NO button the window disappears, but the cycle repeats and remains NOT SET. This seems totally random. For example I just tried entering "03," which has not been a problem. Now I get the same prompt. I can acquire, control and release all numbers with the JMRI throttle. I can acquire, control and release all numbers with the Digitrax 402 throttle. This has really got me stumped. Attached below as a JPEG are screenshots of all the JMRI screens in my current configuration. Perhaps this will give us a clue? Regards, Robert Diepenbrock On 7/25/18 1:53 AM, Spuds McCat wrote:
|
Locked
Re: rs232 - usb adapter for pi
flakey means when i first hooked it up, it worked fine and i made trains move with a jmri throttle. for comfort, i rebooted the pi and then it did not work. not the normal "missing serial port, here is the prefs window to play with", but a red message on the main panelpro window saying the connection was not on.
of course it was time to quit for the night, so i'll play more in a couple days. the command station is nce ph-pro, and it is about 20 feet away. homemade cable from nce to adapter from cat5 cable with soldered on 9 pin connectors. |
Locked
Re: Operations With Staging Yard
Phil,
If you have a train on each track in staging, you need to either add another "virtual" empty track in staging for the train to return to. Or change the build mode to "Aggressive" and select the option to "Make the departure track available after train is built".? This tells the program to reuse a staging track even if the train hasn't departed.? Here's the link to the help: http://jmri.sourceforge.net/help/en/package/jmri/jmrit/operations/Operations.shtml#SettingsOptions Dan |
Locked
Operations with Staging yard
¿ªÔÆÌåÓýHere is how I solved it where the length of the track is limited and so the switcher could not put cars back on the track until I added another track the same length. ? This is a separate location (Red Bluff-1) from the industries (Red Bluff industries) ? ? Switcher Route looks like this: ? ? ? At another location where my interchange track was longer than needed for setouts and pickups, this was not needed. ?However, in Red Bluff I wanted the program to limit how many cars were set out on the interchange track after crews complained about too much work in that location. ? Hope this helps, ? Gary Ray |
Locked
Re: Operations With Staging Yard
Hi Phil,
toggle quoted message
Show quoted text
I'm just finishing up programming my newly expanded layout and have run into that problem. The cause was the staging track is not freed until the current train is terminated. I had the train return to a ghost track of the same length. For example - staging and staging-1. Hope this helps. Gary Ray (learning - not an expert) -----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Phil Miller Sent: Wednesday, July 25, 2018 11:03 AM To: [email protected] Subject: [jmriusers] Operations With Staging Yard I am transitioning from car card/waybill car forwarding to JMRI generated switchlist. The standard gauge portion of my layout is a switching layout in which trains enter from staging heading to a single destination, drop their cars, pick up cars from either a west bound or east bound departure track, and return to the staging track from which they came. There are four trains currently in staging. The car roster has been built and locations generated and entered on the roster. I have been trying to build the trains in staging with no luck. The build report gives the reason for failure as ¡°Note that the program requires an empty staging track for each train! All staging tracks are occupied, reserved, or cannot service the train.¡± For each staging track I have specified the train designation for that track, car type serviced by the track, and verified that the car roster current locations match with the car type served. Thank you for your assistance. Phil |
Locked
Re: Dispatcher
Thanks Dave for sending the panel back to me, i managed to run it in "offline" mode but as soon as i changed the dispatcher settings to My layout i got the same problem.
Looking at the connection bit, i noticed it was connecting to "My Layout" with "Signal Heads", as soon as i changed this to "signal masts" the problems went away. I have now managed to dispatch a train round half of the layout so that is great progress! Thanks for your help. Tim |
Locked
Operations With Staging Yard
I am transitioning from car card/waybill car forwarding to JMRI generated switchlist. The standard gauge portion of my layout is a switching layout in which trains enter from staging heading to a single destination, drop their cars, pick up cars from either a west bound or east bound departure track, and return to the staging track from which they came. There are four trains currently in staging. The car roster has been built and locations generated and entered on the roster. I have been trying to build the trains in staging with no luck. The build report gives the reason for failure as ¡°Note that the program requires an empty staging track for each train! All staging tracks are occupied, reserved, or cannot service the train.¡± For each staging track I have specified the train designation for that track, car type serviced by the track, and verified that the car roster current locations match with the car type served. Thank you for your assistance.
Phil |
Locked
Re: Dispatcher
Hi Dave,?
Just to follow up, i have tried to follow the same, delete everything let JMRI auto allocate signal paths / sections & also doing it manually, etc etc but it seems to get stuck on the same bits 2018-07-25 18:24:22,420 jmri.Section? ? ? ? ? ? ? ? ? ? ? ? ? WARN? - Section - IY:AUTO:0006(UM 1:1), 1 anchor point signal heads missing, 2 turnouts missing signals [AWT-EventQueue-0]
2018-07-25 18:24:22,420 jmri.Section? ? ? ? ? ? ? ? ? ? ? ? ? WARN? - Section - IY:AUTO:0007(UM 5), 2 anchor point signal heads missing, 2 turnouts missing signals [AWT-EventQueue-0]
2018-07-25 18:24:22,420 jmri.Section? ? ? ? ? ? ? ? ? ? ? ? ? WARN? - Section - IY:AUTO:0008(UM 1:3), 2 anchor point signal heads missing [AWT-EventQueue-0]
2018-07-25 18:24:22,420 jmri.Section? ? ? ? ? ? ? ? ? ? ? ? ? WARN? - Section - IY:AUTO:0005(UM 1:2), 1 anchor point signal heads missing, 2 turnouts missing signals [AWT-EventQueue-0]
2018-07-25 18:24:22,420 jmri.Section? ? ? ? ? ? ? ? ? ? ? ? ? ERROR - Unexpected error in getDirectionForBlocks when working with LevelCrossing in Section IY:AUTO:0006 [AWT-EventQueue-0]
2018-07-25 18:24:22,420 jmri.Section? ? ? ? ? ? ? ? ? ? ? ? ? WARN? - Section - IY:AUTO:0006(UM 1:1), 1 anchor point signal heads missing, 2 turnouts missing signals [AWT-EventQueue-0]
Would it be possible to upload the panel you created so i can do a compare contrast? Interestingly when i was working on it last night the top right section was showing as assigned to a block, it was only when i re-opened the file today did it show as un-assigned. Many thanks Tim |
Locked
Re: Consist Throttle Problems with F Functions
I have used both advanced and command station consisting in the JMRI consist manager. I'm not sure about the hard consist method. I did some trouble shooting with Steve Todd. The native JMRI throttle is not working either so I brought the question here.
|
Locked
Newbie Alastair's Decoder Pro programming problem (must be an easy fix I hope)
Hi All, ? I am a relatively inexperienced Decoder Pro user. And I have a challenge that I would like to overcome.? I am sure there must be a simple fix for this but I cannot find it.? About 6 months ago (the last time I used the system) everything was working correctly but now it is not.? I have not changed anything physically or in DecoderPro as far as I can tell. ? The situation is as follows: I am using Windows 10. I am using a Lenz System ¨C LZV100 with latest 3.6 version soft/firm ware and an LI101F interface.? I am using Decoder Pro v4.12. ? I believe I have all my preferences set correctly :- Connections (and I have verified with Device Manager that the LI101H is on COM3): ? Defaults: ? See image in?/g/jmriusers/album?id=64949? ? All other preferences (after discussion with a friend who is a bit of a Decoder pro guru - but unfortunately he could not solve my problem and suggested I place a post on this group) appear to be correct. ? I can control locomotives with the Decoder Pro throttle. I can add a new loco on my programming track.? As I am going through the adding process I see all the variables, tabs, etc. and alter them if I wish.? I can save the file to the roster.? I can check that the roster file is correct by viewing it in WordPad. ? The problem is as follows: When I select a recently (or previously) added loco, see image in?/g/jmriusers/album?id=64949?? ? And then press ¡°Program¡± nothing happens. Nothing happens whether I am in ¡°Programming Track¡±, Programming on Main¡± or ¡°Edit Only¡±. ? So I can add locos but after I save them to the roster I cannot program them any further. ? Please can someone help me sort this ? ? Thank you very much for any help give. ? Cheers, ? Alastair |
Locked
Re: Engine Driver Suggestion
After all that, I had to look up T.L.A., which was a bit of a D.'O.H. Wouter On 25 July 2018 at 15:43, G Sinos <gsinos@...> wrote: Just a note ?- it may be helpful to go to the web site and watch the videos, and download the manual. The PT was developed as open source. There is a link to github where all of the code and pertinent info is freely available. The developers have stated they encourage others to build on their work. |
Locked
Re: Dispatcher
Hi
toggle quoted message
Show quoted text
If you are going to use the autoallocate feature of dispatcher then the use of auto generated sections and transits can lead to failure in any situation involving single track two way running, safe sections, crossings, slips etc. It will work reliably only if you run one auto allocated train at a time. It will work if you have no complex junctions or crossings on the route. This is because most of the auto allocate conflict detection is predicated on a block only being in one section, that is there is only one section for a given section of track which is reused in transits regardless of direction or destination. Generation of auto allocated section creates sections, unnecessarily, in both directions, or overlaps sections. Because it creates sections from mast to mast it inevitably creates sections that start with as switch followed by a block. This will lock the switch until that block attached is cleared, this sometimes leads to a deadlock when 2 trains meet on a single track line at a passing siding. Steve G. ---------- Original Message ---------- |
Locked
Re: Comsist Throttle Problems with F Functions
Jay
Hi!
Another question. Did you consist them in JMRI? The "Hard consist" method? That is what I have been using. There may be an issue between JMRI & Engine Driver. I can't test that right now, my test bed is in for repair. You might try looking here:? You can contact Steve there also. Jay |
Locked
Re: Engine Driver Suggestion
Just a note ?- it may be helpful to go to the protothrottle.com web site and watch the videos, and download the manual. The PT was developed as open source. There is a link to github where all of the code and pertinent info is freely available. The developers have stated they encourage others to build on their work.
gs |