¿ªÔÆÌåÓý

Date

Locked Decoder Pro and QSI decoders

ken hojnacki
 

I recently bought an Atlas Trainmaster with a QSI decoder, Series 7.? I was able to reprogram the address and NMRA digital setting using DP 4.10.? However, when I tried to change sounds, volume or speed table, the decoder talked back to me but the changes never took.? I ended up using my NCE throttle to get the volumes adjusted but wondered if there is a known problem with DP tabs not working with the complex QSI CV settings?? I programmed the address on the program track and all the rest I tried on the main.


Locked Re: Decoder Pro returns 123 for all decoder settings

 

Preferences > connections > defaults needs to be Loconet and not internal

Tom Wilson


On Fri, Jul 20, 2018, 9:42 AM Dave Sand <ds@...> wrote:
Bob,

Did you verify that the "Preferences >> Defaults" entries are set to tLocoNet?

Dave Sand


> On Jul 20, 2018, at 10:21 AM, nebrzephyr via Groups.Io <nebrzephyr=[email protected]> wrote:
>
> OK, installed 4.12 and same problem. I have verified everything I can thing of. I ran the LocoBuffer-USB test noted on their website and it checks out. Could it be JAVA related? I have version 8.
>
> What other things should I be checking. Thanks. Bob
>





Locked Re: Using a Large Number of Connections to JMRI

 

Bob,

Thanks so much for your reply. Thanks also for all your excellent work and leadership on JMRI. It's obviously being used and much appreciated by so many!!


Locked Re: Decoder Pro returns 123 for all decoder settings

 

Bob,

Did you verify that the "Preferences >> Defaults" entries are set to tLocoNet?

Dave Sand

On Jul 20, 2018, at 10:21 AM, nebrzephyr via Groups.Io <nebrzephyr@...> wrote:

OK, installed 4.12 and same problem. I have verified everything I can thing of. I ran the LocoBuffer-USB test noted on their website and it checks out. Could it be JAVA related? I have version 8.

What other things should I be checking. Thanks. Bob


Locked Re: Help needed checking for sensor validity via Script

 

In Python, ¡°None¡± is the ¡°thing reference doesn¡¯t point to anything¡± value that Java calls ¡°null¡±.

Bob

On Jul 19, 2018, at 9:03 PM, Geoffb <gbglacier@...> wrote:

Hi,
I have been working with sensor scripts of late and am in need of testing whether a sensor with a given
user name exists. I understand from the doc that for: s = sensors.getByUserName( uname )
sensors.getByUserName returns a null if uname is not a valid sensor user name.
Apparently testing if s == null is not the way to do it.

Could someone point me in the right direction how this is properly done in a jython/python script?

Thanks for any help!
Have fun! :-)
Best regards,
Geoff Bunza
scalemodelanimation.com
--
Bob Jacobsen
rgj1927@...


Locked Re: Decoder Pro returns 123 for all decoder settings

 

OK, installed 4.12 and same problem. I have verified everything I can thing of. I ran the LocoBuffer-USB test noted on their website and it checks out. Could it be JAVA related? I have version 8.

What other things should I be checking. Thanks. Bob


Locked Re: Help needed checking for sensor validity via Script

 

Hi Wouter,

Thanks for that answer.?? if s :
Unfortunately it did not work.

I eventually found that:
if s is None :
did work correctly.

Have fun!? :-)
Best regards,
Geoff


Locked Re: Why are the function fields blank in decoder pro?

 

OK 4.12 installed. Roster still there :)
I read entire CV Sheet and made sure all CV¡¯s were read.

When I go to the ¡°Function Map¡± tab some functions are indicated, others say things like AUX-1 or 3.?

I put the loco (still in the consist of the main and suede my NCE ProCab to select Function keys and I recorded what is on each key.

I still cannot find where I change volumes for the horn, bell or prime mover, nor can I find where to select sounds for things like the horn, bell, prime mover. ?I find only the Master Volume.


Locked Re: Help needed checking for sensor validity via Script

 

A simple

if s

should do the trick.

Wouter

On 20 July 2018 at 05:03, Geoffb <gbglacier@...> wrote:
Hi,
I have been working with sensor scripts of late and am in need of testing whether a sensor with a given
user name exists. I understand from the doc that for:?? s = sensors.getByUserName( uname )
sensors.getByUserName returns a null if uname is not a valid sensor user name.
Apparently testing if? s == null is not the way to do it.

Could someone point me in the right direction how this is properly done in a jython/python script?

Thanks for any help!
Have fun!? :-)
Best regards,
Geoff Bunza



Locked Re: Decoder Pro returns 123 for all decoder settings

 

One thing: the upgrade alone is not enough. Whether before or after upgrading, you will still need to go to the preferences and correctly set everything up. After that, 4.12 will leave things be, whereas 4.10 will mess up at every opportunity it sees...

Wouter

On 20 July 2018 at 15:04, nebrzephyr via Groups.Io <nebrzephyr@...> wrote:
OK, ,glad to hear it's a known issue. Will do the upgrade and report back. Thanks. Bob



Locked Help needed checking for sensor validity via Script

 

Hi,
I have been working with sensor scripts of late and am in need of testing whether a sensor with a given
user name exists. I understand from the doc that for:?? s = sensors.getByUserName( uname )
sensors.getByUserName returns a null if uname is not a valid sensor user name.
Apparently testing if? s == null is not the way to do it.

Could someone point me in the right direction how this is properly done in a jython/python script?

Thanks for any help!
Have fun!? :-)
Best regards,
Geoff Bunza
scalemodelanimation.com


Locked Re: Decoder Pro returns 123 for all decoder settings

 

OK, ,glad to hear it's a known issue. Will do the upgrade and report back. Thanks. Bob


Locked Re: Logix

Graham Orriss
 

Thank you to everyone that contributed to my problem.? I have at last a train that can go around a loop with Dispatcher and stop in the station and then continue after a time.? I have successfully used physical sensors, internal sensors and logix to accomplish this.? One question remains.? How can I reset each block to inactive in logix, after they go red on layout, so another continuous journey can happen around the loop again?? Thank you all in the User Group.? I couldn't have got this far without you.?

Best Wishes

Graham Orriss(UK)

On ?Thursday?, ?19? ?July? ?2018? ?18?:?16?:?54, AD <bklyns_baseball_club@...> wrote:


What would you use to trigger the missing layout sensor(internal) to be active.
Could you say when previous block is occupied to turn the internal sensor active after a delay guessing when the engine would hit the block?

What other ways are there that are possible.

Tony


On Jul 19, 2018, at 12:56 PM, Dave Sand <ds@...> wrote:

Graham,

It is possible to use Logix and internal sensors to simulate missing layout sensors. ?

The biggest challenge is that you also have to simulate the direction of traffic so that the virtual sensors become active and inactive in the correct sequence. ?Otherwise the block routing breaks down which causes Dispatcher errors.

It is a trade off between cost and dependable operation.


Dave Sand



On Jul 19, 2018, at 11:27 AM, Graham Orriss via Groups.Io <graham.orriss@...> wrote:

Thank you all for your replys. ?Am I best to install more physical sensors, which will cost, ?If I have a physical sensor on a block, turnout, ?track with a?block reference, turnout, track with a block reference, turnout, physical sensor on a block, will all this come up in red in Dispatcher? ?Steve said he set?an internal sensor between two physical sensors.?

Thank you

Graham

On ?Thursday?, ?19? ?July? ?2018? ?17?:?10?:?42, Ken Cameron <kcameron@...> wrote:


Graham,


The best way to look at Logix is you make groups of Conditionals. Each
Conditional has two parts: conditions and actions. The conditions are things
like sensors and turnouts that you test for some logical state like true or
false. You can use AND and OR or even mixed to build these lines to some
logical conclusion. Then the action lines are doing something, like setting
turnouts or sensors, etc... based on the conditionals coming as true or
false.

-Ken Cameron, Member JMRI Dev Team











Locked Re: Using a Large Number of Connections to JMRI

 

Large numbers of C/MRI connections via Ethernet should not be a problem. Each one will use less than a MB of additional RAM. The network stacks are pretty efficient of CPU time, and don¡¯t care about numbers of nodes for much larger numbers than anybody will realistically build.

Large numbers of USB-connected devices can be problematic unless you have (and your OS supports well) multiple _independent_ USB busses. The USB controller hardware that runs a bus typically has a limited number of slots: RPis seem to have 15, most modern Mac hardware has 30, and PCs vary from 7 to 20 or so. Don¡¯t forget to count built-in devices like the keyboard and mouse if they¡¯re on the same controller.

Bob

On Jul 19, 2018, at 2:50 PM, jerryk4884@... wrote:

I would like to know what the limitations are to using a large number of connections to JMRI. I'm looking at defining in the area of 10 CMRI connections using either USB or Ethernet to connect to Arduino modules. Each connection will have only a single node defined. I think this should give me enough I/O to build a signaling system for a fairly large layout. Is there a limit to the number of connections JMRI will handle? Are there other drawbacks to this approach such as response times?
--
Bob Jacobsen
rgj1927@...


Locked Re: JMRI Throttle

 

Richard,

Check the Edit->Preferences->Defaults, make sure the options selected
LocoNet for all of them.

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


Locked JMRI Throttle

 

At our club we have a windows 7 32 bit computer loaded with Decoder Pro 4.12 with the latest JAVA for 32 bit. It is connected through USB com port 4 to a Digitrax DCS 240, Decoder Pro set as a PR3 connection. We can read and right to decoders, but the throttle will not control a locomotive. Digitrax throttles work.?
?I select the locomotive and throttle up but nothing happens.

?What am I doing wrong?

Richard Webster


Locked Re: Using a Large Number of Connections to JMRI

 

I'm thinking about using Arduino Mega modules. These have 54 I/O ports available at a lower cost than CMRI hardware and also can be programmed to implement logic locally. The Ethernet connection only consumes 4 ports.

I may end up with an RS485 bus, but I still would like an answer my question if someone can supply that.
Thanks much,
Jerry


Locked Re: Using a Large Number of Connections to JMRI

 

Jerry,

Why the high number of connections instead of being nodes on a bus? Given
the usual cost of interfaces for the connections, it adds up kind of fast
for most hardware.

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


Locked Re: Using a Large Number of Connections to JMRI

Nick
 

Jerry,

Why multiple connections ? CMRI uses a piggyback connection for the RS232/485 communications buss. All you need is one comm port connection to accommodate any number of CMRI nodes. The system is designed for multiple nodes.

I used both DCC accessory decoders using a USB connector for my DCC system and a CMRI system with a SUSIC and 10 nodes all connected to one comm port adapter. I operate on several large layouts using CMRI and none requires more than one USB/RS232/485 adapter. I have designed systems using 7 Smini nodes (48 outputs and 24 inputs per Smini) which is smaller than some of the layouts I operate on. No need to use more than one comm port connection.

Most of the layouts I operate on use "scrapper" computers too old to use for modern high speed programs but quite capable of controlling signaling on large layouts without any noticeable delay in response time.

Have you had an opportunity to read any of the CMRI manuals yet or have you already purchased the hardware ? I strongly suggest you do that before trying the "multiple" connection project. It might save you money and time.

Regards,
Nick Kulp?
?





Hi,
I would like to know what the limitations are to using a large number of connections to JMRI. I'm looking at defining in the area of 10 CMRI connections using either USB or Ethernet to connect to Arduino modules. Each connection will have only a single node defined.? I think this should give me enough I/O to build a signaling system for a fairly large layout. Is there a limit to the number of connections JMRI will handle? Are there other drawbacks to this approach such as response times?

Thanks in advance,
Jerry


Locked Using a Large Number of Connections to JMRI

 

Hi,
I would like to know what the limitations are to using a large number of connections to JMRI. I'm looking at defining in the area of 10 CMRI connections using either USB or Ethernet to connect to Arduino modules. Each connection will have only a single node defined.? I think this should give me enough I/O to build a signaling system for a fairly large layout. Is there a limit to the number of connections JMRI will handle? Are there other drawbacks to this approach such as response times?

Thanks in advance,
Jerry