¿ªÔÆÌåÓý

Date

Locked Re: Problems with upgrade to 4.22; logix & conditionals #logix

 

Rummy,

A LRoute is actually a Logix. ?The LRoute table Add/Edit window provides an alternate GUI for creating the Logix. ?Any issues with LRoutes running are actually Logix issues.

When you update the LRoute view, it disables the Logix and enables it when you do an update. ?This forces the Logix to be evaluated.

As you have discovered, the Logix renames are a one time action that occurs during the move to 4.20 or later. ?Once you store the xml data file, the changes are retained.

If you post the 4.22 system console we can evaluate the SML errors when we can see the actual text. ?Note: ?Post the entire console text. ?The easiest way is to use the system console "Copy to clipboard" button and paste the result in a reply.

If you upload the xml data file to the group's ProblemsBeingWorkingOn file folder, we can do a better job of analyzing the Logix and SML issues.

Dave Sand


----- Original message -----
From:?rummy@...
Subject: Re: [jmriusers] Problems with upgrade to 4.22; logix & conditionals
Date: Saturday, March 13, 2021 7:07 AM

Update on my problem:

?

I ¡°stored configuration and panel to file¡± (my working panel) under a different filename, and Quit PanelPro.??On reopening PanelPro and loading the new filename, I no longer get the 2 dialog boxes stating that the Logix and conditionals have been renamed, but I get an error message saying to check the system console and check preferences.?Clicking Okay, the panel loads but still the LRoutes do not function.??As before, editing each LRoute and clicking Update makes each LRoute functional again, and the panel completely functional as it was before updating to 4.22.

?

Checking the system console, it has lines for Errors for ¡°trying to start the signal logic XXX¡± where XXX are all the signals I have set up using SML.??But, after making the LRoutes functional again by doing the edit/update routine, everything, including the signals work perfect.??

?

I did check preferences, but could not find anything that I thought could be causing the errors.

?

Also, I did use the User Name for the LRoutes.

?

Again, thanks for all help and suggestions,?

Rummy



Locked Re: Script and allocation through dispatcher

 

Thank you steve but is there a command that I can write in a script to inform the system that I decided that this section is artificially allocated by myself and or desallocated. To change the status of the section by direct? scripting.?
( I am trying fancy stuff? know ;)? )


Locked Re: Starting jmriHeadless with specific "Panel" and "Jython script" #scripting #rpi

 

See this link??for auto-start.
--
-splasher in somd
-NCE PowerCab with Rapsberry Pi 3b+ and JMRI 4.21.3 and Engine Driver 2.26.117
-DCC-EX with Arduino Uno w/motor shield, Raspberry Pi 3b+ and JMRI 4.21.3


Locked Re: Problems with upgrade to 4.22; logix & conditionals #logix

 

Update on my problem:

?

I ¡°stored configuration and panel to file¡± (my working panel) under a different filename, and Quit PanelPro.??On reopening PanelPro and loading the new filename, I no longer get the 2 dialog boxes stating that the Logix and conditionals have been renamed, but I get an error message saying to check the system console and check preferences.?Clicking Okay, the panel loads but still the LRoutes do not function.??As before, editing each LRoute and clicking Update makes each LRoute functional again, and the panel completely functional as it was before updating to 4.22.

?

Checking the system console, it has lines for Errors for ¡°trying to start the signal logic XXX¡± where XXX are all the signals I have set up using SML.??But, after making the LRoutes functional again by doing the edit/update routine, everything, including the signals work perfect.??

?

I did check preferences, but could not find anything that I thought could be causing the errors.

?

Also, I did use the User Name for the LRoutes.

?

Again, thanks for all help and suggestions,?

Rummy


Locked Re: Script and allocation through dispatcher

 

Hi
The allocated section would have to be next section for another allocated train and that train would have to run thru the section to release it.
To stop a train from allocating beyond a specified section either use a hold allocation sensor in that section or place a hold on the signal at the exit.
Steve G.


On Fri., Mar. 12, 2021, 12:16 frederic.bonave via , <frederic.bonave=[email protected]> wrote:
Hi
I am using dispatcher and script. I would like to allocate a section through a script in order to prevent the dispatcher to? allocate it to another throttle. What should be the right command for this script ?
Thanks for your help.
Fred


Locked Re: Auto starting Panelpro

 

¿ªÔÆÌåÓý

Yes, I have used Steve Todd¡¯s image, a couple of times. ?

?

I went down the route I did because I was installing the MERG CANPiCAP and their software for it, so I followed a process from their site.

?

Thanks,

Ken

?

From: [email protected] <[email protected]> On Behalf Of Scott Eric Catalano
Sent: 13 March 2021 12:17
To: [email protected]
Subject: Re: [jmriusers] Auto starting Panelpro

?

Have you tried the RPI image for JMRI from Steve Todd....that's an all in one that works when the pi is booted up

?

On Mar 13, 2021 6:38 AM, "Ken Bates via groups.io" <kenbates@...> wrote:

Hi,

?

I have built a MERG CANPiCAP and bolted it onto my RPi 3B+.

?

I used an image created by MERG, which worked okay.

?

I then downloaded the latest JMRI for Linux straight to the RPi.

?

I then downloaded the software for the CANPiCAP to the RPi.

?

This changed the RPi to an access point, so I found how to change it back to a client, rebooted and had a client working okay.

?

What I don¡¯t have is PANELPRO starting automatically, I can execute the file to do this, but it would be nice if it started by itself.

?

Also, any advice on getting JMRI talking to the MERG CBUS would be appreciated.

?

Ken

?

Essex, UK

?


Locked Re: Auto starting Panelpro

 

Hi Ken,

Maybe this will help with the auto-start:
/g/jmriusers/topic/31887732

Klaus


Am 13.03.2021 um 12:38 schrieb Ken Bates via groups.io:

Hi,
I have built a MERG CANPiCAP and bolted it onto my RPi 3B+.
I used an image created by MERG, which worked okay.
I then downloaded the latest JMRI for Linux straight to the RPi.
I then downloaded the software for the CANPiCAP to the RPi.
This changed the RPi to an access point, so I found how to change it back to
a client, rebooted and had a client working okay.
What I don't have is PANELPRO starting automatically, I can execute the file
to do this, but it would be nice if it started by itself.
Also, any advice on getting JMRI talking to the MERG CBUS would be
appreciated.
Ken
Essex, UK


Locked Re: Auto starting Panelpro

 

Have you tried the RPI image for JMRI from Steve Todd....that's an all in one that works when the pi is booted up

On Mar 13, 2021 6:38 AM, "Ken Bates via groups.io" <kenbates@...> wrote:

Hi,

?

I have built a MERG CANPiCAP and bolted it onto my RPi 3B+.

?

I used an image created by MERG, which worked okay.

?

I then downloaded the latest JMRI for Linux straight to the RPi.

?

I then downloaded the software for the CANPiCAP to the RPi.

?

This changed the RPi to an access point, so I found how to change it back to a client, rebooted and had a client working okay.

?

What I don¡¯t have is PANELPRO starting automatically, I can execute the file to do this, but it would be nice if it started by itself.

?

Also, any advice on getting JMRI talking to the MERG CBUS would be appreciated.

?

Ken

?

Essex, UK



Locked Auto starting Panelpro

 

¿ªÔÆÌåÓý

Hi,

?

I have built a MERG CANPiCAP and bolted it onto my RPi 3B+.

?

I used an image created by MERG, which worked okay.

?

I then downloaded the latest JMRI for Linux straight to the RPi.

?

I then downloaded the software for the CANPiCAP to the RPi.

?

This changed the RPi to an access point, so I found how to change it back to a client, rebooted and had a client working okay.

?

What I don¡¯t have is PANELPRO starting automatically, I can execute the file to do this, but it would be nice if it started by itself.

?

Also, any advice on getting JMRI talking to the MERG CBUS would be appreciated.

?

Ken

?

Essex, UK


Locked Re: Unable to open JMRI Panel Pro 4.22 or 4.23.2 #4-22

 

¿ªÔÆÌåÓý

I have sent the session log direct to Dave Sand and Ken Cameron.

Mike.




------ Original Message ------
From: "MICHAEL PAYNE via groups.io" <mikepayne1402@...>
To: [email protected]
Sent: Saturday, 13 Mar, 21 At 00:11
Subject: Re: [jmriusers] Unable to open JMRI Panel Pro 4.22 or 4.23.2

Sorry, I forgot I can't send attachments. I'm not sure how to post them. looking at my sessio.log printout I'm pretty sure you're on the right track, Ken.. I'll have another go at sending them tomorrow. Mike.



------ Original Message ------
From: "MICHAEL PAYNE via groups.io" <mikepayne1402@...>
To: [email protected]
Sent: Friday, 12 Mar, 21 At 23:35
Subject: Re: [jmriusers] Unable to open JMRI Panel Pro 4.22 or 4.23.2

Dave and Peter,

I still have been unable to open 4.22 in the normal way, however I discovered that DecoderPro opened normally and I could open PanelPro from the dropdown menu. After some experimentation I now have 4.22 working, but I still can't open it from the desktop icon. I have attached a session log (now I've discovered how to do it!)

Thanks, Mike.





------ Original Message ------
From: "MICHAEL PAYNE via groups.io" <mikepayne1402@...>
To: [email protected]
Sent: Thursday, 11 Mar, 21 At 17:39
Subject: Re: [jmriusers] Unable to open JMRI Panel Pro 4.22 or 4.23.2

Thank you Peter,

As I have removed 4.22 from all of my machines I'm not able to do that at present. I'm at this moment reloading a win 10 machine with 4.22. I will get back to you asap. In the meantime your efforts to help me are much appreciated.

Kind regards, Mike.




------ Original Message ------
From: "Peter Ulvestad" <ulvestad@...>
To: [email protected]
Sent: Thursday, 11 Mar, 21 At 17:30
Subject: Re: [jmriusers] Unable to open JMRI Panel Pro 4.22 or 4.23.2

That is why Dave is asking to see your session.log file and not the system console.
C:\Users\<username>\JMRI\log\session.log

--
Peter Ulvestad

*Think before you post, try to be positive, and you do not always have to give your opinion.....*

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







Locked Re: Parse error on layout panel loading

 

Look for errors in the JMRI System Console (Help => System Console). ?You can also upload the xml data file to the group's ProblemsBeingWorkedOn file folder and we can review it.

Dave Sand


----- Original message -----
From: Phillip Sifers <stjocbrr@...>
Subject: Re: [jmriusers] Parse error on layout panel loading
Date: Friday, March 12, 2021 7:06 PM

I had a parsing error in my XML file, so i opened it with notepad to take a look and found it blank.

I deleted it and renamed a backup file with the same name and then opened it with jmri.

Every panel? ?opened (turnout, sensor,? signal, layout, blocks? and layout) except I have no control.. Jmri says its connected to my Lenz station, by the LI-USB on com 3 and both lights are on, but can't change switch positions or see where train in (blocks not working) I dont use a jmri throttle. I am using virtual signals, 16 sensors , 40 blocks, 30 turnouts.


any suggestions?



Locked Re: DecoderPro drives trains backwards with Zimo MXULF #4-20 #zimo

 

Just one more update.

I have put together an Arduino based DCC Packet Sniffer, based on this code and design:

which was a derivative of:


I tested it with 2 DCC controllers, a Roco white z21, and the Zimo MXULFA.

I can confirm the following:
1.? Using the z21 with JMRI, DCC codes for forward and reverse were correct.
2.? Using the MXULFA by itself (stand alone) sends the correct DCC direction codes.
3.? Using the MXULFA with JMRI sends the wrong direction DCC code.

Cheers,
Trevor


Locked Re: Problems with upgrade to 4.22; logix & conditionals #logix

 

Ron,

Are you sure you are loading the newly saved version when you restart JMRI. It sounds like the problem is that
you did save a new version, with all the renamed parts, but it is starting up with the old version of the
panel file.

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


Locked Re: Problems with upgrade to 4.22; logix & conditionals #logix

Nick
 

Rummy,

Ok. I'm a PC user but I recognize a similar problem when updating beyond JMRI version 4.17.4 as I had the same problem. I had Internal Routes that used the system names IR(name) When 4.20 came out, that killed them, literally.? I also had LRoutes that included other items too numerous to mention.

You stated you "?But if I edit each LRoute, then without making any changes click Update, the LRoutes once again become functional and my Panel functions fine.??I ¡°Store configuration and panels to file¡± as I always do when changes are made."?

When you "stored" the updated panel, did you create a NEW filename or just store the configuration and ? It helps to update to a new filename when making changes. Hopefully, Dave Sand's info will help you too.

Dave Sand provided me with this insight in a response to someone else's question.

***

" At 4.20, system names for Routes and Logix have been standardized.

The system name prefix for routes was changed from IR to IO. ?IR is used for Reporters. ?Routes without a valid prefix of either IR or IO had IO added to the system name.

If a Logix did not have the IX system name prefix, IX: was added to the system name.

Based on the messages, it appears that you did not use the "user name" for the Routes in the Logix definitions.. ?This made the Route references from Logix fail since they referred to a Route system name that no longer exists.

There also appear to be some other issues with a couple of the Logix definitions.

Dave Sand
***

"I'm not a failure. I started at the bottom and I found it easily attainable. Life is too short to set unattainable goals"

- Nick Kulp



On Friday, March 12, 2021, 08:10:47 PM EST, rummy@... <rummy@...> wrote:


Recently, I upgraded from JMRI 4.17 to 4.22 hoping to cure a few instances of odd behavior when running automatic trains using Dispatcher (more on that in a later post).??But after the upgrade, when loading my panel, I get several dialog boxes that, while not explicitly saying there are errors, indicates that something isn¡¯t quite right.??One says 22 Logix have been renamed, and the other says 22 conditionals have been renamed.??Clicking okay in each dialog box allows the panel loading to proceed. ?Once open, various parts of the panel don't work: several LRoutes and SML signals, for example.

?

I never directly programmed any Logix, so the fact that PanelPro was renaming them was initially confusing.??But coincidentally, I did program 22 functioning LRoutes in 4.17, and looking at the Logix table, the LRoutes also showed up in the Logix table.??However, none of the LRoutes are functional in 4.22.??But if I edit each LRoute, then without making any changes click Update, the LRoutes once again become functional and my Panel functions fine.??I ¡°Store configuration and panels to file¡± as I always do when changes are made.??

?

But, closing PanelPro and reopening and loading my Panel, I get the same dialog boxes about Logix and conditionals being renamed, and once again, the LRoutes do not function.??Is there some other save or store I should be doing in the new version to save LRoutes and/or Logix??I didn¡¯t have to in 4.17, just "store configuration and panels to file".

?

Mac OSX 10.14.6

Digitrax DCS51 Zephyr, DS64's, PM42, DBL168's, SE8C, PR4

Thanks, in advance,
Rummy (Ron)


Locked Problems with upgrade to 4.22; logix & conditionals #logix

 

Recently, I upgraded from JMRI 4.17 to 4.22 hoping to cure a few instances of odd behavior when running automatic trains using Dispatcher (more on that in a later post).??But after the upgrade, when loading my panel, I get several dialog boxes that, while not explicitly saying there are errors, indicates that something isn¡¯t quite right.??One says 22 Logix have been renamed, and the other says 22 conditionals have been renamed.??Clicking okay in each dialog box allows the panel loading to proceed. ?Once open, various parts of the panel don't work: several LRoutes and SML signals, for example.

?

I never directly programmed any Logix, so the fact that PanelPro was renaming them was initially confusing.??But coincidentally, I did program 22 functioning LRoutes in 4.17, and looking at the Logix table, the LRoutes also showed up in the Logix table.??However, none of the LRoutes are functional in 4.22.??But if I edit each LRoute, then without making any changes click Update, the LRoutes once again become functional and my Panel functions fine.??I ¡°Store configuration and panels to file¡± as I always do when changes are made.??

?

But, closing PanelPro and reopening and loading my Panel, I get the same dialog boxes about Logix and conditionals being renamed, and once again, the LRoutes do not function.??Is there some other save or store I should be doing in the new version to save LRoutes and/or Logix??I didn¡¯t have to in 4.17, just "store configuration and panels to file".

?

Mac OSX 10.14.6

Digitrax DCS51 Zephyr, DS64's, PM42, DBL168's, SE8C, PR4

Thanks, in advance,
Rummy (Ron)


Locked Re: Parse error on layout panel loading

 

I had a parsing error in my XML file, so i opened it with notepad to take a look and found it blank.

I deleted it and renamed a backup file with the same name and then opened it with jmri.

Every panel? ?opened (turnout, sensor,? signal, layout, blocks? and layout) except I have no control.. Jmri says its connected to my Lenz station, by the LI-USB on com 3 and both lights are on, but can't change switch positions or see where train in (blocks not working) I dont use a jmri throttle. I am using virtual signals, 16 sensors , 40 blocks, 30 turnouts.


any suggestions?


Locked Re: Dispatcher Pro Question

 

Norb
It sounds like you are using 2 profiles that point to two different "files areas", as defined in preferences.
In dispatcher start a new train, and then "Load from File", Load something any road, at the top of create train screen, check one of those for "Load on startup" being checked.
Steve G.


Locked Re: Usb can adapter recommendation needed

 

Thanks Torgrim. That's good to know!


Locked Re: Unable to open JMRI Panel Pro 4.22 or 4.23.2 #4-22

 

¿ªÔÆÌåÓý

Sorry, I forgot I can't send attachments. I'm not sure how to post them. looking at my sessio.log printout I'm pretty sure you're on the right track, Ken.. I'll have another go at sending them tomorrow. Mike.



------ Original Message ------
From: "MICHAEL PAYNE via groups.io" <mikepayne1402@...>
To: [email protected]
Sent: Friday, 12 Mar, 21 At 23:35
Subject: Re: [jmriusers] Unable to open JMRI Panel Pro 4.22 or 4.23.2

Dave and Peter,

I still have been unable to open 4.22 in the normal way, however I discovered that DecoderPro opened normally and I could open PanelPro from the dropdown menu. After some experimentation I now have 4.22 working, but I still can't open it from the desktop icon. I have attached a session log (now I've discovered how to do it!)

Thanks, Mike.





------ Original Message ------
From: "MICHAEL PAYNE via groups.io" <mikepayne1402@...>
To: [email protected]
Sent: Thursday, 11 Mar, 21 At 17:39
Subject: Re: [jmriusers] Unable to open JMRI Panel Pro 4.22 or 4.23.2

Thank you Peter,

As I have removed 4.22 from all of my machines I'm not able to do that at present. I'm at this moment reloading a win 10 machine with 4.22. I will get back to you asap. In the meantime your efforts to help me are much appreciated.

Kind regards, Mike.




------ Original Message ------
From: "Peter Ulvestad" <ulvestad@...>
To: [email protected]
Sent: Thursday, 11 Mar, 21 At 17:30
Subject: Re: [jmriusers] Unable to open JMRI Panel Pro 4.22 or 4.23.2

That is why Dave is asking to see your session.log file and not the system console.
C:\Users\<username>\JMRI\log\session.log

--
Peter Ulvestad

*Think before you post, try to be positive, and you do not always have to give your opinion.....*

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






Locked Re: Unable to open JMRI Panel Pro 4.22 or 4.23.2 #4-22

 

Mike,

Attachments are removed. ?You need to open the file in NotePad and copy and paste the contents in a reply.

Dave Sand



----- Original message -----
From: "MICHAEL PAYNE via groups.io" <mikepayne1402=[email protected]>
Subject: Re: [jmriusers] Unable to open JMRI Panel Pro 4.22 or 4.23.2
Date: Friday, March 12, 2021 5:35 PM

Dave and Peter,

I still have been unable to open 4.22 in the normal way, however I discovered that DecoderPro opened normally and I could open PanelPro from the dropdown menu. After some experimentation I now have 4.22 working, but I still can't open it from the desktop icon. I have attached a session log (now I've discovered how to do it!)

Thanks, Mike.





------ Original Message ------
From: "MICHAEL PAYNE via groups.io" <mikepayne1402@...>
Sent: Thursday, 11 Mar, 21 At 17:39
Subject: Re: [jmriusers] Unable to open JMRI Panel Pro 4.22 or 4.23.2

Thank you Peter,

As I have removed 4.22 from all of my machines I'm not able to do that at present. I'm at this moment reloading a win 10 machine with 4.22. I will get back to you asap. In the meantime your efforts to help me are much appreciated.

Kind regards, Mike.




------ Original Message ------
From: "Peter Ulvestad" <ulvestad@...>
Sent: Thursday, 11 Mar, 21 At 17:30
Subject: Re: [jmriusers] Unable to open JMRI Panel Pro 4.22 or 4.23.2

That is why Dave is asking to see your session.log file and not the system console.
C:\Users\<username>\JMRI\log\session.log

--
Peter Ulvestad

*Think before you post, try to be positive, and you do not always have to give your opinion.....*

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