¿ªÔÆÌåÓý

Date

Locked Predicate memory in Logix not renamed when user name changed #memory #renaming #logix

 

Using 4.16, if the user name of a memory variable is changed (renamed), in Logix, a copy memory to memory action is not fully updated with the new name.? The subject memory variable is updated, but the predicate (copied to) memory variable still has the old (now unused) user name.

For example, if I have memory variables "Two" and "Three", and have a Logix action defined to copy the contents of Two to Three, it works when triggered.? However, if I rename "Two" to "Too" and rename "Three" to "Third", the Logix action will be updated to [ On Change to True, Copy Memory to Memory, "Too" to Three ] (instead of Too to Third).? Of course when triggered, Logix fails because there is no memory variable "Three" anymore.

Is this a known issue?? Should I put an issue on GitHub?? Thanks for any help or thoughts.

Phil in gorgeous Young Harris, Georgia, USA


Locked Re: JMRI 4.16, digitrax PR3 or PR4 Soundtraxx Tsunami

James
 

folks, thanks for the explanation. Your assistance and advice is appreciated .


Locked Re: JMRI 4.16, digitrax PR3 or PR4 Soundtraxx Tsunami

 

¿ªÔÆÌåÓý

That explains the problem. Would using Decoder lock ( cv15&16 ) prevent this?


On 1 Aug 2019, at 23:18, David Klemm <davidklemm7511@...> wrote:

James,

Nothing new, I reported this a few years ago and Bob looked in to and his reference explains the why it happens.?

David Klemm
Xs Max

From: [email protected] <[email protected]> on behalf of jamestrigg@... <jamestrigg@...>
Sent: Thursday, August 1, 2019 1:48:02 AM
To: [email protected] <[email protected]>
Subject: [jmriusers] JMRI 4.16, digitrax PR3 or PR4 Soundtraxx Tsunami
?
Greetings. I have started having problems with the Master Sound Level CV128 on SoundTraxx Tsunami2? decoders resetting to 1 or 0 when I try to test the sound installation using the trottle feature. Does any one out there have any suggestions? Win 10 , I have also tried 4.17 with the same results


Locked Re: DecoderPro move to different computer

Frank in Houston
 

Hi ...sorry....I did not explain my self very well, the Computer data...Digitrax engine numbers, speed table and CV settings. THANK YOU.....

:>)....Have a good day.....Frank W (iPad)


Locked Re: Versions 4.16 & 4.17

Robert Schworm
 

I assume you deleted the old jmri distro before you upgraded and installed the new one.? Fol rmy RPi, the jmri distro lives in /home/pi/jmri.? I would delete this /jmri and all that is below it.? Then I would extract the new image right back into this folder path.? Again the path should not be /jmri/jmri....it should simply be /jmri with this folder at the top level of the distro.

Look tjru your actual folder structure and drill down to where you think your images should be and be sure this does lay in the path of the new distro.

Bob S

On Thu, Aug 1, 2019 at 10:09 AM Ken Cameron <kcameron@...> wrote:
Mike H,

You said " images are all contained in the Roster directory with the
roster.xml file", that would not be right. The roster.xml file is one layer
up from the roster directory. I presume you typed wrong, but if not, this is
a sign of possible problems. It is suggested that when sharing a roster
directory between multiple profiles it is better that directory is not
within a profile. This is more a safety in case you move or remove a profile
later.

-Ken Cameron, Member JMRI Dev Team











Locked restoring sensors and blocks

 

¿ªÔÆÌåÓý

I came to the group a couple months ago with a problem of slow response on my JMRI Panel. ?I had updated my operating system (mac) and things had slowed down. ?Someone had suggested that my USB serial cable might have been the problem. ?I pushed back on that because it had worked so well for years. ?Well, I purchased a new one from RR-CirKits and the slowness has gone. ?My apologies for poo pooing the idea that I needed a new serial cable. ?So just as I had done a software update, it seemed I also needed a hardware update. ?

Now my next problem is getting some other issues resolved following a lightning strike of a tree next to the house. ?I had to replace the remote control for our ceiling fan in the bedroom close to the tree along with the cable box for the TV in that room. ?On the layout, I had to replace 2 NCE SwitchIts and 2 bicolor LED¡¯s. ?How crazy is that, 2 LED¡¯s not in similar places on the layout being effected by the crazy voltage of lightning. ?I guess I¡¯m lucky it wasn¡¯t worse, unless of course I still find some crucial issues. ?So far all the locomotives I¡¯ve been using seem to work well.

Anyway, here is my newest deal. ?I took my computer to the apple store to do a diagnostic and clean up unused files to speed up its processing. ?Somewhere in there I lost the sensors and blocks tables in my panel. ?I did go and find an older version of my panel where the sensors and blocks were present. ?But in that older version of the panel, the occupancy still did not work so I¡¯m still trouble shooting the detection hardware. ?I actually think it would be easier to rebuild the sensor table and blocks on my newest panel rather than do all the updates for an older panel. ?But when I went to rebuild the sensor table the way to enter the sensors has changed from when I created them in 2014. ?I can¡¯t seem to figure out the new system. ?I went to the ¡°help" for that window but could not find the specific information that addresses how to do this for the Team Digital SIC24AD that translates my detectors to the panel. ?The Team Digital sensors show occupancy on the specific occupancy detector with the LED on their board but not back on the panel. ?The Locobuffer USB activity monitor is blank. ?Oh, I also sent my LocoBuffer USB to RR-CirKits for evaluation following the lightning strike and it was repaired and returned so it is good. ?

Is there another place in the JMRI instructions for building the Sensor table with the Team Digital components?

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


Locked Re: DecoderPro move to different computer

 

Frank,

Do you mean the Operations data or the loco (decoder) roster data? Makes a
difference in which files/directories you need and which have tools to make
the export/import simpler.

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


Locked DecoderPro move to different computer

Frank in Houston
 

Hello. For several months I have been programming my locomotives on my friends computer. I just got a new computer and have loaded JMRI on it. I can easily reach the new (but with blank data) DecoderPro screen on this new computer.?
QUESTION. How do I move the decoder data from my friends computer to this new one? ?Do I copy all the files in the operations folder and use them as a replacement for the operations files I just downloaded from JMRI??

I easily find a folder for operations but cannot find one titled DecoderPro. What folder would this data be in??
THANK YOU. Frank in Katy.?


Locked Re: Versions 4.16 & 4.17

 

Mike H,

You said " images are all contained in the Roster directory with the
roster.xml file", that would not be right. The roster.xml file is one layer
up from the roster directory. I presume you typed wrong, but if not, this is
a sign of possible problems. It is suggested that when sharing a roster
directory between multiple profiles it is better that directory is not
within a profile. This is more a safety in case you move or remove a profile
later.

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


Locked Re: Versions 4.16 & 4.17

 

Thanks, but I went through all of that. The roster images are all contained in the Roster directory with the roster.xml file. ?I went through all of my 4 profiles to make sure that in Settings they were all pointing to the correct User File location and Roster location. I have Resource directories in each Profile directory, but they¡¯re all empty.?
I have no idea what¡¯s going on, but since I appear to be the only one having this problem I¡¯m guessing it¡¯s something in my system. I do a backup before doing an upgrade. During the upgrade process is the roster.xml file recreated, and could that somehow be breaking the link to the images?
--
Mike Heintzman


Locked Re: JMRI 4.16, digitrax PR3 or PR4 Soundtraxx Tsunami

 

¿ªÔÆÌåÓý

James,

Nothing new, I reported this a few years ago and Bob looked in to and his reference explains the why it happens.?

David Klemm
Xs Max


From: [email protected] <[email protected]> on behalf of jamestrigg@... <jamestrigg@...>
Sent: Thursday, August 1, 2019 1:48:02 AM
To: [email protected] <[email protected]>
Subject: [jmriusers] JMRI 4.16, digitrax PR3 or PR4 Soundtraxx Tsunami
?
Greetings. I have started having problems with the Master Sound Level CV128 on SoundTraxx Tsunami2? decoders resetting to 1 or 0 when I try to test the sound installation using the trottle feature. Does any one out there have any suggestions? Win 10 , I have also tried 4.17 with the same results


Locked Re: JMRI 4.16, digitrax PR3 or PR4 Soundtraxx Tsunami

 

Are you using a Digitrax PR3 or PR4 to do the programming? If so, see





where it talks about how those use CV128

Bob

On Aug 1, 2019, at 1:48 AM, jamestrigg@... wrote:

Greetings. I have started having problems with the Master Sound Level CV128 on SoundTraxx Tsunami2 decoders resetting to 1 or 0 when I try to test the sound installation using the trottle feature. Does any one out there have any suggestions? Win 10 , I have also tried 4.17 with the same results
--
Bob Jacobsen
rgj1927@...


Locked JMRI 4.16, digitrax PR3 or PR4 Soundtraxx Tsunami

 

Greetings. I have started having problems with the Master Sound Level CV128 on SoundTraxx Tsunami2? decoders resetting to 1 or 0 when I try to test the sound installation using the trottle feature. Does any one out there have any suggestions? Win 10 , I have also tried 4.17 with the same results


Locked Re: Supporting turnouts with feedback compatibility

 

Thanks for the advice on how to wire switches folks though completely irrelevant to OP, he is using servo position events for Turnout feedback, no switches involved.

MERG CBUS servo modules can send an event when the servo
  • Starts its move - To make Turnout inconsistent
  • Midway position - Can be used to trigger switching frog power
  • End point reached - Turnout closed / thrown

An issue with JMRI Layout Editor logic which deals with supporting Turnout feedback ( for any hardware type ) has been confirmed with a fix uploaded.

No more posts about switches required thanks,

Steve.


Locked Re: Engine Only Responds to Short Address

 

Concur with Thomas on the QSI opinion.?? I remove QSI decoders when I encounter one.?? I do DCC installs for others and I won't touch them.? Too problematic, time consuming, and fickle.??? I had one loco that came back to me 3 times, with the complaint that it wouldn't respond to commands on the individuals NCE layout, but when I placed it on my Digitrax layout ran like a champ.


Locked Re: Supporting turnouts with feedback compatibility

 

Yes Dave, that is exactly how I have always wired the feedback for points and when I get to wiring for JMRI will continue to do so.

Tony
https://ozfreemo.com


Locked Re: Engine Only Responds to Short Address

 

In our club, QSI was notorious for this. Even with DC off, still happened.
Someone puts a steam Lok on the layout (Beep, Beep, shorts) and any QSI decoder is scrambled.
Sometimes a reset did not bring that decoder back to life.
I Picked up sis QSI equipped Loks from an estate. They all have a new decoder.

Surprised this happened to a Tsunami. Never had that happen to Tsunami at the club.

Thomas
DeSoto, TX?


Locked Re: Using LOGIX to set Sensor to Unknown #logix

 

Jerry,

It is not possible to set Unknown directly, but you can indirectly using a script action:


IX:AUTO:0001C1 C1
[x] R1 IF Sensor "DOIT" state is "Sensor Active"
THEN
On Change To True, Execute Jython Command Jython Command sensors.getSensor('XYZ').setKnownState(UNKNOWN).


Dave Sand

On Jul 31, 2019, at 10:55 PM, JerryG via Groups.Io <jerryg2003@...> wrote:

A month ago I posted and got no response. Do any of the Logix experts or developers out there have any thoughts on my post:

My first try at LOGIX...I'm trying to set up a LOGIX to check a sensor for being Inactive for x seconds and then set it to Unknown. I see how to check the sensor, but I don't see how to set it to Unknown (only see how to set to Active or Inactive). Also, I see Delayed Set but that isn't what I want: I want to check how long it has been in a certain state already and then set it to another state. Can I do this? Similarly, if the sensor is in the Inconsistent state for y seconds, I want to set it to Unknown.

I know how to do this with a script. Trying to see if I can do it more easily (or at all) with LOGIX.


Thanks, Jerry
___________________________________
jerryg2003@...


Locked Re: Using LOGIX to set Sensor to Unknown #logix

 

A month ago I posted and got no response. ?Do any of the Logix experts or developers out there have any thoughts on my post:

My first try at LOGIX...I'm trying to set up a LOGIX to check a sensor for being Inactive for x seconds and then set it to Unknown.? I see how to check the sensor, but I don't see how to set it to Unknown (only see how to set to Active or Inactive).? Also, I see Delayed Set but that isn't what I want:? I want to check how long it has been in a certain state already and then set it to another state.? Can I do this?? Similarly, if the sensor is in the Inconsistent state for y seconds, I want to set it to Unknown.

I know how to do this with a script.? Trying to see if I can do it more easily (or at all) with LOGIX.


Thanks, Jerry
___________________________________
jerryg2003@...


Locked Re: Versions 4.16 & 4.17

 

Mike,

On 1 Aug 2019, at 12:22 AM, Mike Heintzman <mikeheintzman@...> wrote:

Running Windows 10 on both machines, data is shared on OneDrive. One thing I¡¯ve noticed is that there are Roster.xml files in my older profiles (without the .jmri extension) and one of these (called no decoder) is usually what I open first to check the update. Might it be picking up this roster instead of where the real roster is? I¡¯ve looked at the various Profile Configuration documents but I can¡¯t tell if these roster files are supposed to be there or not.
- When JMRI opens, it looks for a "roster.xml" file in the "Roster Location" (refer Help->Locations). This purportedly contains an index of all ".xml" files in the "roster" folder at "Roster Location" and any attached image files.

- The "Roster Location" is usually the same as "User Files Location" and can be specific to every profile/machine or shared or any combination thereof.

- In earlier versions of JMRI, roster image files were stored in the "resources" folder in "User Files Location". Roster entries created by current JMRI versions copy the image files into the "roster" folder.

- Rebuild Roster Index writes a new "roster.xml" for the associated "roster" folder.

- If you've changed the "User Files Location"/"Roster Location" for all profiles/computers to OneDrive/Dropbox (as I have) there should be only one "roster.xml" file and "roster" folder being used by all your profiles. (There may be empty/unused copies in "Profile Location" from before you switched.)

- The presence or absence of a ".jmri" extension on a profile doesn't matter. For consistency's sake I added ".jmri" to all my old profile folder names, but there's no need to.

- The icon/image behaviour you are seeing may be because you have all/some images in a non-shared "resources" folder on some profiles/machines. This can be cured by making sure all profiles/machines are using a shared "User Files Location" (usually the same as "Roster Location") and putting the "resources" folder there (i.e. at the same level as the "roster" folder and "roster.xml".

<>
<>

Dave in Australia