¿ªÔÆÌåÓý

Date

Locked Re: Alternate languages for Engine Driver - Opinions and Volunteers

 

It much depends on the deadlines. Im currently unemployed so now i can dedicate time to this, but I cannot guarantee the same dedication in case i get a job, sooner or later. Which is the tipical time frame for a development like this?
Roberto

Hi, there are no specific time frames for this. When each language is done we can release it. If it is never finished, that language won't be released.

As mentioned, we will be grateful of any assistance.

Can you contact me directly at the email address below and I can work through the process with you. (I am not sure I can see your email address)

Thanks
Peter
Akersp62@...
(Brisbane Australia)


Locked Re: JMRI Throttle Problems

 

Mike and John,

JMRI 4.10 has known problems in acquiring and releasing LocoNet throttles.
This includes acquisition via WiThrottleServer.

JMRI version 4.11.3 included some SIGNIFICANT improvements to JMRI
acquisition of LocoNet throttles.

Please try JMRI 4.11.3. I have not noticed any reports of LocoNet throttle
acquisition/release problems with JMRI 4.11.3.

If you continue to have problems acquiring and releasing throttles with JMRI
4.11.3, please report those problems here.

Regards,
Billybob


Locked Re: Can't access tables

 

Harold,

The only thing is you will have to create the sensors first for the AIU's to
be seen.

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


Locked Re: Can't access tables

 

We've now come to the conclusion that you will be fine.
--
Dave in Australia


The New England Convention 2018

On 8 Mar 2018, at 7:00 AM, Harold Thompson haroldthompson157@... [jmriusers] <jmriusers@...> wrote:

I'm sure you understand your exchanges but, for me, they may as well be in Chinese!. The bottom line for me is, once I have v1.65b software in my SB3a, will JMRI receive the signals from my nine IRDOTs and trigger each stage in my shuttle script? The script controls a DMU sound, horn, throttle and several turnouts at each sensor.
When I approached NCE initially, I told them the purpose of the AIU and sensors, and they did not indicate that there would be any problem.
Thanks,Harold.


Locked Re: Can't access tables

 

Dave,

My understand of the command station cycle is it polls all cab addresses
either fast (ones it has got responses before) and those that didn't respond
(infrequent to see something get added). So it will have read the AIU. What
I don't see in the memory of the system is the extra mapping of how it knows
a bit has changed or not. So I suspect that isn't in the USB memory space
and why the other command, but that is a guess.

Key is we get AIU with the USB and it seems to work.

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


Locked Re: Alternate languages for Engine Driver - Opinions and Volunteers

 

It much depends on the deadlines. Im currently unemployed so now i can
dedicate time to this, but I cannot guarantee the same dedication in case i
get a job, sooner or later. Which is the tipical time frame for a
development like this?

Regards

Roberto

2018-03-06 19:11 GMT-03:00 akersp62@... [jmriusers] <
jmriusers@...>:



Hi. I can do translations for Italian and Portuguese, but i don't know
how
much of a programming knowledge is required. If it's oly a matter of
translating text strings in an excel sheet, i can do it, else, I'm not sure
i can tackle it.
Regards
Roberto

Hi,
You won't need to know anything about programming. Yes, all the text that
needs to be translated is in a spreadsheet.

It is just a commitment of time.

There are over 500 short phrases and sentences that need to be
translated,. Then the volunteers would need to test the new text by running
Engine Driver thoroughly and send screen shots of any problems, along with
the corrections, to me.
We would also need them occasionally help translate when new features are
added.

As I said... A commitment of time.

If you are still up for the challenge after hearing that, we would welcome
your assistance.

Peter
(Brisbane Australia)



Locked Re: Can't access tables

 

Dave/Ken,
I'm sure you understand your exchanges but, for me, they may as well be in Chinese!.? The bottom line for me is, once I have v1.65b software in my SB3a, will JMRI receive the signals from my nine IRDOTs and trigger each stage in my shuttle script?? The script controls a DMU sound, horn, throttle and several turnouts at each sensor.
When I approached NCE initially, I told them the purpose of the AIU and sensors, and they did not indicate that there would be any problem.
Thanks,Harold.

On Wednesday, March 7, 2018, 7:32:57 PM GMT, Dave Heap dgheap@... [jmriusers] <jmriusers@...> wrote:

?
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?



#yiv7971564803 #yiv7971564803 -- #yiv7971564803ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv7971564803 #yiv7971564803ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv7971564803 #yiv7971564803ygrp-mkp #yiv7971564803hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv7971564803 #yiv7971564803ygrp-mkp #yiv7971564803ads {margin-bottom:10px;}#yiv7971564803 #yiv7971564803ygrp-mkp .yiv7971564803ad {padding:0 0;}#yiv7971564803 #yiv7971564803ygrp-mkp .yiv7971564803ad p {margin:0;}#yiv7971564803 #yiv7971564803ygrp-mkp .yiv7971564803ad a {color:#0000ff;text-decoration:none;}#yiv7971564803 #yiv7971564803ygrp-sponsor #yiv7971564803ygrp-lc {font-family:Arial;}#yiv7971564803 #yiv7971564803ygrp-sponsor #yiv7971564803ygrp-lc #yiv7971564803hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv7971564803 #yiv7971564803ygrp-sponsor #yiv7971564803ygrp-lc .yiv7971564803ad {margin-bottom:10px;padding:0 0;}#yiv7971564803 #yiv7971564803actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv7971564803 #yiv7971564803activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv7971564803 #yiv7971564803activity span {font-weight:700;}#yiv7971564803 #yiv7971564803activity span:first-child {text-transform:uppercase;}#yiv7971564803 #yiv7971564803activity span a {color:#5085b6;text-decoration:none;}#yiv7971564803 #yiv7971564803activity span span {color:#ff7900;}#yiv7971564803 #yiv7971564803activity span .yiv7971564803underline {text-decoration:underline;}#yiv7971564803 .yiv7971564803attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv7971564803 .yiv7971564803attach div a {text-decoration:none;}#yiv7971564803 .yiv7971564803attach img {border:none;padding-right:5px;}#yiv7971564803 .yiv7971564803attach label {display:block;margin-bottom:5px;}#yiv7971564803 .yiv7971564803attach label a {text-decoration:none;}#yiv7971564803 blockquote {margin:0 0 0 4px;}#yiv7971564803 .yiv7971564803bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv7971564803 .yiv7971564803bold a {text-decoration:none;}#yiv7971564803 dd.yiv7971564803last p a {font-family:Verdana;font-weight:700;}#yiv7971564803 dd.yiv7971564803last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv7971564803 dd.yiv7971564803last p span.yiv7971564803yshortcuts {margin-right:0;}#yiv7971564803 div.yiv7971564803attach-table div div a {text-decoration:none;}#yiv7971564803 div.yiv7971564803attach-table {width:400px;}#yiv7971564803 div.yiv7971564803file-title a, #yiv7971564803 div.yiv7971564803file-title a:active, #yiv7971564803 div.yiv7971564803file-title a:hover, #yiv7971564803 div.yiv7971564803file-title a:visited {text-decoration:none;}#yiv7971564803 div.yiv7971564803photo-title a, #yiv7971564803 div.yiv7971564803photo-title a:active, #yiv7971564803 div.yiv7971564803photo-title a:hover, #yiv7971564803 div.yiv7971564803photo-title a:visited {text-decoration:none;}#yiv7971564803 div#yiv7971564803ygrp-mlmsg #yiv7971564803ygrp-msg p a span.yiv7971564803yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv7971564803 .yiv7971564803green {color:#628c2a;}#yiv7971564803 .yiv7971564803MsoNormal {margin:0 0 0 0;}#yiv7971564803 o {font-size:0;}#yiv7971564803 #yiv7971564803photos div {float:left;width:72px;}#yiv7971564803 #yiv7971564803photos div div {border:1px solid #666666;min-height:62px;overflow:hidden;width:62px;}#yiv7971564803 #yiv7971564803photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv7971564803 #yiv7971564803reco-category {font-size:77%;}#yiv7971564803 #yiv7971564803reco-desc {font-size:77%;}#yiv7971564803 .yiv7971564803replbq {margin:4px;}#yiv7971564803 #yiv7971564803ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv7971564803 #yiv7971564803ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv7971564803 #yiv7971564803ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv7971564803 #yiv7971564803ygrp-mlmsg select, #yiv7971564803 input, #yiv7971564803 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv7971564803 #yiv7971564803ygrp-mlmsg pre, #yiv7971564803 code {font:115% monospace;}#yiv7971564803 #yiv7971564803ygrp-mlmsg * {line-height:1.22em;}#yiv7971564803 #yiv7971564803ygrp-mlmsg #yiv7971564803logo {padding-bottom:10px;}#yiv7971564803 #yiv7971564803ygrp-msg p a {font-family:Verdana;}#yiv7971564803 #yiv7971564803ygrp-msg p#yiv7971564803attach-count span {color:#1E66AE;font-weight:700;}#yiv7971564803 #yiv7971564803ygrp-reco #yiv7971564803reco-head {color:#ff7900;font-weight:700;}#yiv7971564803 #yiv7971564803ygrp-reco {margin-bottom:20px;padding:0px;}#yiv7971564803 #yiv7971564803ygrp-sponsor #yiv7971564803ov li a {font-size:130%;text-decoration:none;}#yiv7971564803 #yiv7971564803ygrp-sponsor #yiv7971564803ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv7971564803 #yiv7971564803ygrp-sponsor #yiv7971564803ov ul {margin:0;padding:0 0 0 8px;}#yiv7971564803 #yiv7971564803ygrp-text {font-family:Georgia;}#yiv7971564803 #yiv7971564803ygrp-text p {margin:0 0 1em 0;}#yiv7971564803 #yiv7971564803ygrp-text tt {font-size:120%;}#yiv7971564803 #yiv7971564803ygrp-vital ul li:last-child {border-right:none !important;}#yiv7971564803

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


Locked Re: Can't access tables

 

My guess is that the 0x8A command uses the CS Memory Block to compare/store the last polled state for the AIU, hence populating the last two bytes.

It's possible the Power CS does actually poll all known AIUs at the cab bus level and update the memory block. It probably also plays a part in AIU Broadcast mode (which we don't use).
--
Dave

The New England Convention 2018

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

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.


Locked Re: Operations: Creating a passenger train questions

 

Well I figured it out. I had defined the cars as 'passenger' in the drop down menu under the cars menu but I had not checked the box underneath the drop down which has a list of passenger, caboose, FRED, utility, etc.

Checking the passenger box fixed the problem.


Thanks


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.