¿ªÔÆÌåÓý

Date

Locked Re: Odd Turnout behavior part #1

 

¿ªÔÆÌåÓý

Jasen,

Are there times when you would throw TO 01 and not throw TO 09? ?If they are always thrown together and if they depend on both being thrown, such as in a crossover, I would rename and reprogram one to the same address as the other so that they always work together. ?Another possible solution would be to group the 2 turnouts into a ¡°Route¡± and use that to throw them together. ?That would allow them to remain separate for other functions.

Thomas Cain
Indianapolis, IN
atsf93@...
See my?
NEW website?and layout?at: ?
Modeling the Eastern Illinois?Santa Fe from the Prototype

On Oct 29, 2019, at 7:22 AM, Jasen Krueger via Groups.Io <jasenk2@...> wrote:

Hello all,

I have two questions about turnout behavior.? This will be part #1 and I'll make a second post for part #2.? I have a?right- handed (RH)-TO01 and left-handed (LH)-TO09 set of turnouts that are linked together. When I throw one TO01, TO09 will also throw and Vise Versa.? This works a few time and then gets in an endless loop where they keep Closing and Throwing over and over. I need to either restart my system?or disable the the dependency?in my panel.? I looked at the traffic monitor and it doesn't appear to be sending repeated commands to do so.? I can't remember specifically what version of software I had when it started to do this but I did not have this issue with 4.12 until somewhere around 4.14 or 4.15.? I wish I noticed these things when I update software but sometimes you just don't check everything at the time.? I am running Raspberry?Pi, DCC++ base station and WiThrottle and maybe two minor versions of 4.15 less than 4.16.? If you need more specifics I will need to get that later.

Has anyone else seen this issue and have a resolution?

Thank you,

Jasen


Locked Re: Question re deprecated command

 

¿ªÔÆÌåÓý




On Oct 27, 2019, at 11:11 PM, ahouse3761 <trainmail1@...> wrote:

?I have a script that is a modification of the ReporterFormatter.py script and have started getting a warning in the console to the effect that:

'reporterManagerInstance is deprecateed, please remove references to it [main]

What do I need to do to fix this?

You need to change the reference to use getDefault instead of reporterManagerInstance. ?I.e. change:

jmri.InstanceManager.reporterManagerInstance()

To

jmri.InstanceManager.getDefault(jmri.ReporterManager)

See line 36 of:


You can also replace?

jmri.InstanceManager.reporterManagerInstance()

With

reporters

In scripts.

See:

?( line 38 )

Paul


Locked Re: VSDecoder: Problems with xml and sound - Saving VSD Manager with Roster Entries #rpi #vsdecoder

 

I tried option 3 and had an initial good result. However, upon a restart I could not get the engine start to work. The bell and whistle works fine on the generic steam loco I was using from the example files. I had Auto engine start on then I tried it off. I also could not control the VSD Manager on the web server on WiThrottle. The buttons would simply not accept a click. The script showed it found my VSD group ok on the terminal window. I only had one roster entry to test. I¡¯ve had issues with the web server locking up JMRI so I change the port from 12080 to 12085 and had way better performance but not perfect. Very confusing.

Jasen

On Oct 29, 2019, at 2:30 PM, Klaus Killinger <klaus.killinger@...> wrote:

?Hello Jasen,

A feature to populate the VSDecoder Manager window with VSDecoders is not implemented.

If you want to stay with the graphical user interface of the VSDecoder Manager, you have to take ...

Option 1
Only once:
* Launch PanelPro
* Add/perform action "Start Virtual Sound Decoder Manager" as Start Up
* Setup a VSDecoder and save it to a roster (can be repeated)
For each PanelPro session:
* Add a VSDecoder manually to the VSDecoder Manager window by selecting a Roster

Note: only 4 clicks required to run a VSDecoder; can be repeated up to 4 VSDecoders


If you feel comfortable with web access, you may want to take ...

Option 2
Setup VSD to run VSD "headless", see

If all is setup well, you are ready to go with VSDecoder and up to 4 web throttles.

Note: JMRI Version 4.15.2 or newer needed


Option 3
Is a variant of option 2
Setup VSD to run VSD headless
Launch PanelPro (and the JMRI Web Server)
Run the script VsdSetup2.py (see /g/jmriusers/files/VSD)
Activate JMRI Web Access, see


Regards,
Klaus


Am 29.10.2019 um 13:12 schrieb Jasen Krueger via Groups.Io:
Hello,
I have recently started to try the VSD. I was looking for a "save" function for the VSD Manager. Whenever it is opened it starts blank. I read some of this post and was wondering if the "save" feature was ever implemented so I can start the VSD Manager on startup and have all of my roster populated. I have the VSD Manager start in my configuration already and was wondering if loading roster entries could be a script? The roster entries with associated sounds seems to be saved so that's good news. Not sure If I doing something wrong, missing something or the feature is just not yet implemented. I realize this is a development feature and I appreciate the work on it. I think for most this is the last piece missing if the feature just isn't there yet. I'm running JMRI Version 4.15 ish. I haven't needed to go to 4.16 yet or try any of the 4.17 beta releases. But I'm willing to update / upgrade if there is some VSD updates since.
Thank you,
Jasen

--
Thank you,

Jasen


Locked Re: Cannot delete items from a turnout or sensor table

 

Dan,

Are there any messages in the JMRI system console? ?Help >> System Console.

Dave Sand



----- Original message -----
From: Daniel Kubarych <danandsharek@...>
Subject: [jmriusers] Cannot delete items from a turnout or sensor table
Date: Tuesday, October 29, 2019 2:50 PM

Hello all:
A quick question...? As we debug our layout all three of the main tables (turnout, sensor and block) need to be revised.? We have found that we cannot delete old entries. For example the entry for turnouts 52A and 52B are no longer valid and need to be deleted. View the turnout table... highlight the 52A entry... hit delete and nothing happens. Same behavior with 52B...? Same behavior with the sensor table and the block table... Any ideas?

Dan Kubarych
ARHS


Locked Re: Problem migrating Panelpro from Windows XP with MS100 to a laptop with PR3 connection

 

¿ªÔÆÌåÓý

John,

On 30 Oct 2019, at 6:19 AM, John Cornell <dr.jc.cornell@...> wrote:

I know Dave said copy ALL user files, but I don't want to overwrite any preferences which are needed for the new connection...

If you copy everything from the "User Files Location" (as specified by Help->Locations) on the old machine into the "User Files Location" on the new machine, you won't overwrite your connection preferences and other machine-specific preferences. They are now stored elsewhere in the "...<yourusername>\JMRI\" folder hierarchy.

Note that (due to an accident of history) the "User Files Location" is called "preference:" in the JMRI System Console and in XML files.

Dave in Australia



Locked Cannot delete items from a turnout or sensor table

 

Hello all:
A quick question...? As we debug our layout all three of the main tables (turnout, sensor and block) need to be revised.? We have found that we cannot delete old entries. For example the entry for turnouts 52A and 52B are no longer valid and need to be deleted. View the turnout table... highlight the 52A entry... hit delete and nothing happens. Same behavior with 52B...? Same behavior with the sensor table and the block table... Any ideas?

Dan Kubarych
ARHS


Locked Re: Problem migrating Panelpro from Windows XP with MS100 to a laptop with PR3 connection

 

I know Dave said copy ALL user files, but I don't want to overwrite any preferences which are needed for the new connection...


Locked Re: VSDecoder: Problems with xml and sound - Saving VSD Manager with Roster Entries #rpi #vsdecoder

 

Thank you for the reply, I¡¯ll have to try these options.

Thank you,

Jasen

On Oct 29, 2019, at 2:30 PM, Klaus Killinger <klaus.killinger@...> wrote:

?Hello Jasen,

A feature to populate the VSDecoder Manager window with VSDecoders is not implemented.

If you want to stay with the graphical user interface of the VSDecoder Manager, you have to take ...

Option 1
Only once:
* Launch PanelPro
* Add/perform action "Start Virtual Sound Decoder Manager" as Start Up
* Setup a VSDecoder and save it to a roster (can be repeated)
For each PanelPro session:
* Add a VSDecoder manually to the VSDecoder Manager window by selecting a Roster

Note: only 4 clicks required to run a VSDecoder; can be repeated up to 4 VSDecoders


If you feel comfortable with web access, you may want to take ...

Option 2
Setup VSD to run VSD "headless", see

If all is setup well, you are ready to go with VSDecoder and up to 4 web throttles.

Note: JMRI Version 4.15.2 or newer needed


Option 3
Is a variant of option 2
Setup VSD to run VSD headless
Launch PanelPro (and the JMRI Web Server)
Run the script VsdSetup2.py (see /g/jmriusers/files/VSD)
Activate JMRI Web Access, see


Regards,
Klaus


Am 29.10.2019 um 13:12 schrieb Jasen Krueger via Groups.Io:
Hello,
I have recently started to try the VSD. I was looking for a "save" function for the VSD Manager. Whenever it is opened it starts blank. I read some of this post and was wondering if the "save" feature was ever implemented so I can start the VSD Manager on startup and have all of my roster populated. I have the VSD Manager start in my configuration already and was wondering if loading roster entries could be a script? The roster entries with associated sounds seems to be saved so that's good news. Not sure If I doing something wrong, missing something or the feature is just not yet implemented. I realize this is a development feature and I appreciate the work on it. I think for most this is the last piece missing if the feature just isn't there yet. I'm running JMRI Version 4.15 ish. I haven't needed to go to 4.16 yet or try any of the 4.17 beta releases. But I'm willing to update / upgrade if there is some VSD updates since.
Thank you,
Jasen

--
Thank you,

Jasen


Locked Re: VSDecoder: Problems with xml and sound - Saving VSD Manager with Roster Entries #rpi #vsdecoder

 

Hello Jasen,

A feature to populate the VSDecoder Manager window with VSDecoders is not implemented.

If you want to stay with the graphical user interface of the VSDecoder Manager, you have to take ...

Option 1
Only once:
* Launch PanelPro
* Add/perform action "Start Virtual Sound Decoder Manager" as Start Up
* Setup a VSDecoder and save it to a roster (can be repeated)
For each PanelPro session:
* Add a VSDecoder manually to the VSDecoder Manager window by selecting a Roster

Note: only 4 clicks required to run a VSDecoder; can be repeated up to 4 VSDecoders


If you feel comfortable with web access, you may want to take ...

Option 2
Setup VSD to run VSD "headless", see

If all is setup well, you are ready to go with VSDecoder and up to 4 web throttles.

Note: JMRI Version 4.15.2 or newer needed


Option 3
Is a variant of option 2
Setup VSD to run VSD headless
Launch PanelPro (and the JMRI Web Server)
Run the script VsdSetup2.py (see /g/jmriusers/files/VSD)
Activate JMRI Web Access, see


Regards,
Klaus


Am 29.10.2019 um 13:12 schrieb Jasen Krueger via Groups.Io:

Hello,
I have recently started to try the VSD.? I was looking for a "save" function for the VSD Manager.? Whenever it is opened it starts blank.? I read some of this post and was wondering if the "save" feature was ever implemented so I can start the VSD Manager on startup and have all of my roster populated. I have the VSD Manager start in my configuration already and was wondering if loading roster entries could be a script? The roster entries with associated sounds seems to be saved so that's good news. Not sure If I doing something wrong, missing something or the feature is just not yet implemented.? I realize this is a development feature and I appreciate the work on it.? I think for most this is the last piece missing if the feature just isn't there yet. I'm running JMRI Version 4.15 ish.? I haven't needed to go to 4.16 yet or try any of the 4.17 beta releases.? But I'm willing to update / upgrade if there is some VSD updates since.
Thank you,
Jasen


Locked Re: Odd Turnout behavior part #2

 

¿ªÔÆÌåÓý

Great! I¡¯ll take a look and see if this works for me.

Jasen


On Oct 29, 2019, at 8:04 AM, Steve Todd <mstevetodd@...> wrote:

?On Tue, Oct 29, 2019 at 04:39 AM, Jasen Krueger wrote:
If I could just not show TO10 in WiThrottle
Jasen,
You can control which turnouts are included by the WiThrottle Server via the WiThrottle -> Routes & Turnouts option.
--SteveT

--
Thank you,

Jasen


Locked Decoder Pro and Indexed CVs

Charley Goddard
 

Thank you Dave, I'll be trying your methods today.

Charley


Locked Re: Problem migrating Panelpro from Windows XP with MS100 to a laptop with PR3 connection

 

So exactly which files from the PC do I need to copy over to User/username/JMRI/ ???


Locked Re: Problem migrating Panelpro from Windows XP with MS100 to a laptop with PR3 connection

 

Hi, dunno why the PR3 lost its driver -- I had set it up from the CD supplied, and have done it again. Now:


019-10-29 13:09:56,989 apps.Apps???????????????????????????? INFO? - PanelPro version 4.12+Rb6a9bb1 starts under Java 1.8.0_221 on Windows 7 x86 v6.1 at Tue Oct 29 13:09:56 CET 2019 [main]
2019-10-29 13:10:08,595 profile.ProfileManagerDialog????????? INFO? - Automatically starting with profile My_JMRI_Railroad.3f385185 after timeout. [AWT-EventQueue-0]
2019-10-29 13:10:08,595 apps.Apps???????????????????????????? INFO? - Starting with profile My_JMRI_Railroad.3f385185 [main]
2019-10-29 13:10:08,892 node.NodeIdentity???????????????????? INFO? - Using jmri-i7dpid3EbhOiaaWbE8LE61-3f385185 as the JMRI Node identity [AWT-EventQueue-0]
2019-10-29 13:10:09,063 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "LocoNet" [main]
2019-10-29 13:10:09,485 pr3.PR3Adapter??????????????????????? INFO? - PR3 adapter set hardware flow control, mode=2 RTSCTS_OUT=2 RTSCTS_IN=1 [main]
2019-10-29 13:10:09,500 locobuffer.LocoBufferAdapter????????? INFO? - COM3 port opened at 57600 baud with DTR: true RTS: true DSR: false CTS: false? CD: false [main]
2019-10-29 13:10:09,578 loconet.LnPacketizer????????????????? INFO? - lnPacketizer Started [main]
2019-10-29 13:10:09,875 util.FileUtilSupport????????????????? INFO? - File path program: is C:\Program Files\JMRI\ [main]
2019-10-29 13:10:09,875 util.FileUtilSupport????????????????? INFO? - File path preference: is C:\Users\Lucas\JMRI\My_JMRI_Railroad\ [main]
2019-10-29 13:10:09,875 util.FileUtilSupport????????????????? INFO? - File path profile: is C:\Users\Lucas\JMRI\My_JMRI_Railroad\ [main]
2019-10-29 13:10:09,875 util.FileUtilSupport????????????????? INFO? - File path settings: is C:\Users\Lucas\JMRI\ [main]
2019-10-29 13:10:09,875 util.FileUtilSupport????????????????? INFO? - File path home: is C:\Users\Lucas\ [main]
2019-10-29 13:10:09,875 util.FileUtilSupport????????????????? INFO? - File path scripts: is C:\Program Files\JMRI\jython\ [main]
2019-10-29 13:10:10,686 PanelPro.PanelPro???????????????????? INFO? - Main initialization done [main]

All Loconet connections, none internal


Locked Re: How to run a script using the web server

 

On Mon, Oct 28, 2019 at 11:41 PM, Daniel Kubarych wrote:
functionality using a web server connection that would let me run a script
Dan, I add script buttons to the PanelPro main window, and allow the web server to show that window. Works great for me.
Steps:
Edit, Preferences, Start Up, Add, Add script to button..., enter Button text and select script.
Edit, Preferences, Web Server, Enable Frames, remove "PanelPro" from Disallowed frames list.?
On tablet or device browser, navigate to Home page and click on PanelPro window. Save as shortcut if desired.
HTH,
? SteveT


Locked Re: VSDecoder: Problems with xml and sound - Saving VSD Manager with Roster Entries #rpi #vsdecoder

 

Hello,

I have recently started to try the VSD.? I was looking for a "save" function for the VSD Manager.? Whenever it is opened it starts blank.? I read some of this post and was wondering if the "save" feature was ever implemented so I can start the VSD Manager on startup and have all of my roster populated. I have the VSD Manager start in my configuration already and was wondering if loading roster entries could be a script? The roster entries with associated sounds seems to be saved so that's good news. Not sure If I doing something wrong, missing something or the feature is just not yet implemented.? I realize this is a development feature and I appreciate the work on it.? I think for most this is the last piece missing if the feature just isn't there yet. I'm running JMRI Version 4.15 ish.? I haven't needed to go to 4.16 yet or try any of the 4.17 beta releases.? But I'm willing to update / upgrade if there is some VSD updates since.?

Thank you,

Jasen


Locked Re: Odd Turnout behavior part #2

 

On Tue, Oct 29, 2019 at 04:39 AM, Jasen Krueger wrote:
If I could just not show TO10 in WiThrottle
Jasen,
You can control which turnouts are included by the WiThrottle Server via the WiThrottle -> Routes & Turnouts option.
--SteveT


Locked Odd Turnout behavior part #2

 

Hello again,

Part #2,? I have 2 physical?right- handed (RH) that meet at the turnouts and I use them as a?right-handed single crossover (RH Xover).? I had them on my panel originally as separate?turnouts but I found that?a?right-handed single crossover (RH Xover) was more?elegant for the actual function and appearance.? But there is some odd behavior with my settings.? ?Let's say I have TO09 and TO10 set when one is thrown the other will throw.? For example I throw TO09 and both TO09 and TO10 will throw and vise versa.? This make sense, however when I throw or close TO10, TO09 will not throw or close.? This does not make sense to me.? I'm looking at a fix to this issue. Is there something I'm doing wrong? Can I somehow hide TO10 so it can't be thrown on it's own. I have seen where I can hide a turnout individually but for a right-handed single crossover (RH Xover) it would hide the whole thing and?I don't want that.? I also don't want it to not be seen on the layout.? If I could just not show TO10 in WiThrottle that would work too as that is my primary means of controlling my turnouts.? I don't really want a band-aid?as much as I want to know the proper?way to do this.? I'm running version 4.15 ish on Raspberry Pi and DCC++ Base Station.

Thank you,

Jasen


Locked Odd Turnout behavior part #1

 

Hello all,

I have two questions about turnout behavior.? This will be part #1 and I'll make a second post for part #2.? I have a?right- handed (RH)-TO01 and left-handed (LH)-TO09 set of turnouts that are linked together. When I throw one TO01, TO09 will also throw and Vise Versa.? This works a few time and then gets in an endless loop where they keep Closing and Throwing over and over. I need to either restart my system?or disable the the dependency?in my panel.? I looked at the traffic monitor and it doesn't appear to be sending repeated commands to do so.? I can't remember specifically what version of software I had when it started to do this but I did not have this issue with 4.12 until somewhere around 4.14 or 4.15.? I wish I noticed these things when I update software but sometimes you just don't check everything at the time.? I am running Raspberry?Pi, DCC++ base station and WiThrottle and maybe two minor versions of 4.15 less than 4.16.? If you need more specifics I will need to get that later.

Has anyone else seen this issue and have a resolution?

Thank you,

Jasen


Locked Re: Problem migrating Panelpro from Windows XP with MS100 to a laptop with PR3 connection

 

¿ªÔÆÌåÓý

John,

On 29 Oct 2019, at 9:02 PM, John Cornell <dr.jc.cornell@...> wrote:

I set up a new connection. (Had to disable the previous connection, otherwise COM3 was "in use".).

If you had two connections to the same device, that would cause the COM3 in use message. You should delete one or other of the connections (rather than just disabling it).


?Now all "Default" connections are Loconet and greyed out.

That indicates the LocoNet connection didn't start.

Here is the log:

2019-10-29 10:43:42,383 apps.Apps ????????????????????????????INFO ?- PanelPro version 4.12+Rb6a9bb1 starts under Java 1.8.0_221 on Windows 7 x86 v6.1 at Tue Oct 29 10:43:42 CET 2019 [main]
2019-10-29 10:43:47,219 apps.Apps ????????????????????????????INFO ?- Starting with profile My_Railway.3e797869 [main]
2019-10-29 10:43:47,500 node.NodeIdentity ????????????????????INFO ?- Using jmri-i7dpid3EbhOiaaWbE8LE61-3e797869 as the JMRI Node identity [AWT-EventQueue-0]
2019-10-29 10:43:47,687 xml.AbstractSerialConnectionConfigXml INFO ?- Starting to connect for "LocoNet" [main]
2019-10-29 10:43:48,077 util.FileUtilSupport ?????????????????INFO ?- File path program: is C:\Program Files\JMRI\ [main]
2019-10-29 10:43:48,077 util.FileUtilSupport ?????????????????INFO ?- File path preference: is C:\Users\Lucas\JMRI\My_Railway\ [main]
2019-10-29 10:43:48,077 util.FileUtilSupport ?????????????????INFO ?- File path profile: is C:\Users\Lucas\JMRI\My_Railway\ [main]
2019-10-29 10:43:48,077 util.FileUtilSupport ?????????????????INFO ?- File path settings: is C:\Users\Lucas\JMRI\ [main]
2019-10-29 10:43:48,077 util.FileUtilSupport ?????????????????INFO ?- File path home: is C:\Users\Lucas\ [main]
2019-10-29 10:43:48,077 util.FileUtilSupport ?????????????????INFO ?- File path scripts: is C:\Program Files\JMRI\jython\ [main]
2019-10-29 10:43:48,935 PanelPro.PanelPro ????????????????????INFO ?- Main initialization done [main]

The log confirms it. Nothing was started. No signs of a COM Port being opened.

You need to delete on of the connections (so you only have one left). Then tell us exactly what you have set up in the remaining connection.

I have not replaced My_JMRI_Railroad profile yet. (It's now called "My Railway".)

Don't even think of doing that!

-- I also got a strange Windows message saying "Device not installed"... :-(

That's probably the key! You probably haven't got the correct (Windows 7) drivers for the PR3 properly downloaded and installed. The Digitrax users can explain how to do that. Looks like you get them from:
<>

Dave in Australia


Locked Re: How to run a script using the web server

 

Dan K,

My way to handle that is using Lroutes. For much of the testing the route
part can do the needed job. It can be triggered by a sensor or turnout
change of state. Adding script execution is easy by editing it as a Logix.
Many times the route part give enough functions and only a few need the
scripts.

-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.org
www.syracusemodelrr.org