¿ªÔÆÌåÓý

Date

Locked Re: Can't access tables

 

Tried the Power Pro and the only difference was that it used the 0x8A command instead of the 0x9B command and got a 4 byte reply instead of a 2 byte reply.

There were no memory read commands from JMRI.
--
Dave in Australia


The New England Convention 2018

On 8 Mar 2018, at 6:21 AM, Dave Heap <dgheap@...> wrote:

Possibly so. I'll check my Power Pro.

Did you try my procedure with a real AIU and whether it detects connection to ground of the nominated pin?


Locked Re: Can't access tables

 

Dave,

Yes I think I may have mixed up the parts. AIU, ok, accessories no. The
other is that I think the USB version only polls the AIU's it knows about.
So the sensor has to be created first. But the CS02 finds them. I am likely
wrong since it has been a year or two since I was doing testing with a CS02
station. Anything lately has all been USB based. Focusing on memory of
things bites now and then.

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


Locked Re: Can't access tables

 

Possibly so. I'll check my Power Pro.

Did you try my procedure with a real AIU and whether it detects connection to ground of the nominated pin?
--
Dave

The New England Convention 2018

On 8 Mar 2018, at 6:15 AM, 'Ken Cameron' kcameron@... [jmriusers] <jmriusers@...> wrote:

I'm suspecting that is the difference of the two commands. The one in turn
polls the AIU and passes back the data. The other command reads the AIU
buffer in memory. The CS02 has the memory buffer, like the turnout buffer,
to keep track. In the USB version neither buffer exists. The address for the
AIU buffer is FB00h, the turnouts ec00h. Page 11 in the USB shows as the AIU
buffer. There is no page showing for the turnouts.


Locked Re: Can't access tables

 

Dave,

I'm suspecting that is the difference of the two commands. The one in turn
polls the AIU and passes back the data. The other command reads the AIU
buffer in memory. The CS02 has the memory buffer, like the turnout buffer,
to keep track. In the USB version neither buffer exists. The address for the
AIU buffer is FB00h, the turnouts ec00h. Page 11 in the USB shows as the AIU
buffer. There is no page showing for the turnouts.

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


Locked Re: JMRI Throttle Problems

BirminghamRails
 

Hi Folks

BDMRR is having the same problems described after JMRI upgrade with essentially the same system components in place: W10, DCS100, PR3, WiThrottle and Engine Driver

John Stewart
Birmingham, AL


Locked Re: Can't access tables

 

Ken,

I just tried adding an NCE Sensor to my Power Cab profile following the instructions at the second link below.

I entered 8:2 into the Hardware Address field of New Sensor, pressed Create and my Command Monitor and NCE USB LEDs showed JMRI happily polling my non-existent AIU 8 (with a 9B 08 command). The polling interval was about 200ms.

So it seems the code is already in place...
--
Dave Heap

The New England Convention 2018

On 8 Mar 2018, at 4:56 AM, Dave Heap <dgheap@...> wrote:

I haven't checked the code, but are you saying that the existing AIU code doesn't poll the AIU itself but looks at an AIU memory block (or are you confusing this with the turnout position memory block)?

<>
<>


Locked Re: Can't access tables

 

I may have mixed up cases here, it has been a while since I was regularly
deep in the NCE code. Now what I did see looks like some of the code is
there for the other command, but I don't think it is getting invoked. Also
the ranges etc... they have nothing in the code to show knowing the
difference.

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


Locked Re: Arduino sketch

 

---In jmriusers@..., <dimmted@...> wrote :
>Just want to send Arduino input pin status to JMRI.


The example jython folder that Bob Jacobsen identified earlier in this thread seems to be an excellent, if well hidden, starting point for what you have described. The README file is a must.


Just wish that I had known about it earlier. Bob sent his reply while I was still typing mine. My next personal challenge is to expand on what Bob has provided for our club layout.


You should also be aware of the self defined as, "A group for discussing Arduino applications in model railroading."


Cliff


Locked JMRI Throttle Problems

 

I am a member of the Garden Spot Village (GSV) Train Club located in New Holland, PA where we are running Windows 10 with JMRI version JMRI.4.10.R419243 connecting via a Digitrax PR3 to a Digitrax DCS100. Previously, when running JMRI version 4.6, we had no problems with any form of throttles. Now, with version 4.10, tethered Digitrax throttles work fine; however, JMRI software throttles and WiThrottles are very inconsistent. Using the Slot Monitor several observations were made:
1. Plugging in a tethered throttle the Status goes immediately to 'in use' state. When dispatching, status goes to 'Common. Everything seems to work just fine.
2. When using a JMRI throttle or WiThrottle (iphone7), sometimes status will go to 'in use', other times it will go to 'idle'. WiThrottle indicates engine has been selected, but will control engine only when in 'in use' status. If you dispatch engine, WiThrottle indicates 'not set', but Slot monitor indicates Status as 'idle', not 'Common'.
3. After an engine has been dispatched by any throttle, the slots Throttle ID does not change (does not reset to '0'
4. I read somewhere that the system checks status every 100 seconds (I think). Could this be a timing issue if we try to perform select an engine or dispatch an engine before 100 seconds?
5. does this require a software fix, or is it 'operator error. As I said before, we had no problems with version 4.6.

Mike Lanyon (GSV Train Club)


Locked Re: Can't access tables

 

I haven't checked the code, but are you saying that the existing AIU code doesn't poll the AIU itself but looks at an AIU memory block (or are you confusing this with the turnout position memory block)?

<>
<>
--
Dave

On 8 Mar 2018, at 1:55 AM, 'Ken Cameron' kcameron@... [jmriusers] <jmriusers@...> wrote:

I just setup the test and the replies show it sees the AIU!! So it would
seem that by editing NceSensorManager to use that command instead of reading
the memory block would work for these systems. The question is what speed is
reasonable for this action? The upside is there is a low number of AIU
boards possible (2-PowerCab, 3-5, 8-9, 10-USB) is 5 boards (or is it 6 if
address 7 is valid for a AIU). So polling as a low priority thread on
address every 100ms, you still get under 1s worst case delay. So that's
likely close to what we get from the method of scanning the memory in the
CS02. I'm not reading deeply in the manager right now, but it looks like
part of its polling logic is based on how often things are changing and
other traffic.

I don't know what the effective scan rate we get on the CS02 is, so maybe
somebody else out here knows?

It looks doable but I also see a lot of things in the code that would need
to change so it knows all of the possible changes that might be out there.
Like MINAIU and MAXAIU and the range. The gap in the range. Things like
that. My current task loading isn't able to deal with it, so if somebody
else wants to, I can still do the testing.


Locked Re: Can't access tables

 

Turnout position memory in the command station memory is only applicable to Accessory Decoders, not to AIUs.

However, the long form AIU command does require command station memory and that would be why it isn't available in the V1.65 series.
--
Dave

On 8 Mar 2018, at 12:19 AM, 'Ken Cameron' kcameron@... [jmriusers] <jmriusers@...> wrote:

I've got that combination of parts, so I can do the test. My understanding
was the buffer inside the command station that exists on the CS02 that
records every turnout command does not exist in the USB series of command
stations. So the area of memory that would support that command doesn't
exist. I will try. It may be that this would work, bypassing the command
station memory and work. But that would mean the USB series is working
different than the PowerPro series and the polling would need to learn that.
It'd be great if that is true. But I thought I had a conversation with Jim
that turned up as a 'we didn't have space' to keep the records in the
command station.


Locked Re: Tables

 

I think the Arduino file got corrupted and I need to reload, but I cant find the file I previously used which simply read the digital input status on pins 7 and 8 of the Arduino and using the CMRI library sent them over the USB to my PC where JMRI read them as sensor status. So much for relying on my fading memory!? So if anyone has the simple JMRI sketch that would be great.

On Wednesday, March 7, 2018 10:52 AM, "'Ken Cameron' kcameron@... [jmriusers]" <jmriusers@...> wrote:


? Ted,

Ok, it seems you had the audio library issue, now taken care of by that
file.

I'm not too familiar with the Arduino and how it connects, so I'm not much
help there. But if the other pc is able to do it, we need to look at the
connection details for that on both computers.

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

#yiv0000190230 #yiv0000190230 -- #yiv0000190230ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv0000190230 #yiv0000190230ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv0000190230 #yiv0000190230ygrp-mkp #yiv0000190230hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv0000190230 #yiv0000190230ygrp-mkp #yiv0000190230ads {margin-bottom:10px;}#yiv0000190230 #yiv0000190230ygrp-mkp .yiv0000190230ad {padding:0 0;}#yiv0000190230 #yiv0000190230ygrp-mkp .yiv0000190230ad p {margin:0;}#yiv0000190230 #yiv0000190230ygrp-mkp .yiv0000190230ad a {color:#0000ff;text-decoration:none;}#yiv0000190230 #yiv0000190230ygrp-sponsor #yiv0000190230ygrp-lc {font-family:Arial;}#yiv0000190230 #yiv0000190230ygrp-sponsor #yiv0000190230ygrp-lc #yiv0000190230hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv0000190230 #yiv0000190230ygrp-sponsor #yiv0000190230ygrp-lc .yiv0000190230ad {margin-bottom:10px;padding:0 0;}#yiv0000190230 #yiv0000190230actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv0000190230 #yiv0000190230activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv0000190230 #yiv0000190230activity span {font-weight:700;}#yiv0000190230 #yiv0000190230activity span:first-child {text-transform:uppercase;}#yiv0000190230 #yiv0000190230activity span a {color:#5085b6;text-decoration:none;}#yiv0000190230 #yiv0000190230activity span span {color:#ff7900;}#yiv0000190230 #yiv0000190230activity span .yiv0000190230underline {text-decoration:underline;}#yiv0000190230 .yiv0000190230attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv0000190230 .yiv0000190230attach div a {text-decoration:none;}#yiv0000190230 .yiv0000190230attach img {border:none;padding-right:5px;}#yiv0000190230 .yiv0000190230attach label {display:block;margin-bottom:5px;}#yiv0000190230 .yiv0000190230attach label a {text-decoration:none;}#yiv0000190230 blockquote {margin:0 0 0 4px;}#yiv0000190230 .yiv0000190230bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv0000190230 .yiv0000190230bold a {text-decoration:none;}#yiv0000190230 dd.yiv0000190230last p a {font-family:Verdana;font-weight:700;}#yiv0000190230 dd.yiv0000190230last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv0000190230 dd.yiv0000190230last p span.yiv0000190230yshortcuts {margin-right:0;}#yiv0000190230 div.yiv0000190230attach-table div div a {text-decoration:none;}#yiv0000190230 div.yiv0000190230attach-table {width:400px;}#yiv0000190230 div.yiv0000190230file-title a, #yiv0000190230 div.yiv0000190230file-title a:active, #yiv0000190230 div.yiv0000190230file-title a:hover, #yiv0000190230 div.yiv0000190230file-title a:visited {text-decoration:none;}#yiv0000190230 div.yiv0000190230photo-title a, #yiv0000190230 div.yiv0000190230photo-title a:active, #yiv0000190230 div.yiv0000190230photo-title a:hover, #yiv0000190230 div.yiv0000190230photo-title a:visited {text-decoration:none;}#yiv0000190230 div#yiv0000190230ygrp-mlmsg #yiv0000190230ygrp-msg p a span.yiv0000190230yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv0000190230 .yiv0000190230green {color:#628c2a;}#yiv0000190230 .yiv0000190230MsoNormal {margin:0 0 0 0;}#yiv0000190230 o {font-size:0;}#yiv0000190230 #yiv0000190230photos div {float:left;width:72px;}#yiv0000190230 #yiv0000190230photos div div {border:1px solid #666666;min-height:62px;overflow:hidden;width:62px;}#yiv0000190230 #yiv0000190230photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv0000190230 #yiv0000190230reco-category {font-size:77%;}#yiv0000190230 #yiv0000190230reco-desc {font-size:77%;}#yiv0000190230 .yiv0000190230replbq {margin:4px;}#yiv0000190230 #yiv0000190230ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv0000190230 #yiv0000190230ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv0000190230 #yiv0000190230ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv0000190230 #yiv0000190230ygrp-mlmsg select, #yiv0000190230 input, #yiv0000190230 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv0000190230 #yiv0000190230ygrp-mlmsg pre, #yiv0000190230 code {font:115% monospace;}#yiv0000190230 #yiv0000190230ygrp-mlmsg * {line-height:1.22em;}#yiv0000190230 #yiv0000190230ygrp-mlmsg #yiv0000190230logo {padding-bottom:10px;}#yiv0000190230 #yiv0000190230ygrp-msg p a {font-family:Verdana;}#yiv0000190230 #yiv0000190230ygrp-msg p#yiv0000190230attach-count span {color:#1E66AE;font-weight:700;}#yiv0000190230 #yiv0000190230ygrp-reco #yiv0000190230reco-head {color:#ff7900;font-weight:700;}#yiv0000190230 #yiv0000190230ygrp-reco {margin-bottom:20px;padding:0px;}#yiv0000190230 #yiv0000190230ygrp-sponsor #yiv0000190230ov li a {font-size:130%;text-decoration:none;}#yiv0000190230 #yiv0000190230ygrp-sponsor #yiv0000190230ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv0000190230 #yiv0000190230ygrp-sponsor #yiv0000190230ov ul {margin:0;padding:0 0 0 8px;}#yiv0000190230 #yiv0000190230ygrp-text {font-family:Georgia;}#yiv0000190230 #yiv0000190230ygrp-text p {margin:0 0 1em 0;}#yiv0000190230 #yiv0000190230ygrp-text tt {font-size:120%;}#yiv0000190230 #yiv0000190230ygrp-vital ul li:last-child {border-right:none !important;}#yiv0000190230


Locked Re: Arduino sketch

 

Just want to send Arduino ?input pin status to JMRI.

On Tuesday, March 6, 2018 6:54 PM, "cliffaa@... [jmriusers]" <jmriusers@...> wrote:


? Ted,

If what you want are some examples for sending and receiving text through the USB connection between an Arduino and your JMRI computer, a good starting place is in the downloaded folder with the IDE software. For a Win10 computer that would be "C:&#92;Program Files (x86)&#92;Arduino&#92;examples&#92;08.Strings"


For more options, look at


Check the information found at:



// author: Alex Shepherd
// webpage:


for a wealth of information.


If you have some other constraints that are driving your query please provide us with some more information.


Cliff Anderson in Baja SoCal


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

#yiv0640230125 #yiv0640230125 -- #yiv0640230125ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv0640230125 #yiv0640230125ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv0640230125 #yiv0640230125ygrp-mkp #yiv0640230125hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv0640230125 #yiv0640230125ygrp-mkp #yiv0640230125ads {margin-bottom:10px;}#yiv0640230125 #yiv0640230125ygrp-mkp .yiv0640230125ad {padding:0 0;}#yiv0640230125 #yiv0640230125ygrp-mkp .yiv0640230125ad p {margin:0;}#yiv0640230125 #yiv0640230125ygrp-mkp .yiv0640230125ad a {color:#0000ff;text-decoration:none;}#yiv0640230125 #yiv0640230125ygrp-sponsor #yiv0640230125ygrp-lc {font-family:Arial;}#yiv0640230125 #yiv0640230125ygrp-sponsor #yiv0640230125ygrp-lc #yiv0640230125hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv0640230125 #yiv0640230125ygrp-sponsor #yiv0640230125ygrp-lc .yiv0640230125ad {margin-bottom:10px;padding:0 0;}#yiv0640230125 #yiv0640230125actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv0640230125 #yiv0640230125activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv0640230125 #yiv0640230125activity span {font-weight:700;}#yiv0640230125 #yiv0640230125activity span:first-child {text-transform:uppercase;}#yiv0640230125 #yiv0640230125activity span a {color:#5085b6;text-decoration:none;}#yiv0640230125 #yiv0640230125activity span span {color:#ff7900;}#yiv0640230125 #yiv0640230125activity span .yiv0640230125underline {text-decoration:underline;}#yiv0640230125 .yiv0640230125attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv0640230125 .yiv0640230125attach div a {text-decoration:none;}#yiv0640230125 .yiv0640230125attach img {border:none;padding-right:5px;}#yiv0640230125 .yiv0640230125attach label {display:block;margin-bottom:5px;}#yiv0640230125 .yiv0640230125attach label a {text-decoration:none;}#yiv0640230125 blockquote {margin:0 0 0 4px;}#yiv0640230125 .yiv0640230125bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv0640230125 .yiv0640230125bold a {text-decoration:none;}#yiv0640230125 dd.yiv0640230125last p a {font-family:Verdana;font-weight:700;}#yiv0640230125 dd.yiv0640230125last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv0640230125 dd.yiv0640230125last p span.yiv0640230125yshortcuts {margin-right:0;}#yiv0640230125 div.yiv0640230125attach-table div div a {text-decoration:none;}#yiv0640230125 div.yiv0640230125attach-table {width:400px;}#yiv0640230125 div.yiv0640230125file-title a, #yiv0640230125 div.yiv0640230125file-title a:active, #yiv0640230125 div.yiv0640230125file-title a:hover, #yiv0640230125 div.yiv0640230125file-title a:visited {text-decoration:none;}#yiv0640230125 div.yiv0640230125photo-title a, #yiv0640230125 div.yiv0640230125photo-title a:active, #yiv0640230125 div.yiv0640230125photo-title a:hover, #yiv0640230125 div.yiv0640230125photo-title a:visited {text-decoration:none;}#yiv0640230125 div#yiv0640230125ygrp-mlmsg #yiv0640230125ygrp-msg p a span.yiv0640230125yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv0640230125 .yiv0640230125green {color:#628c2a;}#yiv0640230125 .yiv0640230125MsoNormal {margin:0 0 0 0;}#yiv0640230125 o {font-size:0;}#yiv0640230125 #yiv0640230125photos div {float:left;width:72px;}#yiv0640230125 #yiv0640230125photos div div {border:1px solid #666666;min-height:62px;overflow:hidden;width:62px;}#yiv0640230125 #yiv0640230125photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv0640230125 #yiv0640230125reco-category {font-size:77%;}#yiv0640230125 #yiv0640230125reco-desc {font-size:77%;}#yiv0640230125 .yiv0640230125replbq {margin:4px;}#yiv0640230125 #yiv0640230125ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv0640230125 #yiv0640230125ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv0640230125 #yiv0640230125ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv0640230125 #yiv0640230125ygrp-mlmsg select, #yiv0640230125 input, #yiv0640230125 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv0640230125 #yiv0640230125ygrp-mlmsg pre, #yiv0640230125 code {font:115% monospace;}#yiv0640230125 #yiv0640230125ygrp-mlmsg * {line-height:1.22em;}#yiv0640230125 #yiv0640230125ygrp-mlmsg #yiv0640230125logo {padding-bottom:10px;}#yiv0640230125 #yiv0640230125ygrp-msg p a {font-family:Verdana;}#yiv0640230125 #yiv0640230125ygrp-msg p#yiv0640230125attach-count span {color:#1E66AE;font-weight:700;}#yiv0640230125 #yiv0640230125ygrp-reco #yiv0640230125reco-head {color:#ff7900;font-weight:700;}#yiv0640230125 #yiv0640230125ygrp-reco {margin-bottom:20px;padding:0px;}#yiv0640230125 #yiv0640230125ygrp-sponsor #yiv0640230125ov li a {font-size:130%;text-decoration:none;}#yiv0640230125 #yiv0640230125ygrp-sponsor #yiv0640230125ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv0640230125 #yiv0640230125ygrp-sponsor #yiv0640230125ov ul {margin:0;padding:0 0 0 8px;}#yiv0640230125 #yiv0640230125ygrp-text {font-family:Georgia;}#yiv0640230125 #yiv0640230125ygrp-text p {margin:0 0 1em 0;}#yiv0640230125 #yiv0640230125ygrp-text tt {font-size:120%;}#yiv0640230125 #yiv0640230125ygrp-vital ul li:last-child {border-right:none !important;}#yiv0640230125



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


Locked Re: Tables

 

Ted,

Ok, it seems you had the audio library issue, now taken care of by that
file.

I'm not too familiar with the Arduino and how it connects, so I'm not much
help there. But if the other pc is able to do it, we need to look at the
connection details for that on both computers.

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


Locked Re: Tables

 

Kn,
Here is where I stand presently.
I placed the file you provided?in my JMRI Home directory and now I am able to load JMRI panels and all and access all my tables sensors, routes, turnouts, etc. which I think tells me I had the audio hang up? issue. ?However I am still not able to read the sensors status interfaced via Arduino uno.? All other table aspects such as Routes and Turnouts are all working.? This tells me I have a communication problem?between my PC running JMRI and the Arduino uno which was previously interfacing to my sensors.? I don't know if the problem is:
1. A jmri issue2. a coms (serial port) issue3. possible Arduino hardware or sketch issue.
Interestingly I am able to load and test the serial interface sketch on my PC in my study, but not on the PC running JMRI for my layout.
Ted

On Tuesday, March 6, 2018 10:27 PM, "'Ken Cameron' kcameron@... [jmriusers]" <jmriusers@...> wrote:


? Ted,

Having CMRI won't interfere with the tables. You should be able to start
JMRI, not loading any panels, and open the tables. Have you followed the
directions to conclude if you do or don't have the audio library bug? That's
where you would find a very small empty window when you select the tables in
the 'Window' menu. If you leave your system alone for a long time, like an
hour or even overnight, it will eventually open and display the tables.

But to simulate, I need to know what CMRI nodes you had so I can set my
configuration the same.

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

#yiv3055595840 #yiv3055595840 -- #yiv3055595840ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv3055595840 #yiv3055595840ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv3055595840 #yiv3055595840ygrp-mkp #yiv3055595840hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv3055595840 #yiv3055595840ygrp-mkp #yiv3055595840ads {margin-bottom:10px;}#yiv3055595840 #yiv3055595840ygrp-mkp .yiv3055595840ad {padding:0 0;}#yiv3055595840 #yiv3055595840ygrp-mkp .yiv3055595840ad p {margin:0;}#yiv3055595840 #yiv3055595840ygrp-mkp .yiv3055595840ad a {color:#0000ff;text-decoration:none;}#yiv3055595840 #yiv3055595840ygrp-sponsor #yiv3055595840ygrp-lc {font-family:Arial;}#yiv3055595840 #yiv3055595840ygrp-sponsor #yiv3055595840ygrp-lc #yiv3055595840hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv3055595840 #yiv3055595840ygrp-sponsor #yiv3055595840ygrp-lc .yiv3055595840ad {margin-bottom:10px;padding:0 0;}#yiv3055595840 #yiv3055595840actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv3055595840 #yiv3055595840activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv3055595840 #yiv3055595840activity span {font-weight:700;}#yiv3055595840 #yiv3055595840activity span:first-child {text-transform:uppercase;}#yiv3055595840 #yiv3055595840activity span a {color:#5085b6;text-decoration:none;}#yiv3055595840 #yiv3055595840activity span span {color:#ff7900;}#yiv3055595840 #yiv3055595840activity span .yiv3055595840underline {text-decoration:underline;}#yiv3055595840 .yiv3055595840attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv3055595840 .yiv3055595840attach div a {text-decoration:none;}#yiv3055595840 .yiv3055595840attach img {border:none;padding-right:5px;}#yiv3055595840 .yiv3055595840attach label {display:block;margin-bottom:5px;}#yiv3055595840 .yiv3055595840attach label a {text-decoration:none;}#yiv3055595840 blockquote {margin:0 0 0 4px;}#yiv3055595840 .yiv3055595840bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv3055595840 .yiv3055595840bold a {text-decoration:none;}#yiv3055595840 dd.yiv3055595840last p a {font-family:Verdana;font-weight:700;}#yiv3055595840 dd.yiv3055595840last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv3055595840 dd.yiv3055595840last p span.yiv3055595840yshortcuts {margin-right:0;}#yiv3055595840 div.yiv3055595840attach-table div div a {text-decoration:none;}#yiv3055595840 div.yiv3055595840attach-table {width:400px;}#yiv3055595840 div.yiv3055595840file-title a, #yiv3055595840 div.yiv3055595840file-title a:active, #yiv3055595840 div.yiv3055595840file-title a:hover, #yiv3055595840 div.yiv3055595840file-title a:visited {text-decoration:none;}#yiv3055595840 div.yiv3055595840photo-title a, #yiv3055595840 div.yiv3055595840photo-title a:active, #yiv3055595840 div.yiv3055595840photo-title a:hover, #yiv3055595840 div.yiv3055595840photo-title a:visited {text-decoration:none;}#yiv3055595840 div#yiv3055595840ygrp-mlmsg #yiv3055595840ygrp-msg p a span.yiv3055595840yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv3055595840 .yiv3055595840green {color:#628c2a;}#yiv3055595840 .yiv3055595840MsoNormal {margin:0 0 0 0;}#yiv3055595840 o {font-size:0;}#yiv3055595840 #yiv3055595840photos div {float:left;width:72px;}#yiv3055595840 #yiv3055595840photos div div {border:1px solid #666666;min-height:62px;overflow:hidden;width:62px;}#yiv3055595840 #yiv3055595840photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv3055595840 #yiv3055595840reco-category {font-size:77%;}#yiv3055595840 #yiv3055595840reco-desc {font-size:77%;}#yiv3055595840 .yiv3055595840replbq {margin:4px;}#yiv3055595840 #yiv3055595840ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv3055595840 #yiv3055595840ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv3055595840 #yiv3055595840ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv3055595840 #yiv3055595840ygrp-mlmsg select, #yiv3055595840 input, #yiv3055595840 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv3055595840 #yiv3055595840ygrp-mlmsg pre, #yiv3055595840 code {font:115% monospace;}#yiv3055595840 #yiv3055595840ygrp-mlmsg * {line-height:1.22em;}#yiv3055595840 #yiv3055595840ygrp-mlmsg #yiv3055595840logo {padding-bottom:10px;}#yiv3055595840 #yiv3055595840ygrp-msg p a {font-family:Verdana;}#yiv3055595840 #yiv3055595840ygrp-msg p#yiv3055595840attach-count span {color:#1E66AE;font-weight:700;}#yiv3055595840 #yiv3055595840ygrp-reco #yiv3055595840reco-head {color:#ff7900;font-weight:700;}#yiv3055595840 #yiv3055595840ygrp-reco {margin-bottom:20px;padding:0px;}#yiv3055595840 #yiv3055595840ygrp-sponsor #yiv3055595840ov li a {font-size:130%;text-decoration:none;}#yiv3055595840 #yiv3055595840ygrp-sponsor #yiv3055595840ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv3055595840 #yiv3055595840ygrp-sponsor #yiv3055595840ov ul {margin:0;padding:0 0 0 8px;}#yiv3055595840 #yiv3055595840ygrp-text {font-family:Georgia;}#yiv3055595840 #yiv3055595840ygrp-text p {margin:0 0 1em 0;}#yiv3055595840 #yiv3055595840ygrp-text tt {font-size:120%;}#yiv3055595840 #yiv3055595840ygrp-vital ul li:last-child {border-right:none !important;}#yiv3055595840



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


Locked Re: Can't access logix

 

Darren,

The right click context menu option was only available when the Layout Editor panel was in edit mode.

When I updated NX to support cross-panel routing, I removed the context menu option so that the actions would be consistent.

Dave Sand

On Mar 7, 2018, at 4:14 AM, deejf@... [jmriusers] <jmriusers@...> wrote:

Re the NX issue, I think I have just worked it out. I have found the options that set how the route will behave if you re-select it. So I think I'm OK with it. Just curious as to why the right click option isn't around more.

Daarren


Locked Re: Can't access tables

 

Dave,

I just setup the test and the replies show it sees the AIU!! So it would
seem that by editing NceSensorManager to use that command instead of reading
the memory block would work for these systems. The question is what speed is
reasonable for this action? The upside is there is a low number of AIU
boards possible (2-PowerCab, 3-5, 8-9, 10-USB) is 5 boards (or is it 6 if
address 7 is valid for a AIU). So polling as a low priority thread on
address every 100ms, you still get under 1s worst case delay. So that's
likely close to what we get from the method of scanning the memory in the
CS02. I'm not reading deeply in the manager right now, but it looks like
part of its polling logic is based on how often things are changing and
other traffic.

I don't know what the effective scan rate we get on the CS02 is, so maybe
somebody else out here knows?

It looks doable but I also see a lot of things in the code that would need
to change so it knows all of the possible changes that might be out there.
Like MINAIU and MAXAIU and the range. The gap in the range. Things like
that. My current task loading isn't able to deal with it, so if somebody
else wants to, I can still do the testing.

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


Locked Re: Decoder Pro is exceptionally sluggish

 

GeoffB,

When you do an uninstall, have you gone looking to make sure all traces of
JMRI have been removed? So there shouldn't be a C:&#92;Program Files (x86)&#92;JMRI.
This is to make sure you have a clean start. Also check that you have the
current Java first. I use a command window to run this command and here is
my results:

C:&#92;Users&#92;kcameron&#92;git&#92;JMRI-20171230>java -version
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)

C:&#92;Users&#92;kcameron&#92;git&#92;JMRI-20171230>

Make sure you pick 'install for all users' and make sure you are
administrator or at least launch the install 'run as administrator' using
the right click.

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


Locked Re: Decoder Pro is exceptionally sluggish

 

Hi Dave - and anyone else who can help!
I have reinstalled JMRI with antiviruses switched off, but still the same problem arises - gets as far as the "Installed - JMRI Uninstall" then hangs. The only way out is via Task Manager. Any ideas?
Regards, GeoffB

On Tuesday, 6 March 2018, 10:41:35 GMT, Dave Heap dgheap@... [jmriusers] <jmriusers@...> wrote:

?
See below:


On 6 Mar 2018, at 8:55 PM, Geoff Byman gbrails@... [jmriusers] <jmriusers@...> wrote:

The decoders did state "massoth" on read from decoder and when the correct decoder was selected I did notice that it read "15227". As a new user, I'm starting to learn where and what all the errors are!!
Yes, the preferences did read as internal for the service and ops programmers. I just tried altering the service and ops mode programmers in preferences/defaults to xpressnet but no difference except that when clicked on "read from decoder" the error message came up one time as "communication error PC to command station - error 311" and when I tried it again came up with "requested operation not implemented in command station - error 303".
That is a huge change from where you were. You have gone from taking to a dummy programmer to attempting to talk to a real DCC system programmer.

Since you mention ZTC and XpressNet, I'll bow out of advising here as these are outside my area of experience. But others will be able to help. We've also got some information here:
<>

I tried then by selecting the decoder - TCS-T1 - from the drop down and then clicked read and the address lines went red and the error message was the "311" followed immediately by the "303" message, flicked a couple of times between the two, then settled on 303 - couldn't make it's mind up? I have unplugged a replugged the cable into both the PC and the command station and tried another usb port - all of which didn't alter things. I know the cable is OK as it is the one I use on my scanner, which I have used successfully a few times since I've been having the problems with JMRI.
I've rung ZTC and they say that they will have to investigate at their end.
See above. You need to find a solution to the communication problems.

One thing I did notice every time I installed a fresh JMRI (and on the original installation too) was that the installation went all the way to "installed - JMRI uninstall" and then hung and the next buttons, etc were grayed out. I left it for over 15 mins but nothing changed so I then stopped the programme in task manager. Perhaps something is not installing correct ly?
That is a cause for concern. I'm guessing an antivirus protection program is preventing the final steps. Disable protection and try again.

Dave in Australia

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


#yiv6849644756 #yiv6849644756 -- #yiv6849644756ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv6849644756 #yiv6849644756ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv6849644756 #yiv6849644756ygrp-mkp #yiv6849644756hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv6849644756 #yiv6849644756ygrp-mkp #yiv6849644756ads {margin-bottom:10px;}#yiv6849644756 #yiv6849644756ygrp-mkp .yiv6849644756ad {padding:0 0;}#yiv6849644756 #yiv6849644756ygrp-mkp .yiv6849644756ad p {margin:0;}#yiv6849644756 #yiv6849644756ygrp-mkp .yiv6849644756ad a {color:#0000ff;text-decoration:none;}#yiv6849644756 #yiv6849644756ygrp-sponsor #yiv6849644756ygrp-lc {font-family:Arial;}#yiv6849644756 #yiv6849644756ygrp-sponsor #yiv6849644756ygrp-lc #yiv6849644756hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv6849644756 #yiv6849644756ygrp-sponsor #yiv6849644756ygrp-lc .yiv6849644756ad {margin-bottom:10px;padding:0 0;}#yiv6849644756 #yiv6849644756actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv6849644756 #yiv6849644756activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv6849644756 #yiv6849644756activity span {font-weight:700;}#yiv6849644756 #yiv6849644756activity span:first-child {text-transform:uppercase;}#yiv6849644756 #yiv6849644756activity span a {color:#5085b6;text-decoration:none;}#yiv6849644756 #yiv6849644756activity span span {color:#ff7900;}#yiv6849644756 #yiv6849644756activity span .yiv6849644756underline {text-decoration:underline;}#yiv6849644756 .yiv6849644756attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv6849644756 .yiv6849644756attach div a {text-decoration:none;}#yiv6849644756 .yiv6849644756attach img {border:none;padding-right:5px;}#yiv6849644756 .yiv6849644756attach label {display:block;margin-bottom:5px;}#yiv6849644756 .yiv6849644756attach label a {text-decoration:none;}#yiv6849644756 blockquote {margin:0 0 0 4px;}#yiv6849644756 .yiv6849644756bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv6849644756 .yiv6849644756bold a {text-decoration:none;}#yiv6849644756 dd.yiv6849644756last p a {font-family:Verdana;font-weight:700;}#yiv6849644756 dd.yiv6849644756last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv6849644756 dd.yiv6849644756last p span.yiv6849644756yshortcuts {margin-right:0;}#yiv6849644756 div.yiv6849644756attach-table div div a {text-decoration:none;}#yiv6849644756 div.yiv6849644756attach-table {width:400px;}#yiv6849644756 div.yiv6849644756file-title a, #yiv6849644756 div.yiv6849644756file-title a:active, #yiv6849644756 div.yiv6849644756file-title a:hover, #yiv6849644756 div.yiv6849644756file-title a:visited {text-decoration:none;}#yiv6849644756 div.yiv6849644756photo-title a, #yiv6849644756 div.yiv6849644756photo-title a:active, #yiv6849644756 div.yiv6849644756photo-title a:hover, #yiv6849644756 div.yiv6849644756photo-title a:visited {text-decoration:none;}#yiv6849644756 div#yiv6849644756ygrp-mlmsg #yiv6849644756ygrp-msg p a span.yiv6849644756yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv6849644756 .yiv6849644756green {color:#628c2a;}#yiv6849644756 .yiv6849644756MsoNormal {margin:0 0 0 0;}#yiv6849644756 o {font-size:0;}#yiv6849644756 #yiv6849644756photos div {float:left;width:72px;}#yiv6849644756 #yiv6849644756photos div div {border:1px solid #666666;min-height:62px;overflow:hidden;width:62px;}#yiv6849644756 #yiv6849644756photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv6849644756 #yiv6849644756reco-category {font-size:77%;}#yiv6849644756 #yiv6849644756reco-desc {font-size:77%;}#yiv6849644756 .yiv6849644756replbq {margin:4px;}#yiv6849644756 #yiv6849644756ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv6849644756 #yiv6849644756ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv6849644756 #yiv6849644756ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv6849644756 #yiv6849644756ygrp-mlmsg select, #yiv6849644756 input, #yiv6849644756 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv6849644756 #yiv6849644756ygrp-mlmsg pre, #yiv6849644756 code {font:115% monospace;}#yiv6849644756 #yiv6849644756ygrp-mlmsg * {line-height:1.22em;}#yiv6849644756 #yiv6849644756ygrp-mlmsg #yiv6849644756logo {padding-bottom:10px;}#yiv6849644756 #yiv6849644756ygrp-msg p a {font-family:Verdana;}#yiv6849644756 #yiv6849644756ygrp-msg p#yiv6849644756attach-count span {color:#1E66AE;font-weight:700;}#yiv6849644756 #yiv6849644756ygrp-reco #yiv6849644756reco-head {color:#ff7900;font-weight:700;}#yiv6849644756 #yiv6849644756ygrp-reco {margin-bottom:20px;padding:0px;}#yiv6849644756 #yiv6849644756ygrp-sponsor #yiv6849644756ov li a {font-size:130%;text-decoration:none;}#yiv6849644756 #yiv6849644756ygrp-sponsor #yiv6849644756ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv6849644756 #yiv6849644756ygrp-sponsor #yiv6849644756ov ul {margin:0;padding:0 0 0 8px;}#yiv6849644756 #yiv6849644756ygrp-text {font-family:Georgia;}#yiv6849644756 #yiv6849644756ygrp-text p {margin:0 0 1em 0;}#yiv6849644756 #yiv6849644756ygrp-text tt {font-size:120%;}#yiv6849644756 #yiv6849644756ygrp-vital ul li:last-child {border-right:none !important;}#yiv6849644756

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


Locked Re: Turnout state when opening a panel

 

Thanks Dave, Just what I was looking for.

Ken




On 3/6/2018 11:58 AM, Dave Sand dave@... [jmriusers] wrote:
Ken,

After line 186 that reads ¡°turnoutCount +=1¡±, carefully add the following line:

self.waitMsec(1000)

The 1000 is milliseconds, which in the example is 1 second.

Make sure that the indentation exactly matches the turnoutCount line. DO NOT use tabs. You don¡¯t say what operating system you use. If Windows, you should probably use WordPad to make the change. Make sure that you save the updated file as plain text.

I recommend that you copy the script to your user files location (see Help >> Locations) and change it there. You will also need to update your startup actions to use the new copy. This way JMRI upgrades will not overwrite your modification.

Dave Sand



On Mar 6, 2018, at 8:14 AM, Ken boomer17@... [jmriusers] <jmriusers@...> wrote:

I set this script to run on startup in the preferences file and it does
just what I want, however the turnouts change state too quick for me. Is
there a way to set a delay?

On 2/6/2018 9:49 PM, cpcrr@... [jmriusers] wrote:
Ken, There is a script TurnoutStatePersistence.py in the Jython library which saves the state of the turnouts at shutdown. The script may need to be tweaked to meet your needs, but it is good starting point.





I prefer to rely on the actual state of the layout devices at startup to get the layout up to a known status. Stall motor controlled turnouts power up to a known position, then maybe need to be commanded to move to the shutdown position.





We design our control systems for layouts with stall motors to come up with the stall motors defaulted to the mainline route. This means that some stall motors need to have their input voltage polarity wiring flipped. We do this to allow running trains on the layout without any control system running and is useful for ops resets and running track cleaning trains.





Chuck Catania

MRCS



















---In jmriusers@..., <boomer17@...> wrote :



When I open my panel I would like to all the turnout icons to display the state they were in when JMRI was shut down. They now display as unknown. Is there a way to do this?



Thanks, Ken



















------------------------------------
Posted by: cpcrr@...
------------------------------------


------------------------------------

Yahoo Groups Links



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



------------------------------------
Posted by: Dave Sand <dave@...>
------------------------------------


------------------------------------

Yahoo Groups Links





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