¿ªÔÆÌåÓý

Date

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

 

Ken,

The target for a memory to memory copy is a string field which contains the destination memory name. It appears that there is no provision for a named bean handle so the name change is not recognized.

Dave Sand

On Aug 1, 2019, at 7:43 PM, Ken Cameron <kcameron@...> wrote:

Changing names, sometimes requires saving and restarting so everything picks
up the name change. Many things get the change notice and work right away,
but some, view like the name gets passed down a few times. The lower level
didn't listen for the change. This isn't a great explanation, but worth
keeping in mind. Now I would say this is more historic detail. I know in the
prior and current development cycle they are making changes that could
likely make differences here. Further testing with latest development code
would be interesting.

Now after doing the save and restart, did the Logix have the right names
(and actions)?

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






Locked Re: restoring sensors and blocks

 

Spuds,

Sorry that I forgot to mention that my command station is a NCE PH Pro Radio system. ?The JMRI Panel Pro version is 4.15.9 and Java is version 1.8.0-211

But since I am using the LocoBuffer USB to translate detection back to JMRI and the computer, all the Sensor tables had the LS prefix. ?And now I recall and I think you are saying that they pretty much populate themselves as the detection sees trains. ?But they aren't, so I"m wondering if the Team Digital SIC boards lost their programming or were dealt a death blow by the lighting strike. ?I have had the Loconet Monitor open and it remains blank when cars with resistor wheel sets or locomotives roll into a block even when the LED down on the detection board under the layout shows occupancy. ?The info isn't traveling to the computer.

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


Locked Re: Versions 4.16 & 4.17

 

¿ªÔÆÌåÓý

Mike,

On 1 Aug 2019, at 11:56 PM, Mike Heintzman <mikeheintzman@...> wrote:

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?

Various things don't add up here. We need to get to the bottom of this one.

1) We need you to go to the Help->Locations menu item, click in the folders display area, Select All (ctrl-A), Copy (ctrl-C) and Paste (ctrl-V) into a message for us to see.

2) The "Roster Location":
- Must contain a "roster" folder and a "roster.xml" file.
- Should not have any "locoxxx.xml",??"locoxxx.bak" or roster icon files.
- If?"Roster Location" is the same as?"User Files Location", there may be a "resources" folder and operations or panel files/folders.

3) The "roster" folder:
-?Must not contain?a "roster" folder nor a "roster.xml" file.
-?Should have?some "locoxxx.xml",??"locoxxx.bak" and possibly roster icon files.
-?Must not contain?a "resources" folder nor operations nor panel files/folders.

4) The "User Files Location":
-?- If?"Roster Location" is the same as?"User Files Location",?May contain?a "roster" folder and a "roster.xml" file.
-?Should not have?any "locoxxx.xml",??"locoxxx.bak" or roster icon files.
- May contain a "resources" folder and operations or panel files/folders.

I want to get to the bottom of this because I've recently worked through a somewhat similar problem encountered by another user after an upgrade to 4.16. In his case he ended up with recursively nested "roster" folders (possibly due to selection error - many users accidentally set "Roster Location" to the "roster" folder) and?recursively nested profiles, but I want to be certain there's not an issue with the Windows-only "Backup Files" installer option...

<>
<>


Dave in Australia




Locked Re: Engine Only Responds to Short Address

Nick
 

Thanks Marc,

I thought it was something unique to NCE.

Nick

"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 Thursday, August 1, 2019, 02:54:53 PM EDT, forfoum@... <forfoum@...> wrote:


NCE accepts leading 0 in 2 digit address and treats it as a 4 digit address. Digitrax does not.

So 0127 (7F HEX) is valid address to NCE? but not to Digitrax.
So an NCE address of 0032 will not work on a Digitrax system as 4 digit less than 128 is invalid for Digitrax.

Marc


Locked Re: restoring sensors and blocks

 

It's implied from the locobuffer that you're using a digitrax command station. If thats wrong, or things are more complicated, please list that info, and the version of JMRI you're using.

The easiest way to populate the sensors table, would be to load the newest/most accurate panel, open up the loconet monitor, and trigger sensors , then give them 'human names' in the sensors panel.

The reason for opening the loconet monitor is to give you an easy to view history of what just changed, instead of figuring out what just got added to the tables.

The sensors should come up as LS####? eg LS1 - LS2044 (I think the top sensors are reserved, and think I'm remembering the range).

If you've lost turnouts, can do the same thing with them, which will be LT####

note that on loconet, you can set sensors to be type 'turnout feedback'. They won't show up in the sensors table, if so, but in the loconet monitor messages reporting the actual position of the turnout (you'll see something like "LT1 set to THROWN. LT1 reports THROWN' My verbage is a bit off, but you'll see twice the messages than you would without the turnout feedback.

Once you have the sensors and turnouts in your tables, on the table page save data and panels (under file). if you don't do this, all the sensors and turnouts previously found will be lost.

You can then go in and link sensors and turnouts to where they should be on your panel(s).


On Thu, Aug 1, 2019 at 2:26 PM Tom Cain <atsf93@...> wrote:
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: Predicate memory in Logix not renamed when user name changed #memory #renaming #logix

 

Changing names, sometimes requires saving and restarting so everything picks
up the name change. Many things get the change notice and work right away,
but some, view like the name gets passed down a few times. The lower level
didn't listen for the change. This isn't a great explanation, but worth
keeping in mind. Now I would say this is more historic detail. I know in the
prior and current development cycle they are making changes that could
likely make differences here. Further testing with latest development code
would be interesting.

Now after doing the save and restart, did the Logix have the right names
(and actions)?

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


Locked Re: Help getting JMRI working on a new WIN10 computer

 

¿ªÔÆÌåÓý

Marc,

?

I¡¯d expected the same ¨C up and running in a few minutes.? Several hours later I¡¯ve experienced ¡®no joy:¡¯

?

Ross

?

From: [email protected] <[email protected]> On Behalf Of forfoum@...
Sent: Thursday, August 1, 2019 5:21 PM
To: [email protected]
Subject: Re: [jmriusers] Help getting JMRI working on a new WIN10 computer

?

No problem found using USBSS port. JMRI working,?? Monitor Loconet Stats display 3 boxes populated with Ver 2040, ) Breaks 0, Errors 0.
On OFF commands being handled and DCS100 responding as normal.

All in 25 minutes

Marc


Locked Re: DecoderPro &ESU LokSound Factory reset

 

¿ªÔÆÌåÓý

Frank,

On 2 Aug 2019, at 3:26 AM, Frank in Houston <upitrr@...> wrote:

First I go to NEW Locomotive and select ESU as decoder manufacturer ? Then I click on that and go thru the menu of decoders until I find "LokSound Select".. I select that and I have a new entry that I can use to program my new locomotive.

Never attempt to guess the model of a modern ESU decoder. You must always use New Loco->Read Type from Decoder. This will uniquely identify any current ESU decoder.


QUESTION:? The CV's listed on this initial set up of CV's, in DecoderPro, are those values? the same as Factory Reset values?


Never with an ESU decoder. The Factory Reset values differ for every sound project loaded into the decoder. There are many, many, many hundreds of sound projects, each with their own unique set of 1,000-2,000 CVs. It's not practical for DecoderPro to even know about, much less store all these values.

Reading the full decoder is essential, particularly with ESU decoders where there are no "standard defaults". Each sound project has its own "factory defaults". All ESU sound decoders are manufactured effectively blank. When a Sound project is loaded to the decoder (using LokProgrammer software) part of the procedure is to write a new set of "factory defaults".

Because of a known (but as yet unresolved) race condition with certain decoder settings variables in JMRI code:

1) Use "Read Full Sheet" on the CVs pane instead of "Read All Sheets". It is less likely to cause errors when reading a decoder with lots of CVs.
Once finished, some may be missed (displayed in red). Use "Read Changes on Sheet" as many times as needed until no red items remain.
(Hint: Click on the Status column in the CVs pane until you see a down arrow. All the Red items will then be at the top.)

2) After you make changes on a programming sheet, don't use Write/Read changes on that programming sheet. Instead, switch to the CVs pane and use Write/Read changes on (the CVs) sheet. The result is the same but it will never trigger the race condition.

You'll also see a number of messages in the JMRI System Log like this:
"ERROR - Variable=xxxxxx; Busy goes false with state IDLE"

Ignore these as they don't indicate a real error, we'll fix the problem in a later JMRI release.

Dave in Australia



Locked Re: Help getting JMRI working on a new WIN10 computer

 

¿ªÔÆÌåÓý

Marc,

?

Thank you for checking.? This may verify that we are not getting communication between the LocoBuffer and computer.

?

I will re-check all of the cables.? I can also run a ¡®known-good¡¯ jumper from the DCS100 to the computer.? (Computer is remote from the DCS100).

?

Ross

?

From: [email protected] <[email protected]> On Behalf Of forfoum@...
Sent: Thursday, August 1, 2019 5:29 PM
To: [email protected]
Subject: Re: [jmriusers] Help getting JMRI working on a new WIN10 computer

?

On Thu, Aug 1, 2019 at 05:20 PM, Ross Kudlick wrote:

Thank you for the hint.? I will check next time I¡¯m at the club.?

?

Doesn¡¯t explain why it works when the USB cable is unplugged from 1 computer and plugged into the other.

?

Ross

Same result using this French Win10 64 bit HP PC.

Unplug the Loconet cable and the Monitor Loconet Stats opens? to 8 blank boxes. The Locobuffer-USB gets power from both the USB cable and the Loconet cable which might explain the blank boxes. The minute I plug the Loconet cable in, the 8 blank boxes change to? 3, populated, boxes.?

good luck

Marc


Locked Re: Help getting JMRI working on a new WIN10 computer

 

¿ªÔÆÌåÓý

I installed the drivers from the RR-CirKits web site.? Dick Bronson confirmed they were correct from the data in the port properties.

?

Ross

?

From: [email protected] <[email protected]> On Behalf Of forfoum@...
Sent: Thursday, August 1, 2019 4:53 PM
To: [email protected]
Subject: Re: [jmriusers] Help getting JMRI working on a new WIN10 computer

?

Hum.. borrowed my wife's HP Probook 4540s running Win10 64 bit, 1809 - 17763.615.? Chucked the LB-USB in it and no driver found.
So much for the native driver.?? This is a French version of Win10.


Locked multi decoder control

 

Does?multi decoder control allow you to program multiple decoder locos?? If so how do I use it? Thanks.

Jim K


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

 

GitHub issue #7272 created.


Locked Re: Help getting JMRI working on a new WIN10 computer

 

¿ªÔÆÌåÓý

Nigel,

?

Thank you for the input.

?

The COM ports seem to be correctly established, 1 for each LocoBuffer.? This was verified on Device Manager both before and after re-installing the drivers.? Dick Bronson and I walked thru this multiple times.

?

The ports are a mix of USB-2 and USB-3.? I¡¯ll make sure I¡¯m using USB-2 ports next time I¡¯m at the club.? I have a powered USB hub I can try as well.

?

Ross

?

From: [email protected] <[email protected]> On Behalf Of Nigel Cliffe
Sent: Thursday, August 1, 2019 4:41 PM
To: [email protected]
Subject: Re: [jmriusers] Help getting JMRI working on a new WIN10 computer

?

?

I¡¯m assuming that you know to look at the Device Manager on the computer for the LocoBuffer connecting, and establishing a COM port ???? If that¡¯s not appearing to work, then¡­.?

?

Are the ports on the computer all USB-3 ??? I¡¯ve had issues with numerous older USB devices not working correctly on USB-3 ports.?? If stuck with all of them being USB-3, then I¡¯ve found that sometimes a USB-2 port repeater/hub will help (one USB to the main computer, the repeater/hub has four USB ports).??

?

?

  • Nigel

?

From: [email protected] [mailto:[email protected]] On Behalf Of Ross Kudlick
Sent: 01 August 2019 20:21
To: [email protected]
Subject: [jmriusers] Help getting JMRI working on a new WIN10 computer

?

I¡¯ve hit a road block establishing communication between JMRI and a Digitrax DCS100 using a LocoBuffer-USB interface.? This is a new installation in a computer replacing a recently failed unit.?

?

After extensive trouble shooting, including a lengthy telephone trouble shooting consultation with Dick Bronson (RR-CirKits), I believe the issue is with the computer.?

?

The trouble shooting has covered all of the ¡®usual suspects;¡¯? JMRI Configuration and Preferences; COM port confirmation, etc.?? Dick had me re-install the LocoBuffer-USB drivers (after removing them using a utility posted on the RR-CirKits web site).?

?

The ¡®Monitor LocoNet Stats¡¯ window is blank.? The LocoBuffer is ¡®seeing¡¯ LocoNet activity per the flashing red LED when throttle commands are sent.? This would seem to indicate we are not getting communication between the computer and LocoBuffer.? Several different USB ports were tried; 3 different LocoBuffers were tried.? (The USB ports work with a wireless keyboard and mouse.)

?

I substituted a different computer (MS Surface Pro 6 running WIN10 Pro) ?and successfully communicated with the DCS100 with 2 of the 3 LocoBuffers.? (I didn¡¯t try the 3rd LocoBuffer but have no reason to believe it wouldn¡¯t work.)

?

Dick and I are at a loss and he suggested I post here to see if anybody has any additional thoughts.? I¡¯m open to any additional ¡®outside-the-box¡¯ ideas.

?

Ross Kudlick

?

?

Details:

HP ProDesk 600 G1 SFF? (off-lease refurb)

WIN 10 Pro 10.0.18362

JMRI 4.17.9? (version on the failed computer)

JAVA 1.8.0_221;? changed to JAVA? 12.0.2? at Dick Bronson¡¯s suggestion during trouble shooting

?

LocoBuffer-USB version 2.070

DCS100 firmware version FD


Locked Re: Help getting JMRI working on a new WIN10 computer

 

¿ªÔÆÌåÓý

Marc,

?

Thank you for the hint.? I will check next time I¡¯m at the club.?

?

Doesn¡¯t explain why it works when the USB cable is unplugged from 1 computer and plugged into the other.

?

Ross

?

From: [email protected] <[email protected]> On Behalf Of forfoum@...
Sent: Thursday, August 1, 2019 4:39 PM
To: [email protected]
Subject: Re: [jmriusers] Help getting JMRI working on a new WIN10 computer

?

When it is operational those 8 boxes should only be 3. My experience,? cause of this is bad Loconet cable between LB-USB and DCSxx..? I can replicate this by disconnecting the loconet cable in my setup.?

Marc


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

 

Phil,

I have created a simple test case which replicates your issue.

I have a pretty good idea of what is happening but I don¡¯t have a solution yet.

In the meantime, create a GitHub issue.


Dave Sand

On Aug 1, 2019, at 10:58 AM, Phil in gorgeous Young Harris via Groups.Io <philabernathy@...> wrote:

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: Help getting JMRI working on a new WIN10 computer

 

¿ªÔÆÌåÓý

Typo ¨C S/B ?4.15.9

?

From: [email protected] <[email protected]> On Behalf Of forfoum@...
Sent: Thursday, August 1, 2019 4:31 PM
To: [email protected]
Subject: Re: [jmriusers] Help getting JMRI working on a new WIN10 computer

?

Is that JMRI version 4.17.9? a typo ??? Trying to replicate but not find 4.17.9 on Jenkins

Marc


Locked Re: Help getting JMRI working on a new WIN10 computer

 

¿ªÔÆÌåÓý

?

I¡¯m assuming that you know to look at the Device Manager on the computer for the LocoBuffer connecting, and establishing a COM port ???? If that¡¯s not appearing to work, then¡­.?

?

Are the ports on the computer all USB-3 ??? I¡¯ve had issues with numerous older USB devices not working correctly on USB-3 ports.?? If stuck with all of them being USB-3, then I¡¯ve found that sometimes a USB-2 port repeater/hub will help (one USB to the main computer, the repeater/hub has four USB ports).??

?

?

-????????? Nigel

?

From: [email protected] [mailto:[email protected]] On Behalf Of Ross Kudlick
Sent: 01 August 2019 20:21
To: [email protected]
Subject: [jmriusers] Help getting JMRI working on a new WIN10 computer

?

I¡¯ve hit a road block establishing communication between JMRI and a Digitrax DCS100 using a LocoBuffer-USB interface.? This is a new installation in a computer replacing a recently failed unit.?

?

After extensive trouble shooting, including a lengthy telephone trouble shooting consultation with Dick Bronson (RR-CirKits), I believe the issue is with the computer.?

?

The trouble shooting has covered all of the ¡®usual suspects;¡¯? JMRI Configuration and Preferences; COM port confirmation, etc.?? Dick had me re-install the LocoBuffer-USB drivers (after removing them using a utility posted on the RR-CirKits web site).?

?

The ¡®Monitor LocoNet Stats¡¯ window is blank.? The LocoBuffer is ¡®seeing¡¯ LocoNet activity per the flashing red LED when throttle commands are sent.? This would seem to indicate we are not getting communication between the computer and LocoBuffer.? Several different USB ports were tried; 3 different LocoBuffers were tried.? (The USB ports work with a wireless keyboard and mouse.)

?

I substituted a different computer (MS Surface Pro 6 running WIN10 Pro) ?and successfully communicated with the DCS100 with 2 of the 3 LocoBuffers.? (I didn¡¯t try the 3rd LocoBuffer but have no reason to believe it wouldn¡¯t work.)

?

Dick and I are at a loss and he suggested I post here to see if anybody has any additional thoughts.? I¡¯m open to any additional ¡®outside-the-box¡¯ ideas.

?

Ross Kudlick

?

?

Details:

HP ProDesk 600 G1 SFF? (off-lease refurb)

WIN 10 Pro 10.0.18362

JMRI 4.17.9? (version on the failed computer)

JAVA 1.8.0_221;? changed to JAVA? 12.0.2? at Dick Bronson¡¯s suggestion during trouble shooting

?

LocoBuffer-USB version 2.070

DCS100 firmware version FD


Locked Re: Help getting JMRI working on a new WIN10 computer

 

¿ªÔÆÌåÓý

Marc,

?

All 8 boxes are blank.

?

Ross

?

From: [email protected] <[email protected]> On Behalf Of forfoum@...
Sent: Thursday, August 1, 2019 4:29 PM
To: [email protected]
Subject: Re: [jmriusers] Help getting JMRI working on a new WIN10 computer

?

On Thu, Aug 1, 2019 at 03:20 PM, Ross Kudlick wrote:

The ¡®Monitor LocoNet Stats¡¯ window is blank.

Is that? with 8 blank boxes or? 3 blank boxes ?


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

 

Phil,

Now that I understand that you were using one of the panel editors, what you describe seems to make sense, but only almost.

Certainly it is common for the panel editors to each make any name change requested to be repeated for all occurrences within the file.

In version 4.17.2 changing the user name of a memory variable does also change the use of that name in a Logix conditional. I have not tried to change a system name, but nothing you have written here indicates that you intended that kind of a change.

Perhaps my attempt to duplicate what I think you have described is too simplistic.

Cliff


Locked Re: DecoderPro &ESU LokSound Factory reset

 

You also need to do Read Type from Decoder, as new Loks from atlas, scale trains, etc are Loksound V5 decoders, not Selects. Add in Old V4.0 and Essential Sound Units, all of which are different, and for all the box says 'Loksound", and I never trust the box.
Quite a few differences between the various versions (Still sorting that out as the V5 are new this year.)
And note that the factory documents still say Select ( or V4) even though the new Lok has a V5. (Don't get me started on Essential Sound Units)
I Just added a pair of Atlas THB GP7 to my previous pair (Two years old). Old has Selects, new has V5. And lots more features to play with. Same paperwork!

Just another tip.

Thomas
DeSoto, TX