¿ªÔÆÌåÓý

Date

Locked Re: I broke my Zephyr; do I want to upgrade to a Digitrax Evolution Advanced 5A/8A Starter Set?

 

Thanks everybody; I went with my heart.

Tom


Locked Re: Capability of Decoderd/Panel Pro

 

¿ªÔÆÌåÓý

>>>> It's for my club, which is not large membership wise, and has little extra money available. The system we us is DCC++ which is not commercial, but works great. <<<<

      I certainly understand the constraints you are working under.

?? I also re-engineered the DCC++ to make more room for loco slots, and it supports a total of up to 8 power districts, including the program track. ANY of the power districts other than the program track can either be a dumb district or a reverse section or a programmable intelligent district with different current limits, OR a combination reverse and intelligent district. ??

      Isn't DCC+ open source?? Based on the changes you've implemented above, I doubt it would be particularly hard for you to adapt it to an NCE style of consist control.

?? So, the investment in time and effort to change to an equivalent capability with a commercial system is simple not practical. ??

      Quite true, given the constraints you have shared with us.? But . . . . . rather than treating the symptoms with the scripting to re-write CVs whenever the opposite end of the consist is the lead engine, what if you spent your efforts deeper in the core of DCC++ developing the equivalent of the NCE consisting experience?

      I'm just throwing that out there, my professional it experience is in business/MRP/ERP/Finance systems . . . . . doubt I could do much of anything in newer languages!

      Best regards,

      Steve

      Steve Haas

      Snoqualmie, WA


Locked Re: L1USB Ethernet Adapter Error ? Help

 

Alan,

I don¡¯t have any insight into the communication errors, but I am curious about the Logix correlation. Instead of the editing the Logix, select Browse. That will display the Logix in a text format. Select and copy the contents of the window and paste it in a reply. There might be something in the Logix definition that contributes to the problem.

Dave Sand

On Aug 5, 2018, at 3:04 PM, Alan Gibbs <buggydriver17@...> wrote:

I would be very grateful for some help to identify the cause of the console error below which I have been trying to resolve for many weeks:-

jmrix.AbstractMRTraffic Controller ERROR - Auto Recovery from Error Message: 01 01 01
Retransmitted 0 Times
[liusbethernetXnetPacketizer Receive thread]
INFO - Message added back to queue 52 1F 8D C1
liusbethernet.L1USBEthernetXnetPacketizer
Transmit thread

This message may be repeated several times but only occurs when there is a logix.
Can somebody convert this to something more understandable for the less educated !! ?

The PanelPro layout which has Turnout, Sensor, Signal Head and Block Tables does not show any errors until logix is added, then when the first table entry is completed an error may appear (i.e it doesn't happen every time, similarly when the logix state is changed an error may occur.)

I have checked the adapter, i.e. the red XpressNet LED is on and the greed ethernet LED is lit. Sensor debounce is set to global.
Operating turnouts etc.,does not produce errors except when a logix is involved.

I have tried to capture the console error and XpressNet Monitor events and have put the screenshot in the photo file. (Console error-XpressNet Inf)


JMRI 4.12+Rb6a99b1 Java 1.8.0_181
Windows 10 HP 290 G1 MT
Lenz LZV100 v 3.6


Thank you for any help or advice
Alan Gibbs


Locked Re: Clear an active EntryExit pair using jython script

 

Benny,

To expand on Bob¡¯s example, this includes clearing a route segment.

import java
import jmri

eep = jmri.InstanceManager.getDefault(jmri.jmrit.entryexit.EntryExitPairs)

for destPoint in eep.getNamedBeanSet():
? ? print destPoint
? ? if destPoint.getState() == ACTIVE:
? ? ? ? print ' ? ?clear it'
? ? ? ? eep.setSingleSegmentRoute(destPoint.getSystemName())


Dave Sand



On Aug 5, 2018, at 3:50 PM, Bob Jacobsen <rgj1927@...> wrote:

Python vs Java syntax can be confusing. ?The JavaDocs are in Java syntax, but Python (often, but not always) expects an additional ¡°self¡± argument?that comes from calling it on an object, i.e. something.foo() ends up calling (in Python) ?foo(something)

The second error below is because you¡¯re calling getEntryExitList on something that isn¡¯t of type ?jmri.jmrit.entryexit.EntryExitPairs but rather something?else.

Try this:

?ee = jmri.InstanceManager.getDefault(jmri.jmrit.entryexit.EntryExitPairs)
?print ( ee.getEntryExitList() )

Bob

On Aug 5, 2018, at 1:21 PM, Benny Tj?der <etxbct@...> wrote:

Hi,
Do anyone have an jython example how to clear an EntryExit pair?
I have tried to get all pairs using getEntryExitList() but get error:
TypeError: getEntryExitList(): expected 1 args; got 0

In doc () it does not have an argument.
I've tried to put in the panel as argument than I get error:
TypeError: getEntryExitList(): self arg can't be coerced to jmri.jmrit.entryexit.EntryExitPairs

I'm using jmri 4.10 with java 1.8.0_181

/Best Regards
Benny Tj?der



--
Bob Jacobsen
rgj1927@...







Locked Re: Clear an active EntryExit pair using jython script

 

Python vs Java syntax can be confusing. The JavaDocs are in Java syntax, but Python (often, but not always) expects an additional ¡°self¡± argument that comes from calling it on an object, i.e. something.foo() ends up calling (in Python) foo(something)

The second error below is because you¡¯re calling getEntryExitList on something that isn¡¯t of type jmri.jmrit.entryexit.EntryExitPairs but rather something else.

Try this:

ee = jmri.InstanceManager.getDefault(jmri.jmrit.entryexit.EntryExitPairs)
print ( ee.getEntryExitList() )

Bob

On Aug 5, 2018, at 1:21 PM, Benny Tj?der <etxbct@...> wrote:

Hi,
Do anyone have an jython example how to clear an EntryExit pair?
I have tried to get all pairs using getEntryExitList() but get error:
TypeError: getEntryExitList(): expected 1 args; got 0

In doc () it does not have an argument.
I've tried to put in the panel as argument than I get error:
TypeError: getEntryExitList(): self arg can't be coerced to jmri.jmrit.entryexit.EntryExitPairs

I'm using jmri 4.10 with java 1.8.0_181

/Best Regards
Benny Tj?der


--
Bob Jacobsen
rgj1927@...


Locked Re: Cannot edit problem turnouts

 

Fraser,

I am afraid you are going to get tired of this. Another niggle has occurred.

The SW21 layout block did not have a corresponding Block table entry. 1Xover was also missing the Block table entry and in places the o in over was replaced by a zero.

"37 Heaven DS Three.xml" has the fixes.

I hope I have found the remaining problems. If you need to make any future block additions, make sure that you define an entry in the Block table before assigning the block name to a track component. Under certain circumstances, creating a block table entry automatically using the track edit dialog fails.

Dave Sand

On Aug 5, 2018, at 12:44 AM, FRASER SMITH <fraser@...> wrote:

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 Clear an active EntryExit pair using jython script

 

Hi,
Do anyone have an jython example how to clear an EntryExit pair?
I have tried to get all pairs using?getEntryExitList() but get error:
TypeError: getEntryExitList(): expected 1 args; got 0

In doc (http://jmri.sourceforge.net/JavaDoc/doc/jmri/jmrit/entryexit/EntryExitPairs.html) it does not have an argument.
I've tried to put in the panel as argument than I get error:
TypeError: getEntryExitList(): self arg can't be coerced to jmri.jmrit.entryexit.EntryExitPairs

I'm using jmri 4.10 with java 1.8.0_181

/Best Regards
Benny Tj?der


Locked Re: Capability of Decoderd/Panel Pro

 

On 8/5/2018 3:06 PM, Steve Haas wrote:
RE: [jmriusers] Capability of Decoderd/Panel Pro

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

Or,one could save one¡¯s self a lot of time, effort, and tears
by simply replacing whatever DCC system one has with any of
the NCE systems that already handles all of this for you,
includingthe ability to set CVs 21 and 22 _/once/_ (while
initially programming the engine), and neverhaving to
set/reset them each time an engine is added to a consist, or
the opposite end of the consist is now selected as the lead
locomotive.

The Power Cab listsfor 199.95, and is typically discounted
around 20%for an advertised price of around $160.00. If you
understand MAP policies, they can be found for even less.

So for $160 or less one can havea DCC system that handles all
this for you.? And . . . . you can furtherreduce the cost of
that new NCE system by selling off your old system.? When I
was a contract software develop 15 years ago thatprice was
slightly more than two hours pay.

Now before I get aton of hate mail <GRIN> I realize thereare
folks out there whoareonfixed incomes, think that specific
features of whatever system they have are the Bees Knees, or
are vestedin their current systems for some reason or other,
and there are folks out there with the skills, interest and
driveto come up with a programming solution to a problem
that¡¯s already been solved.? If that¡¯s your gig, go for it,
enjoy it, and have fun.

Why re-invent the wheel?

Best regards,

Steve

Steve Haas

Snoqualmie, WA


It's for my club, which is not large membership wise, and has little extra money available. The system we us is DCC++ which is not commercial, but works great.


I also re-engineered the DCC++ to make more room for loco slots, and it supports a total of up to 8 power districts, including the program track. ANY of the power districts other than the program track can either be a dumb district or a reverse section or a programmable intelligent district with different current limits, OR a combination reverse and intelligent district.


It's all modular allowing you to assemble it as you need, and uses ONLY readily available EBAY parts. It also uses RS-485 to drive the remote power district DCC signal and track power signal, so essentially there is no degradation at any realistic distance. The most expensive part of the system is the power board(s) which cost less than $10 per power district.


So, the investment in time and effort to change to an equivalent capability with a commercial system is simple not practical.


Locked L1USB Ethernet Adapter Error ? Help

 

I would be very grateful for some help to identify the cause of the console error below which I have been trying to resolve for many weeks:-

jmrix.AbstractMRTraffic Controller ? ERROR - Auto Recovery from Error Message: 01 01 01
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? Retransmitted 0 Times
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? [liusbethernetXnetPacketizer Receive thread]?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? INFO - Message added back to queue 52 1F 8D C1
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? liusbethernet.L1USBEthernetXnetPacketizer
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? Transmit thread

This message may be repeated several times but only occurs when there is a logix.
Can somebody convert this to something more understandable for the less educated !! ?

The PanelPro layout which has Turnout, Sensor, Signal Head and Block Tables does not show any errors until logix is added, then when the first table entry is completed an error may appear (i.e it doesn't happen every time,? similarly when the logix state is changed an error may occur.)

I have checked the adapter, i.e. the red XpressNet LED is on and the greed ethernet LED is lit.? Sensor debounce is set to global.
Operating turnouts etc.,does not produce errors except when a logix is involved.

I have tried to capture the console error and XpressNet Monitor events and have put the screenshot in the photo file.? (Console error-XpressNet Inf)


JMRI 4.12+Rb6a99b1 ? ?? Java 1.8.0_181
Windows 10 ? HP 290 G1 MT
Lenz LZV100 v 3.6


Thank you for any help or advice
Alan Gibbs


Locked Re: I broke my Zephyr; do I want to upgrade to a Digitrax Evolution Advanced 5A/8A Starter Set?

 

Tom,

My advice would be checking with Digitrax. Depending on the bounce, it may
be cheap to repair, at least compared to a new unit.

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


Locked Re: I broke my Zephyr; do I want to upgrade to a Digitrax Evolution Advanced 5A/8A Starter Set?

 

¿ªÔÆÌåÓý

?

>>>>I just dropped my DCS51 and it's dead and I need a new command station and booster but I don't really need a throttle because I use JMRI via a PR3EXTRA. <<<<

>>>> My head says to buy a new Zephyr because it costs less and does everything I need (except bounce off hard floors).? My heart says to buy an Evolution Advanced 5A/8A Starter Set and try to sell the DT500. <<<<

>>>> Advice please? <<<<

?

Since you are going to be out a few bucks any way you look at this, I¡¯d take the time to review the functions and features of _all_ the various makes of DCC systems,

?

We interface with our DCC systems through our throttles. Try the throttles from as many systems as you can.? If multiple models of throttles are available for a given DCC system, try them all.?

?

Select an engine, run the train, try the bells, whistles and other function keys.

?

Build a consist, run that consist, and break it down at the end of the run.? If there are multiple ways a consist can be built on a given system try all those ways to make/run/break those consists.

?

Remember, from the booster outputs to your track to your engines and to the decoders installed in those engines _All_ DCC systems are the same.?

?

From the booster back through the command station and to the internals of your throttles different systems are unique, but little if any of that comes into play when running trains.

?

The biggest difference between the various systems is the user interface between your hands and that throttle, and how well/easily each system and its cabs allow you to run your railroad.?

?

I have my prejudices, but I¡¯ll keep them to myself.

?

?

Best regards,

?

Steve

?

Steve Haas

Snoqualmie, WA


Locked Re: Electronic parts retail source

 

Mouser

Digit Key

Allied.

All have huge inventories and great web sites.

I use mouser a lot since it I close and ups or fed x ground delivery is only 2 days.

Jim

On Aug 5, 2018, at 13:35, jimalbanowski <jimalbanowski@...> wrote:

Group:

Off topic a bit... but since a lot of what JMRI interfaces with is DIY electronics...

Being in north central New Jersey we still have a real electronics store Greenbrook... on the infamous route 22 not too far from The Model Railroad Shop...

Yes the China connection is very strange as to what and how fast it gets here...

Jim Albanowski



Locked Re: I broke my Zephyr; do I want to upgrade to a Digitrax Evolution Advanced 5A/8A Starter Set?

 

No possibility it's repairable??

--Paul E Musselman

.

At 9:40 AM -0700 8/5/18, haythornthwaite@... wrote:
I just dropped my DCS51 and it's dead and I need a new command station and booster but I don't really need a throttle because I use JMRI via a PR3EXTRA.

My head says to buy a new Zephyr because it costs less and does everything I need (except bounce off hard floors). My heart says to buy an Evolution Advanced 5A/8A Starter Set and try to sell the DT500.

Advice please?

Tom


Locked Re: Capability of Decoderd/Panel Pro

 

¿ªÔÆÌåÓý

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

      Or, one could save one¡¯s self a lot of time, effort, and tears by simply replacing whatever DCC system one has with any of the NCE systems that already handles all of this for you, including the ability to set CVs 21 and 22 _once_ (while initially programming the engine), and never having to set/reset them each time an engine is added to a consist, or the opposite end of the consist is now selected as the lead locomotive.

      The Power Cab lists for 199.95, and is typically discounted around 20% for an advertised price of around $160.00.? If you understand MAP policies, they can be found for even less.

      So for $160 or less one can have a DCC system that handles all this for you.? And . . . . you can further reduce the cost of that new NCE system by selling off your old system.? When I was a contract software develop 15 years ago that price was slightly more than two hours pay.

      Now before I get a ton of hate mail <GRIN> I realize there are folks out there who are on fixed incomes, think that specific features of whatever system they have are the Bees Knees, or are vested in their current systems for some reason or other, and there are folks out there with the skills, interest and drive to come up with a programming solution to a problem that¡¯s already been solved.? If that¡¯s your gig, go for it, enjoy it, and have fun.

      Why re-invent the wheel?

      Best regards,

      Steve

      Steve Haas

      Snoqualmie, WA


Locked Re: I broke my Zephyr; do I want to upgrade to a Digitrax Evolution Advanced 5A/8A Starter Set?

Jon Miller
 

¿ªÔÆÌåÓý

On 8/5/2018 9:40 AM, haythornthwaite@... wrote:
I don't really need a throttle because I use JMRI via a PR3EXTRA.
??? Reason Digitrax doesn't sell the DCS210 separate:-DVBG!

My head says to buy a new Zephyr because it costs less and does everything I need (except bounce off hard floors)
??? A solution!
.? My heart says to buy an Evolution Advanced 5A/8A Starter Set and try to sell the DT500.
??? This is what I would do.?
??? Mailorder +/- $340.? Throttle -$140 or so.? Should be able to get the basics for around $200 or so.


-- 
Jon Miller
For me time stopped in 1941
Digitrax  Chief/Zephyr systems, JMRI User
SPROG User
NMRA Life member #2623
Member SFRH&MS


Locked Re: Electronic parts retail source

 

Group:

Off topic a bit... but since a lot of what JMRI interfaces with is DIY electronics...

Being in north central New Jersey we still have a real electronics store Greenbrook... on the infamous route 22 not too far from The Model Railroad Shop...

Yes the China connection is very strange as to what and how fast it gets here...

Jim Albanowski


Locked Re: DecoderPro Preferences menu partly in German

 

Hi Bob and team

Have you been able to look at the startup menu and found why it's partly using the local Windows language instead of the one selected in the preference menu?

I currently use 4.13.1 and still have the menu partly in French instead of US English or UK English selected in the preference menu.

Thanks.

Alain


Locked I broke my Zephyr; do I want to upgrade to a Digitrax Evolution Advanced 5A/8A Starter Set?

 

I just dropped my DCS51 and it's dead and I need a new command station and booster but I don't really need a throttle because I use JMRI via a PR3EXTRA.

My head says to buy a new Zephyr because it costs less and does everything I need (except bounce off hard floors).? My heart says to buy an Evolution Advanced 5A/8A Starter Set and try to sell the DT500.

Advice please?

Tom


Locked Signal Mast - Mast Driver - Output Matrix

 

I have defined Signal Mast with matrix of 5 logic outputs - turnouts.
On LocoNet connection it works OK.
On XpressNet connection I have problem.
When I change aspect it works very slowly.
Two turnouts switch first. It waits for 5 seconds.
Then two turnouts will switch. It waits for 5 seconds.
Finally the last turnout will switch.

What I am doing wrong?

Petr

----- log -----
19:41:56.444: Accessory Decoder Operations Request: Turnout Address 105(Base Address 26,Sub Address 0) Turn Output 0 On.
19:41:56.446: Feedback Response: Turnout with Feedback Turnout: 105 State: Thrown Left; Turnout: 106 State: Thrown Right
19:41:56.450: Accessory Decoder Operations Request: Turnout Address 106(Base Address 26,Sub Address 1) Turn Output 0 On.
19:41:56.464: Feedback Response: Turnout with Feedback Turnout: 105 State: Thrown Left; Turnout: 106 State: Thrown Left
19:42:01.448: Accessory Decoder Operations Request: Turnout Address 107(Base Address 26,Sub Address 2) Turn Output 0 On.
19:42:01.638: Feedback Response: Turnout with Feedback Turnout: 107 State: Thrown Left; Turnout: 108 State: Thrown Right
19:42:01.638: Accessory Decoder Operations Request: Turnout Address 108(Base Address 26,Sub Address 3) Turn Output 0 On.
19:42:01.667: Feedback Response: Turnout with Feedback Turnout: 107 State: Thrown Left; Turnout: 108 State: Thrown Left
19:42:06.640: Accessory Decoder Operations Request: Turnout Address 109(Base Address 27,Sub Address 0) Turn Output 0 On.
19:42:06.661: Feedback Response: Turnout with Feedback Turnout: 109 State: Thrown Left; Turnout: 110 State: Thrown Left
19:42:06.762: Accessory Decoder Operations Request: Turnout Address 105(Base Address 26,Sub Address 0) Turn Output 0 Off.
19:42:06.792: Command Successfully Sent/Normal Operations Resumed after timeout
19:42:06.893: Accessory Decoder Operations Request: Turnout Address 106(Base Address 26,Sub Address 1) Turn Output 0 Off.
19:42:06.927: Command Successfully Sent/Normal Operations Resumed after timeout
19:42:07.028: Accessory Decoder Operations Request: Turnout Address 105(Base Address 26,Sub Address 0) Turn Output 0 Off.
19:42:07.233: Command Successfully Sent/Normal Operations Resumed after timeout
19:42:07.334: Accessory Decoder Operations Request: Turnout Address 105(Base Address 26,Sub Address 0) Turn Output 0 Off.
19:42:07.368: Command Successfully Sent/Normal Operations Resumed after timeout
19:42:07.469: Accessory Decoder Operations Request: Turnout Address 106(Base Address 26,Sub Address 1) Turn Output 0 Off.
19:42:07.503: Command Successfully Sent/Normal Operations Resumed after timeout
19:42:07.604: Accessory Decoder Operations Request: Turnout Address 106(Base Address 26,Sub Address 1) Turn Output 0 Off.
19:42:07.638: Command Successfully Sent/Normal Operations Resumed after timeout
...


Locked Re: Electronic parts retail source

 

Well the Hobbytown, near hear, went away 2 years ago. Good for anyone that can use it. I suspect their inventory will be pretty limited.
I buy that kind of stuff on eBay, good prices and cheap/no shipping. It usually goes first class mail, so usually get it I 2-3 days. Try to select a seller near you. Don¡¯t buy stuff from China, unless you are ready to wait 2 weeks. but, I must say, I¡¯m amazed you can get stuff from China, that fast, for very little shipping cost.
Jim Petro,
Reno