¿ªÔÆÌåÓý

Date

Locked Re: Capability of Decoderd/Panel Pro

 

Unfortunately, working with things like CVs has a lot of similarity to low level firmware/machine code. Lots of worrying about individual bits; not enough information on what those bits do!

An experimental approach might work for you.

1) Install JMRI, get it working with your equipment.

2) Read up on how JMRI uses Python for a scripting language (You can also work in JavaScript/ECMAScript, but we have more documentation for Python and more people can help) Then try running some sample scripts

3) Read the jython/OpsProgExample.py script, to see how it does ops-mode programming. It¡¯s nothing like your use case but it¡¯s a start.

4) Create (perhaps starting with jython/OpsProgExample.py) a script that does what you want on forward->reverse; you might want to do this with lots of print statements, etc to make sure it¡¯s writing what you expect, or do part of it on the service track so you can read back.

5) Iterate to success.

Bob


On Aug 5, 2018, at 4:44 AM, crusader27529 <crusader2752939@...> wrote:


I understand the likely complexities of what would need to be done, as I programmed low level firmware/machine code for many years.


What I don't know is how to get started in JMRI......
--
Bob Jacobsen
rgj1927@...


Locked Re: Capability of Decoderd/Panel Pro

 

On 8/5/2018 6:44 AM, Nigel Cliffe wrote:

Assuming this is ¡°on the main line¡± for all locos, you¡¯re not taking them off to a programming track mid-session, and a DCC system with no special capabilities to manage consists.? Then¡­

If the decoders are already read on the programming track into the Roster of locos, your computer ¡°knows¡± the starting position for CV¡¯s 21/22.

So, from that Roster entry you could just use the Ops-Mode (programming on the main) to change CV21/22 as required for each loco.

Moving on from using the programmer, it would be possible to write a ¡°custom programmer¡± which got rid of all the other stuff, leaving just CV21/22 per loco.??? There are several approaches to that.

Making the above automatic, or almost automatic, on change of direction of a consist. I think it might be possible, but gets more complex. ??Needs a consist manager tool to add locos to a consist, and from that a means to define and alter the CV21/22 settings for the lead loco, writing the results to both the loco and the Roster (for later use).??? I think I could see how to sketch that out with scripts.
Triggering change of direction on the script might end up as system dependent.? If you can track the throttle for the consist address, then the change of direction can be noted and the script triggered, but that may be system specific tracking of the throttle, rather than universal for any DCC system.

Nigel

Nigel Cliffe : nigel.cliffe@... <mailto:nigel.cliffe@...>? or nigel@... <mailto:nigel@...>

*From:*[email protected] [mailto:[email protected]] *On Behalf Of *crusader27529
*Sent:* 02 August 2018 23:42
*To:* [email protected]
*Subject:* [jmriusers] Capability of Decoderd/Panel Pro

Because of the sparse documentation about most of the advanced features of the suite of software that we call JMRI, I'm not sure if what I'd like to implement is even possible.

Here goes what I'd like to accomplish:

I have a question related to operating in a consist using CV19.

Assume that the consist has the lead and trailing loco coupled in opposite directions, no matter how many locos are in the consist.

The issue/question is how do you operate the consist when you want to operate the consist in the opposite direction, specificall concerning CV21-22 which defines which function keys are supposed to respond to the consist address. Obviously, the 'new' lead loco function keys would need to operate differently than when it was a traling loco.

I don't think there's a simple way to reverse operation and have the now lead loco to respond to the function keys as the now new lead loco.

So, although I've actually answered own question, it'd be nice to be able to define direction for function response when direction is changed. Also, you'd have to define which of the consist locos was the trailing loco, so other locos that are not the lead or trailing loco in the consist would still ignore the correct function keys.

So, can a macro type operation read CV values, and then change the CV 21 U& 22 values to accomplish the correct response to function buttons when reversing a consist? I completely understand that there may be different macros needed for various consist combinations, as trying to make it universal would be beyond the ability of most JMRI users.

And lastly, assuming such a macro could be implemented somehow, how would the macro be triggered?

Maybe the decoder manufactures need to help with this, but there's not much chance that would happen.

I understand the likely complexities of what would need to be done, as I programmed low level firmware/machine code for many years.


What I don't know is how to get started in JMRI......


Locked Re: Capability of Decoderd/Panel Pro

 

¿ªÔÆÌåÓý

Assuming this is ¡°on the main line¡± for all locos, you¡¯re not taking them off to a programming track mid-session, and a DCC system with no special capabilities to manage consists.? Then¡­

?

If the decoders are already read on the programming track into the Roster of locos, your computer ¡°knows¡± the starting position for CV¡¯s 21/22.?

?

So, from that Roster entry you could just use the Ops-Mode (programming on the main) to change CV21/22 as required for each loco.?

Moving on from using the programmer, it would be possible to write a ¡°custom programmer¡± which got rid of all the other stuff, leaving just CV21/22 per loco.??? There are several approaches to that.?

?

Making the above automatic, or almost automatic, on change of direction of a consist. I think it might be possible, but gets more complex. ??Needs a consist manager tool to add locos to a consist, and from that a means to define and alter the CV21/22 settings for the lead loco, writing the results to both the loco and the Roster (for later use).??? I think I could see how to sketch that out with scripts.?? ??
Triggering change of direction on the script might end up as system dependent.? If you can track the throttle for the consist address, then the change of direction can be noted and the script triggered, but that may be system specific tracking of the throttle, rather than universal for any DCC system.?

?

?

Nigel

?

?

Nigel Cliffe :??? nigel.cliffe@...? or? nigel@...

?

From: [email protected] [mailto:[email protected]] On Behalf Of crusader27529
Sent: 02 August 2018 23:42
To: [email protected]
Subject: [jmriusers] Capability of Decoderd/Panel Pro

?

Because of the sparse documentation about most of the advanced features of the suite of software that we call JMRI, I'm not sure if what I'd like to implement is even possible.

Here goes what I'd like to accomplish:

I have a question related to operating in a consist using CV19.

Assume that the consist has the lead and trailing loco coupled in opposite directions, no matter how many locos are in the consist.
?
The issue/question is how do you operate the consist when you want to operate the consist in the opposite direction, specificall concerning CV21-22 which defines which function keys are supposed to respond to the consist address. Obviously, the 'new' lead loco function keys would need to operate differently than when it was a traling loco.

I don't think there's a simple way to reverse operation and have the now lead loco to respond to the function keys as the now new lead loco.

So, although I've actually answered own question, it'd be nice to be able to define direction for function response when direction is changed. Also, you'd have to define which of the consist locos was the trailing loco, so other locos that are not the lead or trailing loco in the consist would still ignore the correct function keys.

So, can a macro type operation read CV values, and then change the CV 21 U& 22 values to accomplish the correct response to function buttons when reversing a consist? I completely understand that there may be different macros needed for various consist combinations, as trying to make it universal would be beyond the ability of most JMRI users.

And lastly, assuming such a macro could be implemented somehow, how would the macro be triggered?

Maybe the decoder manufactures need to help with this, but there's not much chance that would happen.


Locked Re: Running JMRI on a Dell with a 32GB eMMC drive

 

Thanks all for the replies.
Looks like I'll just get a regular laptop.

Julius Olajos?


Locked Re: Electronic parts retail source

 

On 8/5/2018 12:37 AM, Tom Wilson wrote:
This is not JMRI specific, but is more general to the model railroad electronics interest. ?So moderators, please excuse me if it is out of bounds....
I am just sharing information with the group what is a fairly new development. With the recent demise of Radio Shack corporate stores in the USA, there has been a void for a 'I need it now' parts source for capacitors, ICs, resistors, leds, small switches, circuit bread boards, etc. Of course the internet fills the gap if you can wait for shipping delays. Well, I just found out that whomever purchased Radio Shack struck a deal with Hobbytown USA and is rolling out Radio Shack branded small electronics parts into Hobbytown Stores who are willing to buy into the program. Not everyone will likely get on board right away, but it is now becoming an option to get your hands on a part when you need it now.
No Hobbytown stores close to me but I do have a Fry's in the vicinity, which is another possibility for people. Fry's only has 34 stores, located in the West or Midwest, so it only helps some people like myself who are near one. I'd say that Fry's selection of components is better than what Radio Shack used to offer.
Of course if you can wait a week or so Mouser, Digi-Key, Allied or Newark still have the best selection.

--

Rick Jones

If a cow laughed, would milk come out of her nose?


Locked Re: Cannot edit problem turnouts

 

Hi again Dave

I'll get that downloaded now. Something must have been niggling with you for you to go back to this.and I appreciate what you have achieved by doing that.

Thanks again

Fraser


Locked Electronic parts retail source

 

This is not JMRI specific, but is more general to the model railroad electronics interest. ?So moderators, please excuse me if it is out of bounds....
I am just sharing information with the group what is a fairly new development. With the recent demise of Radio Shack corporate stores in the USA, there has been a void for a 'I need it now' parts source for capacitors, ICs, resistors, leds, small switches, circuit bread boards, etc. Of course the internet fills the gap if you can wait for shipping delays. Well, I just found out that whomever purchased Radio Shack struck a deal with Hobbytown USA and is rolling out Radio Shack branded small electronics parts into Hobbytown Stores who are willing to buy into the program. Not everyone will likely get on board right away, but it is now becoming an option to get your hands on a part when you need it now.?
I am not plugging this for any personal gain. Just getting the word out. I have a Hobbytown 3 blocks from my house and have become friends with the owners who just told me about it.


Tom Wilson


Locked Re: Z21 and POM

 

Alan, all decoders have railcom enabled, and? I read CVs with no errors. I have the timeout when I write a CV.
No problems on programming track.


Locked Re: All read buttons re greyed out (disabled)

 

Thanks for the ideas. I just got back from the show and will set up my test track (which is what I was trying to use) tomorrow morning and look that these possibilities. All I was doing was opening the sheets on a particular locomotive and all the read buttons were disabled. I was able to write a value and got the OK at the bottom of that sheet. Don't really know if it took or not.?

I'll be back on tomorrow morning.

John

On Sat, Aug 4, 2018 at 1:04 PM, Mick Moignard <mick@...> wrote:

Are you in edit mode and not actually reading the decoder?

Mixk

________________________________
Mick Moignard
m: +44 7774 652504
Skype: mickmoignard

, so please excuse the typos.




--
John Griffin
__________________________________
I've lost my dog and my remote...

Reward for remote.


Locked Re: Z21 and POM

 

Yes, I can.?
To do that it is presumably using Railcom.

Does the decoder you cannot read have Railcom? I suspect it doesn't. What happens if you try and read it on a programming track?


Locked Re: RailDriver Console

 

Hi Tim -

I've read that page a couple of times, it sounded promising!

I get to the part where the throttle window is supposed to open; but it does not.

Thanks

- Jon


Locked Re: Z21 and POM

 

Yes, I can.?

Moreno


Locked Re: bounced messages

 

Hi Craig,
??
There is a detailed help here which explains how Groups.io handles bouncing emails :-

?/static/help

Regards
John Russell


On Sat, Aug 4, 2018 at 10:29 PM, Craig Goodyear wrote:
Thanks for the response. The IP address shown is not for my IPS (calbeone.net). I will attempt to contact cableone.net.

Craig


Locked Re: operations routes and locations

 

See how i have mine setup. It may help you:

I have one location called "Northeastern yard"
In that location?I have tracks designated as below:

6 classification tracks designated "Classification/Interchange" in the program that allow everything but engines, cabooses, and passenger cars
1 RIP track designated as a "Spur" with a schedule to randomly pull a car that allows everything but engines and passenger cars
1 Caboose track designated as a "Yard" that only allows cabooses
1 Supply track designated "Spur" that only allows Sand and Fuel cars
6 Tracks for the engine terminal designated as "Yard" that only allow engines.
1 Track that is the yard switcher pocket designated "Yard" that only allows engines that are switchers

As this is all one "location" it has never had a problem with assigning engines and cabooses or getting them all in the right place at the end of a run. I also do not designate arrival departure tracks as they vary as needed. I do however have the classification tracks limited to certain trains/routes/locations so when the train comes in at the end of the day the program tells where to put them to be in the right place for the next trains out.?
When my trains come in I pull them into the "arrival/departure" track(s) (which vary as I need them) and I cut the road engine loose and bring it into the terminal. The yard switcher takes over and puts everything else away, but it not mentioned at all in the program. The system still needs some human intervention to sort out the best way to do the actual work. It just tells you what has to end up where, not how to actually accomplish that.

I think you may be overly complicating things on your setup. Try simplifying first and then add more restrictions as you get used to it.


Locked Re: Z21 and POM

 

You can read a CV value in POM mode?

Mick

________________________________
Mick Moignard
m: +44 7774 652504
Skype: mickmoignard

, so please excuse the typos.


Locked Re: bounced messages

 

Thanks for the response. The IP address shown is not for my IPS (calbeone.net). I will attempt to contact cableone.net.

Craig


Locked Re: bounced messages

 

It means that IP address has been marked as being used to send lots of spam, so it¡¯s turned off for email purposes. How your email got involved depends on whether that¡¯s actually your IP address, and how you send email.

If your Internet Service Provider is cableone.net (from your email address), they¡¯re probably the place to start to get it resolved.

Bob

On Aug 4, 2018, at 11:01 AM, Craig Goodyear <cjhs22a@...> wrote:

E-mails for all groups.io groups that I subscribe to including this group are getting bounced for the following reason:

550 5.7.1 [C10] RBL restriction: Blacklisted by Internal Reputation Service - 66.175.222.12

What does reason mean?

I am unable to find anything to fix this. What do I need to do stop the bouncing?
--
Bob Jacobsen
rgj1927@...


Locked Re: Z21 and POM

 

I tested Zimo mx630P16, Lenz Standard+? 10231-01, Esu lokpilot v4 dcc and I have the error with all decoders. Track is connected directly to the "main track output" of the Z21. With every decoder CV is written correctly via POM, but I have the error "Timeout talking to command station (306)".

Moreno


Locked Re: operations routes and locations

 

¿ªÔÆÌåÓý

Ok i will try that

Tony


On Aug 4, 2018, at 1:53 PM, Dan Boudreau <daboudreau@...> wrote:

Tony,

Are you saying that your locos and cars have moved from where you placed them?? When you build a train, the car's destination changes each time you build a train.? If you think you have a problem, turn on car, loco, & train logging and we'll be able to see when and how a car or loco is moved.? Also turn on "Save Train Manifests" this will help us figure out what's going on.



Dan


Locked Re: operations routes and locations

 

¿ªÔÆÌåÓý

There are numbers in that column. I never clicked ¡®move¡¯ or ¡®terminate train¡¯ which the manual says puts the new locations in the car/engine database . ??
I created test trains to test out how things work. I click on build, then on preview to see what it said the train should do. Then on reset train. ?Change conditions and try again.
I never ran a train yet the engine it selected to bring cars to the industrial area has been returned to a new location and my industries are loaded with cars.

There must have some setting thats moving the cars when i click build?

I now have to check my 400 cars and 40 engines locations in the classification and engine yds and reset my databases. ?I would like to avoid this problem in the future when i test the builds i dont want my databases damaged by knowing what settings are necessary to have it work properly.


tony


On Aug 4, 2018, at 2:54 PM, Dan Boudreau <daboudreau@...> wrote:

Tony,

BTW, in your Cars window, there's a column marked "Moves", if you've never moved or terminated a train, the car move counts should all be zero.

Dan