¿ªÔÆÌåÓý

Date

Locked Re: rs232 - usb adapter for pi

 

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....
Putty?


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

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.

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: 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.

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: 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:

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 ?

?


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:

You should always dispatch a loco, stealing is bad. :)

Is your phone connected to the same wifi Jmri is, and as such using withrottle, or on the lnwi's private wifi, and as such talking to it?

I suggest opening up (under loconet) the slot monitor, and clearing the slots with the misbehaving engine numbers.



On Tue, Jul 24, 2018, 11:17 Classic Auto Portraits <classicautoportraits@...> wrote:
Dear Spuds,

Thanks for your reply.
I Upgraded to JMRI 4.12 which solved the iso-track programming issue.

Still having the WiThrottle issue. I have a query into JMRI tech Support.
The WiThrottle will not allow me to change addresses. 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. I tried to delete the Roster addresses, It's like the WiThrottle gets "stuck."I also get the prompt "Unable to load JMRI WebServer page."
This issue is across three different devices, one iPad and 2 iPhone, get the same prompt and the same non-function.
This issue only occurs with certain 4 digit numbers. Below is a comparison "Chart."

Loco Address??? Digitrax Throttle??? JMRI Throttle (computer)??? WiThrottle
6005??? ??? ??? ??? OK??? ??? ??? ??? ??? ???? OK??? ??? ??? ??? ??? ??? ??? ??? ??? ? OK
6035??? ??? ??? ??? OK??? ??? ??? ??? ??? ???? OK??? ??? ??? ??? ??? ??? ??? ??? ??? ? NO
6051 ?? ??? ??? ??? OK??? ??? ??? ??? ??? ???? OK??? ??? ??? ??? ??? ??? ??? ??? ??? ? OK
7614??? ??? ??? ??? OK??? ??? ??? ??? ??? ???? OK??? ??? ??? ??? ??? ??? ??? ??? ??? ? NO
3??? ??? ??? ??? ??? ? OK??? ??? ??? ??? ??? ???? OK??? ??? ??? ??? ??? ??? ??? ??? ??? ? OK
See images below:

An additional issue is I can't get JMRI ProgramPro Throttle (on my computer) to run locomotives.
The Digitrax throttle runs everything fine.?
?
Any ideas?
THANKS in advance for the help.
Robert Diepenbrock








On 7/24/18 11:05 AM, Spuds McCat wrote:
4.10 has some loconet slot 'issues', upgrade to 4.12 which came out last week.?

How is the computer/Jmri connected to the 240?

The LW?I is independant from JMRI, a phone connected to it wont show in JMRI



On Fri, Jul 20, 2018, 19:48 <classicautoportraits@...> wrote:
Dear JMRI Users,

I just joined the group and this is my first post. To all you WiThrottle-JMRI-Mac "gurus,"

I recently converted my N Scale layout from DC to DCC. I installed a Digitrax DSC240 Advance Command Station with Digitrax LNWI Loconet Wifi Interface.
I downloaded JMRI Panel Pro and Decoder Pro 4.10 Software and installed it on my MacBook Pro running OSX 10.10.2 Yosemite
I purchased, downloaded and installed WiThrottle on my iPad.
The Digitrax DSC240 Advance Command Station is connected to an isolated programming track per the manual. The WiThrottle is connected via the Digitrax LNWI Loconet Wifi Interface.

I'm having two issues:
1. I cannot program any locomotives on the isolated programming track.
The JMRI Decoder Pro software is giving me the prompt: "Programmer error. Programmer busy (302)" (See JPEG image below)
The WiThrottle JMRI webpage states:
302 ¡ª programmer busyThe command station has reported that it's busy doing something else, and can't do any programming right now.This usually means that some other part of the DCC system is doing a programming operation, e.g. a hand-held throttle.Some DCC systems can't do ops-mode programming (programming on the main) while also using the service mode programming track, in which case they'll return this error message.
I'm not doing any programming anywhere else on the layout.______________________

2. The WiThrottle will not allow me to change addresses.After entering address the address is displayed in "Recents." 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. I tried to delete the Roster addresses, It's like the WiThrottle gets "stuck."I also get the prompt "Unable to load JMRI WebServer page." It appears that the WiThrottle is not "seeing" the the server" (my MacBook Pro).See JPEG graphic below.

The PanelPro appears to "see" the WiThrottle in the "Advertising WiThrottle" window, but no device is showing the the Device Name window. The DecoderPro doesn't "see" the WiThrottle in the "Advertising WiThrottle" window, and no device is showing the the Device Name window. See JPEG graphics in photo section under WiThrottle and JMRI Questions.
I suspect these issues may be connected and may have to do with the drivers.

PLEASE ADVISE,Regards,Robert Diepenbrock



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


Virus-free.


Locked Re: Operations With Staging Yard

 

Hi Phil,

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.
? See image in?/g/jmriusers/album?id=64949?

?

I believe I have all my preferences set correctly :-

Connections (and I have verified with Device Manager that the LI101H is on COM3):
? See image in?/g/jmriusers/album?id=64949?

?

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.

gs



Locked Re: Dispatcher

 

Hi
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 ----------
From: Dave Sand <ds@...>
Date: July 25, 2018 at 10:11 AM


Tim,

SML is signal mast logic.

I always use automatic discovery. I then test using simulated occupancy
sensors and manual turnout settings to verify that the logic is correct. The
most likely failures are caused by double cross-overs.

On your layout, I deleted the existing transit, sections and SML. I also used
the Block table "Paths >> Delete Paths¡­" option. I then saved the panel xml
file, stopped and re-started PanelPro. After a lot of changes, the block
routing can get out of whack. This creates a new set of block routes, which
is the basis for SML.

I then used the signal mast logic table to generate the signal mast logic and
the sections. The section generation also creates the direction sensors for
each section.

After those steps were done, I created a transit, a train and ran it around
the layout using occupancy sensor buttons on the panel.


Dave Sand


On Jul 25, 2018, at 2:37 AM, timbancroft@... wrote:

Hi Dave,

Thanks for this, to be honest i thought i had gone through that process of
getting each section right but its a bit of a steep learning curve, been at
this for all of a week now!

I will look at the block assignment when i get back home, when you talk
about the SML (assume this is signal mas logic) is the best way to let JRMI
auto generate all of the logic or is human intervention better?

Many thanks for your time
Tim



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