Date

Locked Re: layout editor assign turnout name

 

On Wed Jun 28, 2017 8:03 pm (PDT) . Posted by: cmitcham1
with george's help, we did find my problem. it seems that turnout user names are required. i was only giving the system name and trying to use that, but when i give my turnouts a user name, then all works as expected.
Just an FYI: User names aren’t required� it was just a bug introduced by your’s truly� This should be fixed in an upcoming build (4.8?).
--
Enjoy,
George Warner
eMail/iChat: <geowar1@...>





[Non-text portions of this message have been removed]


Locked Re: Consist Settings

 

Hey Dave,

Thanks for the great article. I wish NCE had that information in their manual. Answered a lot of my questions and more. Here is my scenario I have set up.

Front loco 5629 running forward. Rear loco 5203 running in reverse. I select loco 5629 and it comes up CON 5629. Runs as designed, Only 5629 has the bell, horn and headlight. Now, I go to switch directions. I select 5203 and it comes up CON 5203. Direction set as forward. Consist begins to run, however when I sound the horn or bell, both engines respond. Strange.

Now, in JMRI, all consist settings are set to "Locomotive Address Only".

I am sure you have an answer.

Thanks.

Ted


Locked How do I get a Grade Crossing into JMRI?

 

Help, using JMRI Panel Pro V.6 with standalone PR3 on a MS 10 Lenovo. Have searched all I can for how to setup a railroad grade crossing. Have viewed all the files in change icons � resources. Do not see a typical grade crossing with gates. Have searched and found all sorts of discussions like “Can we call a duck a duck?�, “PanelPro Grade-Crossing control script� and various other well written posts. I am one of the users of JMRI that has very little technical knowhow or experience in JMRI programming. I have most of my blocks, color coded and turnouts set up, have gotten frustrated with this crossing dilemma.

Truly grateful that there are people that volunteer to write and program this very distinct tool.
Thank You for assistance

RJM


Locked Re: Decoder pro

 

The presence of "cu.Bluetooth-Incoming-Port" indicates the chosen port is certainly not correct. What other choices are available in the Preferences dropdown list?

A Lenz user with a Mac should be able to indicate what the correct port name looks like.
--
Dave in Australia

On 30 Jun 2017, at 3:29 AM, Wolfgang Grehn grehnwolfgang@... [jmriusers] <jmriusers@...> wrote:

Hello Dave,
Thank you for your answer.
You will find the desired information from Decoder Pro below:

1. Computer operating system: MAC OS Sierra version 10.12.5 - IMac27 "
2. DCC
Lenz LZ100 - LV101 - Version 3.6 - USB Interface 23150

Wolfgang Weil am Rhein Germany

2017-06-29 12:29:33,046 util.Log4JUtil INFO - * JMRI log ** [main]
2017-06-29 12:29:34,464 util.Log4JUtil INFO - This log is appended to file: /Users/wolfganggrehn_iMac/Library/Preferences/JMRI/log/messages.log [main]
2017-06-29 12:29:34,465 util.Log4JUtil INFO - This log is stored in file: /Users/wolfganggrehn_iMac/Library/Preferences/JMRI/log/session.log [main]
2017-06-29 12:29:34,470 apps.AppsBase INFO - DecoderPro version 4.7.6+R570b2bc starts under Java 1.8.0_131 on Mac OS X x86_64 v10.12.5 at Thu Jun 29 12:29:34 CEST 2017 [main]
2017-06-29 12:29:34,683 gui3.Apps3 INFO - Starting with profile My_JMRI_Railroad.3f09e17c [main]
2017-06-29 12:29:34,751 node.NodeIdentity INFO - Using jmri-8863DFBB063B-3f09e17c as the JMRI Node identity [main]
2017-06-29 12:29:37,006 liusb.LIUSBAdapter INFO - cu.Bluetooth-Incoming-Port port opened at 57600 baud with DTR: true RTS: true DSR: false CTS: false CD: false [main]


Locked Re: JMRI sensors DCC++ and invalid XML files

 

Dave,

At this time, there is nothing you need to do different, other than running the script I mentioned in a previous post.

The unexpected sensor content has been there for a long time, but older versions of JMRI (before 4.7.2) did not validate the content during loading.

A developer familiar with DCC++ will need to make the determination whether the additional sensor content should be included in the XML file. If yes, then the schema will need to be changed to match.

Dave Sand


Locked Bootup into Panel Pro

 

When I try to open Panel Pro, Decoder Pro, Sound Pro, After they boot up they go into preferences and before I can do anything it shuts off back to windows 10, I'm using java 1.8 with jmri 4.6. I was just wondering if any body else had the same problem???. if so help in advance, thank you.


Locked Re: Decoder pro

Wolfgang Grehn
 

Hello Dave,
Thank you for your answer.
You will find the desired information from Decoder Pro below:

1. Computer operating system: MAC OS Sierra version 10.12.5 - IMac27 "
2. DCC
Lenz LZ100 - LV101 - Version 3.6 - USB Interface 23150

Wolfgang Weil am Rhein Germany


2017-06-29 12:29:33,046 util.Log4JUtil INFO - * JMRI log ** [main]
2017-06-29 12:29:34,464 util.Log4JUtil INFO - This log is appended to file: /Users/wolfganggrehn_iMac/Library/Preferences/JMRI/log/messages.log [main]
2017-06-29 12:29:34,465 util.Log4JUtil INFO - This log is stored in file: /Users/wolfganggrehn_iMac/Library/Preferences/JMRI/log/session.log [main]
2017-06-29 12:29:34,470 apps.AppsBase INFO - DecoderPro version 4.7.6+R570b2bc starts under Java 1.8.0_131 on Mac OS X x86_64 v10.12.5 at Thu Jun 29 12:29:34 CEST 2017 [main]
2017-06-29 12:29:34,683 gui3.Apps3 INFO - Starting with profile My_JMRI_Railroad.3f09e17c [main]
2017-06-29 12:29:34,751 node.NodeIdentity INFO - Using jmri-8863DFBB063B-3f09e17c as the JMRI Node identity [main]
2017-06-29 12:29:37,006 liusb.LIUSBAdapter INFO - cu.Bluetooth-Incoming-Port port opened at 57600 baud with DTR: true RTS: true DSR: false CTS: false CD: false [main]
2017-06-29 12:30:07,034 lenz.XNetInitializationManager WARN - Command Station disconnected, or powered down assuming LZ100/LZV100 V3.x [main]
2017-06-29 12:30:08,353 util.HelpUtil WARN - JavaHelp: File help/de/JmriHelp_de.hs not found, dropping to default [main]
2017-06-29 12:30:09,080 util.FileUtilSupport INFO - File path program: is /Applications/JMRI/ [main]
2017-06-29 12:30:09,081 util.FileUtilSupport INFO - File path preference: is /Users/wolfganggrehn_iMac/Library/Preferences/JMRI/My_JMRI_Railroad/ [main]
2017-06-29 12:30:09,081 util.FileUtilSupport INFO - File path profile: is /Users/wolfganggrehn_iMac/Library/Preferences/JMRI/My_JMRI_Railroad/ [main]
2017-06-29 12:30:09,081 util.FileUtilSupport INFO - File path settings: is /Users/wolfganggrehn_iMac/Library/Preferences/JMRI/ [main]
2017-06-29 12:30:09,081 util.FileUtilSupport INFO - File path home: is /Users/wolfganggrehn_iMac/ [main]
2017-06-29 12:30:09,081 util.FileUtilSupport INFO - File path scripts: is /Applications/JMRI/jython/ [main]
2017-06-29 12:30:12,034 jmrix.AbstractMRTrafficController WARN - Timeout on reply to message: 21 21 00 consecutive timeouts = 0 [liusb.LIUSBXNetPacketizer Transmit thread]
2017-06-29 12:30:22,318 withrottle.UserInterface INFO - Creating new WiThrottle DeviceServer(socket) on port 12090, waiting for incoming connection... [WiThrottleGUIServer]
2017-06-29 12:30:47,613 jmrix.AbstractMRTrafficController WARN - Timeout on reply to message: 21 24 05 consecutive timeouts = 1 [liusb.LIUSBXNetPacketizer Transmit thread]

Am 29.06.2017 um 01:01 schrieb Dave Heap dgheap@... [jmriusers] <jmriusers@...>:

In order to help you, we need to know some more information:
- Computer operating system (Windows, Mac, Linux) and version.
- DCC hardware brand, model and connection method.
- Start JMRI and go to the Help->System Console menu item, click on Copy to Clipboard and paste into a post for us to see.

The Power button will be yellow if layout state is unknown. This is normal for some systems (e.g. NCE) but if it is abnormal for your system it indicates a connection failure.

Sent from my iPad
--
Dave in Australia

On 29 Jun 2017, at 4:23 AM, grehnwolfgang@... <mailto:grehnwolfgang@...> [jmriusers] <jmriusers@... <mailto:jmriusers@...>> wrote:

Today, the joy is already over. Decoder Pro opens though, the Windows need but a long time for changes.
In the middle of the window located above button is yellow. Usually it is green or red.
Who can help?


[Non-text portions of this message have been removed]


Locked Re: JMRI sensors DCC++ and invalid XML files

 

Dave,

The technical problem is a XML schema / sensor data mismatch that only affects DCC++.


I have created GitHub issue #3695 to address this problem.


In the meantime, you need to disable XML validation during XML file loading. You have two options.


#1) Before loading the panel XML file, go to "Panels >> Run Script...". Select "TurnOffXmlValidation.py" and click on Open. This runs very quickly and you will see no response. Now you can load your panel xml file.


#2) Go to "Preferences >> Start Up". From the "Add" dropdown, select "Run Script..." Select the script as above. Save and restart. Each time you start PanelPro with this profile, the script will run automatically and you can then load your panel xml file.


Dave Sand


Locked Re: JMRI sensors DCC++ and invalid XML files

 

1/. I have tried using both 4.6 and 4.7.1 with (essentially) the same invalid XML files being created.

2/. I don't really understand why PanelPro agrees to write out sensot information if it does not meet rules. Also, have other have noted, if the XML file is invalid you can't read it back in with PanelPro to edit the tables you are forced to then try to edit the XML by hand.


I have created a directory called DavePrice in the ProblemsBeingWordOn area containing one example of the invalid XML files being created.






Any advice on either how I should be creating things, or an explanation of why JMRI PanelPro saves invalid XML files would be much appreciated.


Dave Price


Locked New file uploaded to jmriusers

 

Hello,

This email message is a notification to let you know that
a file has been uploaded to the Files area of the jmriusers
group.

File : /DavePrice/sensors.xml
Uploaded by : price.dave@... <dap@...>
Description : This created with PanelPro from JMRI 4.7.6. Debug-> validate XMK report this as invalid.

You can access this file at the URL:


To learn more about file sharing for your group, please visit:


Regards,

price.dave@... <dap@...>


Locked Re: Requesting help with Parse error after upgrading to 4.7.6

 

It’s a really obscure way to say it, but the message is saying that

*) Your file refers to the icons location by starting with “scripts:�
*) But the code doesn’t accept “scripts�. It does accept “program:�, “preference:�, “settings:�,”home:�, profile:� or some other things.

If you send me the file, I’ll do a quick edit on it and send it back. (It’s still work on the old version, just in case)

Bob

On Jun 28, 2017, at 9:18 PM, bcomail@... [jmriusers] <jmriusers@...> wrote:

After upgrading from 4.6 to 4.7.6, making no other changes, and merging the directories (OS X 10.11.6, El Capitan), I get a Parse Error:

while parsing file /Users/overholtzer...etc.
Exception: org.jdom2.input.JDOMParseexception: Error on line 6586: cvc-pattern-valid: Value 'scripts:Applications/JMRI/resources/icons/USS/sensor/amber-on.gif' is not facet-valid with respect to pattern '((program:|preference:|settings:|home:|profile:|file:|[a-zA-Z]:|&#92;/)(&#92;/|&#92;&#92;|[^/?*:;{}&#92;&#92;]+)+|https?:&#92;/&#92;/.+&#92;/?.*)' for type 'urlType'.


I checked, and the amber-on.gif DOES still reside in the Applications/JMRI/resources/icons/USS/sensor/ folder.


Any ideas what may have happened and how I can recover my panels?
--
Bob Jacobsen
rgj1927@...


Locked Requesting help with Parse error after upgrading to 4.7.6

 

After upgrading from 4.6 to 4.7.6, making no other changes, and merging the directories (OS X 10.11.6, El Capitan), I get a Parse Error:

while parsing file /Users/overholtzer...etc.
Exception: org.jdom2.input.JDOMParseexception: Error on line 6586: cvc-pattern-valid: Value 'scripts:Applications/JMRI/resources/icons/USS/sensor/amber-on.gif' is not facet-valid with respect to pattern '((program:|preference:|settings:|home:|profile:|file:|[a-zA-Z]:|&#92;/)(&#92;/|&#92;&#92;|[^/?*:;{}&#92;&#92;]+)+|https?:&#92;/&#92;/.+&#92;/?.*)' for type 'urlType'.


I checked, and the amber-on.gif DOES still reside in the Applications/JMRI/resources/icons/USS/sensor/ folder.


Any ideas what may have happened and how I can recover my panels?


Bret O.
Lenexa, Kansas


Locked Re: layout editor assign turnout name

 

with george's help, we did find my problem. it seems that turnout user names are required. i was only giving the system name and trying to use that, but when i give my turnouts a user name, then all works as expected.

thanks george!


Locked Re: How to configure two turnout that share a single output using Panel Pro

 

Richard is right in that the top of the wye turnout cant have 2 different addresses, but a Macro would do very nicely as they can use addresses in all kinds of combinations.

Macro 1
Coming from the west throw west turnout to diverging and the turnout at the top of the wye to normal
Macro 2
Coming from the east, throw east turnout to diverging and the turnout at the top of the wye to diverging
(terms at the top of the wye such as normal or diverging dont particularly matter they just need to be identified.
Macro 3
Both west and east turnouts for the mainline are set at normal for through the main operation. Dont worry about assigning the turnout at the top of the wye as your other macros will choose the correct alignment when selected.

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

On Jun 28, 2017, at 7:18 PM, 'Richard On Comcast (imap)' rstamm4@... [jmriusers] <jmriusers@...> wrote:

Stu
The issue is how to identify the two turnouts in the Panel so clicking on either one activates the turnout since both are effectively the same address and you can't have two turnouts with the same hardware address. Not sure how you would use a macro.

Richard
Sent from my IPad


[Non-text portions of this message have been removed]


Locked Re: How to configure two turnout that share a single output using Panel Pro

 

Peter

I had tried that before, but missed changing the type from Loconet to
Internal. Now it works great. Thanks

Richard P. Stamm

Modeling the Colorado Midland in 1905









From: jmriusers@... [mailto:jmriusers@...]
Sent: Wednesday, June 28, 2017 7:43 PM
To: jmriusers@...
Subject: Re: [jmriusers] Re: How to configure two turnout that share a
single output using Panel Pro





Enter one as an 'Internal Turnout'. Then with your panel in edit mode, right
click on the turnout and check the 'Also Throw Turnout' box and enter the
supporting turnout.
I'm sure the are other ways as well.

Peter


Locked Re: How to configure two turnout that share a single output using Panel Pro

 

Enter one as an 'Internal Turnout'. Then with your panel in edit mode, right click on the turnout and check the 'Also Throw Turnout' box and enter the supporting turnout.
I'm sure the are other ways as well.

Peter


Locked Re: How to configure two turnout that share a single output using Panel Pro

 

Stu
The issue is how to identify the two turnouts in the Panel so clicking on either one activates the turnout since both are effectively the same address and you can't have two turnouts with the same hardware address. Not sure how you would use a macro.

Richard
Sent from my IPad

On Jun 28, 2017, at 6:57 PM, Stu ekans@... [jmriusers] <jmriusers@...> wrote:



Have you tried using a macro??
Regards, Stu...

Sent from my Samsung Note3

[Non-text portions of this message have been removed]


Locked Re: Decoder pro

 

In order to help you, we need to know some more information:
- Computer operating system (Windows, Mac, Linux) and version.
- DCC hardware brand, model and connection method.
- Start JMRI and go to the Help->System Console menu item, click on Copy to Clipboard and paste into a post for us to see.

The Power button will be yellow if layout state is unknown. This is normal for some systems (e.g. NCE) but if it is abnormal for your system it indicates a connection failure.
--
Dave in Australia

On 29 Jun 2017, at 4:23 AM, grehnwolfgang@... [jmriusers] <jmriusers@...> wrote:

Today, the joy is already over. Decoder Pro opens though, the Windows need but a long time for changes.
In the middle of the window located above button is yellow. Usually it is green or red.
Who can help?


Locked Re: How to configure two turnout that share a single output using Panel Pro

 

Have you tried using a macro??
𲵲,ٳ...


Sent from my Samsung Note3


Locked Re: JMRI ops - Car types set to UK default and cannot change

 

Set your JMRI Locale to English (United States).

See just after the quick start help, British Railways.






Dan