¿ªÔÆÌåÓý

Date

Locked Re: Maintaining JMRI files on a Flash Drive possible?

 

What do you mean by ¡°not there¡±? Not on the flash drive?

Bob

On Jun 9, 2019, at 10:23 AM, DanB <dbrr@...> wrote:

I tried copying the files to the flash drive from the basement computer and setting both iterations of JMRI to use the flash drive, but when I opened the upstairs computer, the files were not there (seemingly erased?).

Am I going about this wrong? Is what I want to do not possible?
--
Bob Jacobsen
rgj1927@...


Locked Re: Dropping loco image file in Roster Media Pane #rpi #rosterimage

 

Rajendra@... Where is the roster file that your RPi is using? I presume on the RPi. Are you adding the media file to the RPi file location or to another version of the roster file on a computer that you previously copied for installation on the RPi?

Jan


Locked Re: Help with NCE

 

Check whether DecoderPro is configured to connect via COM3, then set PanelPro to use whatever DecoderPro is using.

Bob

On Jun 9, 2019, at 12:31 PM, Pete LaGuardia via Groups.Io <pete.laguardia@...> wrote:

here is a snapshot of my system console

2019-06-09 15:30:36,647 usbdriver.UsbDriverAdapter INFO - NCE USB COM3 port opened at 9600 baud [main]
--
Bob Jacobsen
rgj1927@...


Locked Re: JMRI - WI Throttle No Connection - Using Sprog 2 V3

 

Peter: I'm always a bit suspicious when a virtual computer (in this case a Win 10 computer running in Parallels) is involved because firewalls and port assignment complexities are multiplied. Why not run JMRI directly on the Mac? As a Java program it will run natively and doesn't need the intermediary of Parallels to get to a Windows OS.

Jan?


Locked Re: Maintaining JMRI files on a Flash Drive possible?

 

You could also use a file share between computers, if they are both connected to your network.
For Windows Remote Desktop, VCE, or something else like that if you don't want to use cloud storage.




On Sunday, June 9, 2019 Peter Ulvestad <[email protected]> wrote:

I would recommend using cloud storage.


--
Peter Ulvestad

JMRI Users Group Moderator - ( )
Tam Valley Group Moderator - ( )
Sprog-DCC Group Moderator - ( )
Edmonton Model Railroad Association -



Locked Re: USING JMRI WITH MULTIPLE SYSTEMS

 

Howard: You've got a great variety of systems all working together - congratulations. I don't know anything about most of them but I do know you don't need both a PR4 and a Locobuffer. They both provide an interface between Loconet and USB. The PR4 will also do decoder programming. But using either will require a physical wire connecting your layout to your computer so you will have a "wire running down your wall". I have a Locobuffer and it has worked flawlessly from the beginning. PR4 is a newer device and I see quite a few questions about it on this forum, most of which seem to revolve around confusion in setting it up either as an interface or as a standalone programmer.

But the bigger question is why are you wanting to set up a Loconet just for block detection if you already have a Megapoints detection system (which I know nothing about but presume does not use Loconet)?

Jan?


Locked Re: Help with NCE

 

here is a snapshot of my system console

2019-06-09 15:30:33,963 util.Log4JUtil??????????????????????? INFO? - * JMRI log ** [main]
2019-06-09 15:30:33,979 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: C:\Users\Pete LaGuardia\JMRI\log\messages.log [main]
2019-06-09 15:30:33,979 util.Log4JUtil??????????????????????? INFO? - This log is stored in file: C:\Users\Pete LaGuardia\JMRI\log\session.log [main]
2019-06-09 15:30:33,979 apps.Apps???????????????????????????? INFO? - PanelPro version 4.0.1-r29956 starts under Java 1.8.0_60 at Sun Jun 09 15:30:33 EDT 2019 [main]
2019-06-09 15:30:36,350 apps.Apps???????????????????????????? INFO? - Starting with profile Pete_LaGuardia.3f57c1bf [main]
2019-06-09 15:30:36,647 usbdriver.UsbDriverAdapter??????????? INFO? - NCE USB COM3 port opened at 9600 baud [main]
2019-06-09 15:30:37,068 util.FileUtilSupport????????????????? INFO? - File path program: is C:\Program Files (x86)\JMRI\ [main]
2019-06-09 15:30:37,068 util.FileUtilSupport????????????????? INFO? - File path preference: is C:\Users\Pete LaGuardia\JMRI\Pete_LaGuardia\ [main]
2019-06-09 15:30:37,068 util.FileUtilSupport????????????????? INFO? - File path profile: is C:\Users\Pete LaGuardia\JMRI\Pete_LaGuardia\ [main]
2019-06-09 15:30:37,068 util.FileUtilSupport????????????????? INFO? - File path settings: is C:\Users\Pete LaGuardia\JMRI\ [main]
2019-06-09 15:30:37,068 util.FileUtilSupport????????????????? INFO? - File path home: is C:\Users\Pete LaGuardia\ [main]
2019-06-09 15:30:37,068 util.FileUtilSupport????????????????? INFO? - File path scripts: is C:\Program Files (x86)\JMRI\jython\ [main]
Jun 09, 2019 3:30:37 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
2019-06-09 15:30:46,787 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 0 [Transmit]
2019-06-09 15:30:46,896 nce.NceConnectionStatus?????????????? WARN? - Incorrect or no response from NCE command station [Transmit]
2019-06-09 15:30:56,912 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 1 [Transmit]
2019-06-09 15:30:57,021 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [Transmit]


Locked Help with NCE

 

Need help with NCE connecting to Panel Pro.? Decoder Pro works but PanelPro does not.


Locked Re: YAAT sensor problem

 

I run YAAT ver 1.6?

I never tried to change? ?the profile??
I download? JMRI ver? 15.5 and both scripts (YAAT and BackAndForth) run with no problem as I try to test them
I run? under? the NetBeans jMRI? ver? 15.3? and when? ?I run the BackAndForth? script? i got the error about the sensors as? mention above? ( did not try the YAAT yet )
Both cases the Preference and profile are the same?
Will? download the sources? for 15.5 ( Doing some mod for myself )
Thanks for help?
Doron


Locked Re: Maintaining JMRI files on a Flash Drive possible?

 

I would recommend using cloud storage.


--
Peter Ulvestad

JMRI Users Group Moderator - ( )
Tam Valley Group Moderator - ( )
Sprog-DCC Group Moderator - ( )
Edmonton Model Railroad Association -


Locked Maintaining JMRI files on a Flash Drive possible?

DanB
 

Greetings!

I am fairly new to JMRI, and am beginning the setup of my system. My railroad is in the basement, but I'd like to work on JMRI setup on another computer from time to time.?

My original files with my engine and car rosters are on the basement computer attached to my railroad (using NCE USB Connection - NCE PowerPro system) and I want to use that base data in both places (not simultaneously).

I tried copying the files to the flash drive from the basement computer and setting both iterations of JMRI to use the flash drive, but when I opened the upstairs computer, the files were not there (seemingly erased?).

Am I going about this wrong? Is what I want to do not possible?

Thx! Dan


Locked Re: YAAT sensor problem

 

Doron,

I tested BackAndForth.py with the only change being the forward and reverse sensor names and it worked as expected.

Looking at the session.log from June 2nd, there is at least one issue.

File path program: is C:\Program Files (x86)\NetBeans 8.2\Projects\jmri-ver11\JMRI-master\JMRI\ [main]
File path preference: is C:\Program Files (x86)\JMRI\xml\ [main]
File path profile: is C:\Users\doron\JMRI\My_JMRI_Railroad\ [main]
File path settings: is C:\Users\doron\JMRI\ [main]
File path home: is C:\Users\doron\ [main]
File path scripts: is C:\Program Files (x86)\JMRI\jython\ [main]

The main issue is preference:. ?It will normally be the same as profile:. ?This also caused the decoder errors which led to the OutOfMemory failure.

INFO ?- update decoder index [initialize decoder index]
ERROR - Failed to delete old index file [initialize decoder index]

You may want to try testing with a normal install (instead of NetBeans) and use a new profile.

A couple of unrelated comments.

When you create a internal sensor using a full name such as IS101, you end up wit ISIS101 since the sensor create process automatically adds the appropriate prefix based on the connection selection. ?To end up with a system name of IS101, enter 101. ?This also applies to turnouts and lights.

It is no longer necessary to use a memory icon to display the block contents value. ?The Block Contents icon provides the same capability automatically.

You never said which version of YAAT your were running. ?I suspect the profile issue may have contributed to the problems you we¡¯re seeing. ?You might try YAAT again with the new profile.


Dave Sand




On Jun 9, 2019, at 7:45 AM, Doron Berezovitz <doronberezovitz1@...> wrote:

Hi
For some reason that ? may help you find the problem. Only when i add to script?

"from?jmri?import?InstanceManager"?

and change the line ?from?
#self.fwdSensor = sensors.provideSensor("ISIS1")

to?

self.fwdSensor ?= InstanceManager.sensorManagerInstance().provideSensor("ISIS1")
the BackAndForth.py run

Doron


Locked Re: Questions about adding sensor icon to Layout Panel

 

As expected, the experts provided the answers! ?Thanks. ?I think I¡¯ll create arrows of the sizes I want and hopefully all will be well.

jerry
___________________________________
jerryg2003@...


Locked Re: Decoder Pro 14.4 How do I print the CV's sheet onto a single page ?

 

I don¡¯t see any changes in the code for printing the list of CVs..

Perhaps you had your printer set for multi-column output, or had it printing two pages per side of paper?

Bob

On Jun 8, 2019, at 11:27 PM, Warren Baker <warrennbaker@...> wrote:

Hi Dave,

Thanks for your reply, all my decoders are Soundtraxx Tsunami 1000 or Econami.

There are approximately 124 CV's in each.

As I mentioned below, I was able to print all CV's onto a single page on an old (2.12) version but haven't been able to version 4.14

Regards,
Warren
--
Bob Jacobsen
rgj1927@...


Locked Re: USING JMRI WITH MULTIPLE SYSTEMS

 

Gentleman

I have learnt a lot reading through this thread and basically understanding that just about anything is possible if you know what your doing. Well a little bit of knowledge is dangerous in my case.? I would like some help to confirm what I need to buy next.

I have an Prodigy MRC Elite DDC system. Which is running the layout and controlling the UK made Mega points system.

I also have a wireless MRC computer USB connection talking to the Prodigy DDC and then using JMRI is controlling my points (Switches) and routes.? All works brilliantly. ?So so far I no connections other then wireless from the Windows PC to the DDC system. No wires running down the walls.

I also started to install Mega points block detection in anticipation of a future solution to talk back to JMRI.? ?However, I additionally purchased Digitax BDL168 and RX4s primarily??ready for transponding to work with a Surroundtraxx purchased but yet to be installed. Then of course I realised these BDL168 also have block detection capability. I basically duplicated my block detection hardware.? Reading and learning a little everyday I realised the Digitrax can and or should feed back to JMRI via locoNet the block detection.? Plus perhaps transponding?

?

So what do I need to connect these BDL168s back into JMRI? is it ?the ?¡°PR4 USB to LocoNet Interface with Decoder Programmer ¡° ??I also read about needing a ?¡°LocoBuffer-USB¡± Do I need both of these and or is there something else I am missing?

The good news is the Mega points block detection I already got, I can use for other tasks so I can and will re-purpose these.


Locked Re: New Macbook Air, Mojave, PR3 - problems...

 

Steve,

Have you performed the debugging steps located at ?

Dave Sand

On Jun 9, 2019, at 8:25 AM, Steven Haworth <haworth7@...> wrote:

Has anyone tried using JMRI on a new Mac, to a PR3?

This worked on my older Mac, but the new one has a new type of USB. I have an adapter (just a new physical connector), but JMRI can't connect to the PR3 using either of the two serial ports.

After some playing around with connection prefs, Decoder Pro ended up hanging, forcing a restart to finally clear it. I have more debugging to do, but was wondering if anyone else has seen this type of behavior?

Using JMRI 4.14.0, Mac OS is Mojave 10.14.5, and Java is latest version.

The PR3 is an older version, and I have NOT updated it to supporr 64-bit connections, which apparently is needed only for Windows. However, this new Mac is certainly 64-bit native, so I'm wondering if that's a next step.

If this doesn't work though, I want to continuing using the old Mac, and don't want a PR3 update to break that (currently working) setup.

- Steve Haworth
RGS history -
Blog - FB -


Locked Re: Questions about adding sensor icon to Layout Panel

 

Cliff, Jerry,

Cliff: ?I show the image height to be 63 which means the content cannot be symmetrical since half of 63 is 31.5.

The Size & Position tab in Properties applies to the ¡°box¡± around the object, such as an image or text. ?I use this a lot to display a sensor as a button by using the "Change to Text¡± option and setting the text color and content based on the sensor state along with creating a box around the text. ?An example is the Reset sensor button at?interlocking.png

Jerry: ?When you use the "Overlay Icon with Text¡± option, the rotation is applied to BOTH the text component and the image. ?There is no provision for separate rotation settings. ?The other result of the overlay option is that scaling is ignored. ?While the Layout Editor does not explicitly support scaling, modifying the XML will result in a scaled image if there is no text overlay. ?


Dave Sand



On Jun 9, 2019, at 1:02 AM, Cliff Anderson <cliffaa@...> wrote:

Jerry,

Just checked and Dave Sand types faster than I do.?He knows a lot more about Layout Panel editor than I do too.?Perhaps some different information is?provided here anyway.

Splitting your queries into three separate, but related topics:

First issue is that the rotated arrow isn't level with?the non-rotated one even though they both have the same y position.?

Based on the fact that the properties for the Arrow 5 file, show the height to be an even number of pixels, and the fact that the image is not symmetric?with the center line, which is impossible without altering the actual file, there is always going to be a discrepancy of one pixel up or down when rotated.

The easiest way to combat this is to make a copy of the file and save it in your profile:resources\icons\decorations or your?settings:resources\icons\decorations folder and then edit the copied file to be symmetric with respect to a center line.?Increasing or decreasing the?height property by one pixel will make that task even easier.

Second?issue is that the text is inverted in the rotated arrow - is there any way I?can get the text to be rightside up??

You could try using the property of?"Overlay Icon with Text..." from the right-click pulldown menu, but I am getting two copies of the text, one upside?down and one right side up and both on top of each other.?Maybe a bug?

A safer way would be to make a rotated copy of your edited version from the suggested fix for the first question.?That may be cumbersome, but at least?you will have the final control.

Third issue is that I can't size the?arrow, either by changing the size, or by going into the XML of the panel file?and changing the scale?(scale doesn't show up on the pulldown in the Layout?Editor when I right click over the icon) .?

The size option in the icon's "Size & Position" tab of the "Properties..." menu item in the pulldown menu seems to provide an offset option in my testing.?The size option is one that I don't remember using.?Someone else will have to provide some suggestions.

That is, unless you are willing to go back to suggestion one and change the size of the copied Arrow 5 image file.

Perhaps the size option has a bug too?

Cliff in Baja SoCal


Locked PanelPro 4.15 Dispatcher and Auto Train Running

 

Layout Mildura Station, Victorian Railways, transition era
PanelPro 15.4.4 (this was the latest test release when I started implementing automatic train running and I was loathe to try newer releases as I got things functioning before the Exhibition)
MacOS 10.12
DCS100 command station
PR4 interface
Layout with full block detection via loconet devices.
All cars with resistive wheelsets
All mainline turnouts and loop turnouts controlled via loconet.
Signal Mast Logic implemented with simple 3 aspect model train signals on panel.? (The visible layout has minimal working semaphore signals appropriate to the era.)

This weekend I have had my layout at an exhibition running trains with Dispatcher and Automatic Train Running.?? The layout has a bidirectional single track mainline with a central 4 track station and yard visible to the public.? At each end I have hidden balloon loops/staging to reverse and hold the trains.? One loop has 4 staging tracks the other has 2 staging tracks.?? Each train has its own home staging track and I use the station yard Track #2 for Westbound trains and Track #3 for Eastbound trains.? Track #1 is reserved for Passenger services and Track #4 for a high priority Express Freight.

A Westbound Transit starts from its designated East staging track and travels onto the single track mainline and into Station track #2.? After a brief Safe Working Pause the train then proceeds on the single track mainline to the West staging and return loop.? Again a brief Pause before returning Eastbound along the single track main to Station track #3 and then back to its home track in the East Staging.? Once the train completes its transit it waits a fixed time before restarting.? Each train has a different wait time resulting in some randomisation of trains appearing on scene.? Often while paused another train in staging will depart and the Paused train will wait until the portion of the transit to the next Safe section becomes available.? Along each transit trains vary in speed as appropriate, whistle at road crossings and do stop, pause restart in the station yard.? Three trains live in the East staging and one in the West Staging always leaving one track free for other trains to pass through on.

The setup worked very well with generally at least one train on scene at all times and often 2 active trains visible to the public.
Other modellers at the exhibition were most impressed with the capabilities of JMRI and even the General Public were enthralled with the constant activity and variety of trains appearing on the layout.? I was able to run the layout single handed and still spend a lot of time interacting with people where previously it has required 2 or 3 of us constantly trying to keep the traffic moving.

With 3 auto trains dispatched the system appeared bullet proof but with 4 trains one train would occasionally fail to stop at a "held" Red signal. (SPAD - Signal Passed at Danger)) This would happen at a frequency of once every few hundred train movements and could be accommodated with manual intervention (To Manual on whichever auto train misbehaved)
With 5 or more auto trains the occurrence of a single train failing to stop or the simultaneous release of 2 trains into a single line section was very common. (maybe in in 10 train movements)
Am I pushing the boundaries of the current automatic train operation or are there maybe some different Option settings that would help?

My current Dispatcher Options are:
Use Layout Panel and use SML
(on) Trains from Roster
(on) Layout has block detection hardware
(on) Automatically allocate Sections to Active Trains
(on) Automatically set points when a Section is allocated
(off) Trust Known State of Turnouts
(on) Use Short Active Train Names
(on) Place Train name in starting Block
(off) Place Roster Entry in starting Block
(on) Use alternate color for allocated Blocks
(off) Support Virtual Sound Decoder Positioning
Layout Scale HO
Units Scale Feet
StoppingSpeed Medium
Min Throttle Interval 100 milliseconds
Time to Fully Ramp 10,000 milliseconds
(off) Open Dispatcher with Panel

Activate New Train Allocation Method
allocate to next Safe Section
Is there any help on how the Train Priority works?? Is 1 the highest or lowest Priority?? It did not seem to make any difference in the order Dispatcher automatically released trains what Priority had been set for an individual train.

There were several other bugs I have noted.
1. I was running a x4 fast clock with 24 hr display.? If a train arrived back into staging at say 23:50 with a 20 minute delay before being redispatched, Dispatcher would Display 24:10 as the next dispatch time.? However the Fast Clock would roll over to 00:00 and never get to 24:10.? Hence the train would never restart.? I haven't tried with a 12 hour display.

2. Within a Transit each Section has an option to have a "Pause Allocation Sensor".? My interpretation of this is if this Sensor is Active on a Train entering this Section the Forward allocation of Sections in this Transit would be inhibited until the Sensor went Inactive.? This would be very useful to hold a train mid transit (eg while Paused) without blocking the forward mainline for other train movements.? I was not able to get this to work as expected.? Is this feature implemented now, a future development, or just I am misunderstanding its function?

3. Other than the Pause Allocation Sensor is there any other way to hold the forward allocation of sections while a train is paused mid transit?

4. Occasionally a train would fail to stop at the Held Red at the end of a Transit.? It would be very nice to have an action to Stop a Train at the end of a Transit but still allow it to be redisatched after a given delay time.? Pause will only Pause a train for a defined period and Set Speed does not allow setting a speed below 10%.

5. I found that occasionally a Sound Decoder equipped loco would fail to receive the horn off command after a Sound horn action was issued, leaving the horn sounding continually until the next horn action was issued.? This is very annoying with a horn sounding continually at the end of a transit or during an "in Transit" Pause!? This was easily overcome by adding a delayed Action "turn function 2 off" each time a Sound Horn Action was issued but painful to have to enter for 10 or more sound horn actions for each transit.? It would very nice if a double turn horn off command was issued (maybe with about a 100ms delay between commands) each time a turn horn on function or sequence was issued.? Also I could not get the sound horn sequence to work as I expected and resorted to multiple single Sound Horn Actions with suitable delays to get double or triple blasts of the horn approaching road crossings.

I would like to thank those who are working on the Dispatcher, Transit and Automatic Train Running portions of PanelPro for the great job they have achieved so far and while it was a fairly steep learning curve, to have exhibition standard operation with 4 trains running back and forth over multiple sections of birectional main with constant crosses at the central station for a full a weekend has been a great satisfaction both to myself and fellow modellers.

many thanks

Don McGilvery
Melbourne, Australia


Locked New Macbook Air, Mojave, PR3 - problems...

 

Has anyone tried using JMRI on a new Mac, to a PR3?

This worked on my older Mac, but the new one has a new type of USB.?? I have an adapter (just a new physical connector), but JMRI can't connect to the PR3 using either of the two serial ports.?

After some playing around with connection prefs, Decoder Pro ended up hanging, forcing a restart to finally clear it.? I have more debugging to do, but was wondering if anyone else has seen this type of behavior?

Using JMRI 4.14.0, Mac OS is Mojave 10.14.5, and Java is latest version.

The PR3 is an older version, and I have NOT updated it to supporr 64-bit connections, which apparently is needed only for Windows.? However, this new Mac is certainly 64-bit native, so I'm wondering if that's a next step.

If this doesn't work though, I want to continuing using the old Mac, and don't want a PR3 update to break that (currently working) setup.

- Steve Haworth
RGS history -
Blog - ?????????????? FB -


Locked Re: YAAT sensor problem

 

Hi
For some reason that? ?may help you find the problem. Only when i add to script

"from jmri import InstanceManager"

and change the line? from?
#self.fwdSensor = sensors.provideSensor("ISIS1")

to

self.fwdSensor  = InstanceManager.sensorManagerInstance().provideSensor("ISIS1")
the BackAndForth.py run

Doron