Trains.com

Subscriber & Member Login

Login, or register today to interact in our online community, comment on articles, receive our newsletter, manage your account online and more!

JMRI and adjusting lighting pulse rate - Update: Video added

4549 views
24 replies
1 rating 2 rating 3 rating 4 rating 5 rating
Moderator
  • Member since
    June 2003
  • From: Northeast OH
  • 17,199 posts
JMRI and adjusting lighting pulse rate - Update: Video added
Posted by tstage on Wednesday, April 3, 2019 8:38 PM

Is there a way to slow down the pulse rate of an LED set to gyra lite in JMRI?  On the lights tab I've tried adjusting oscillating light modulating, oscillating light latency, and momentary pulse but the pulse remains unchanged.  And, yes - I did write the changes.

Thanks,

Tom

https://tstage9.wixsite.com/nyc-modeling

Time...It marches on...without ever turning around to see if anyone is even keeping in step.

  • Member since
    August 2003
  • From: Collinwood, Ohio, USA
  • 16,226 posts
Posted by gmpullman on Thursday, April 4, 2019 1:16 AM

Hi, Tom

You bring up a good question. I pretty much settled for "out-of-the-box" settings but it would be nice to customize such an effect.

I did find this in the TCS users manual:

 TCS_effect by Edmund, on Flickr


 

http://tcsdcc.com/sites/default/files/2018-04/Comprehensive%20Programming%20Guide.pdf

 


 

That may be helpful. So far I haven't found the same adjustments available for ESU. Soundtraxx mentions a CV 59 with a range of 0-15 for "Hyperlight" flash rate. Not to be confused with phase A and B outputs for ditch lights.

 

Good Luck, Ed

  • Member since
    December 2001
  • 1,932 posts
Posted by Stevert on Thursday, April 4, 2019 1:47 PM

Does the decoder in question support adjusting the pulse rate? Remember, JMRI is only a GUI - It can't magically change what the decoder is capable of.

But if the decoder doc indicates it does support that adjustment, that doc should also give you the CV(s) and value(s). If those haven't been incorporated into the JMRI definition for that decoder type (that's up to the author of that definition), just use either the CV tab or the single CV programmer in JMRI to write the correct value(s) to the correct CV(s).

Oh, and if you're using an NCE Power Pro, keep in mind that an issue in the NCE Power Pro firmware causes the wrong CV to be written to in Program Track mode for any CV>256. No way of telling if that applies in this case since we don't know the decoder brand/model/CV(s) involved.

Moderator
  • Member since
    June 2003
  • From: Northeast OH
  • 17,199 posts
Posted by tstage on Thursday, April 4, 2019 2:21 PM

Steve,

I'm using a Power Cab with a TCS FL4 decoder.  I've adjusted the lighting CVs for a Loksound Select (IIRC, they're CV252 and >) a couple of weeks ago and I had no issues.

Tom

https://tstage9.wixsite.com/nyc-modeling

Time...It marches on...without ever turning around to see if anyone is even keeping in step.

  • Member since
    March 2010
  • From: Sherwood Park, Alberta, Canada
  • 251 posts
Posted by CNR378 on Thursday, April 4, 2019 5:44 PM

Using the manual page Ed provided, adjust the settings on the 'Lights' page of your roster entry.

Peter

  • Member since
    December 2001
  • 1,932 posts
Posted by Stevert on Thursday, April 4, 2019 9:41 PM

tstage

Steve,

I'm using a Power Cab with a TCS FL4 decoder.  I've adjusted the lighting CVs for a Loksound Select (IIRC, they're CV252 and >) a couple of weeks ago and I had no issues.

Tom

 

The Power Cab doesn't have that issue, only the Power Pro when using the programming track (POM works okay).

Also, ESU has provided a workaround for their decoders that has been incorporated into JMRI, so you'd only see the issue with an ESU decoder if you used the cab rather than JMRI on the Power Pro programming track.

However, the ESU workaround in JMRI doesn't help when writing to CV's >256 on non-ESU decoders with the Power Pro programming track. For those you'll need to use POM. 

Having said all that, it looks like (I don't use TCS decoders) what you need is on page 11 of this document.

Moderator
  • Member since
    June 2003
  • From: Northeast OH
  • 17,199 posts
Posted by tstage on Sunday, April 7, 2019 9:37 PM

Thanks for the TCS decoder manual, Ed.  I increased CV 113 (Max Bright Duration) from "9" to "35" and that helped give the LEDs the mars lighting effect of a 1-sec pulse rate, which is what I observed on the Aerotrain DVD that I have.  The default of the FL4 decoder was closer to 0.5-sec.

I might play around with the other CVs on pg. 10 a bit more but I'm pretty happy with the results.  I'm also hoping to be able to post a video of the results here sometime in the near future.

Tom

https://tstage9.wixsite.com/nyc-modeling

Time...It marches on...without ever turning around to see if anyone is even keeping in step.

  • Member since
    August 2003
  • From: Collinwood, Ohio, USA
  • 16,226 posts
Posted by gmpullman on Monday, April 8, 2019 1:55 AM

Glad that worked for you, Tom.

There are SO many options on decoders today that it can be overwhelming. Add to that the variables in architecture of each manufacturer's design and it can be a real challenge to keep track of it all.

Regards, Ed 

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Monday, April 8, 2019 7:10 AM

 Just another reason I stick to one (or two) types of decoders. And that may go down to one in the future (though I will not replace any existing motoor-only TCS decoders) as I plan to start installing Lokpilots for non-sound use to go along with my Loksound sound decoders. 

                                --Randy

 


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    August 2003
  • From: Collinwood, Ohio, USA
  • 16,226 posts
Posted by gmpullman on Monday, April 8, 2019 12:45 PM

rrinker
I plan to start installing Lokpilots for non-sound use to go along with my Loksound sound decoders. 

I wonder if we should stock up on Loksound decoders, though?

Version 5 is around the corner. How much different will it be than the V4? Loksound Select will be dropped as from what I hear, there are components that are no longer available?

http://www.esu.eu/en/products/loksound/loksound-5-loksound-5-dcc/

Regards, Ed

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Monday, April 8, 2019 1:18 PM

 The 5 is just more better. Seems mostly the same just with an improved drive and even higher quality sound. I'm not worried about a mix of version, I still have my two T1's with v3.5 decoders in them. Hopefully they get the North American sound projects converted over. The selection is somewhat limited at the moment - no Alcos for one.

The Select and the V4 were the same hardware. Only different firmware made it a Select, where you had to load the entire sound project and not just change individual sounds, vs a v4 where you could change individual sounds. I was actually using v4s for my RS3s, because the Select RS3 project did not include the horn I needed, even though the horn was available in the ESU sound library. A minor change like that where the sound file already exists in the correct format was easy, just as easy as swapping the whole project on a Select. No sound editing needed, just set the desired sound from the library to the old horn slot using the Lokprogrammer. 

                                          --Randy

 


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    August 2003
  • From: Collinwood, Ohio, USA
  • 16,226 posts
Posted by gmpullman on Monday, April 8, 2019 4:57 PM

rrinker
The 5 is just more better. Seems mostly the same just with an improved drive and even higher quality sound.

That's good news, Randy. I'm looking forward to trying one out. 

Thank You, Ed

Moderator
  • Member since
    June 2003
  • From: Northeast OH
  • 17,199 posts
Posted by tstage on Saturday, April 13, 2019 10:54 PM

Well, I promised a video of the results so here it is:

I designed and put together a universal testing platform for the task.  In the video the primary decoder (foreground) is a Loksound Select micro and the secondary decoder (background) a TCS FL4.  The Loksound decoder will operate the motor/sound and front headlights and the TCS decoder the rear taillights.  Both are programmed to the same address "1001".

The rear taillight default is gyralight.  The red tailight (left) operates in forward and white taillight in reverse.  Pressing F5 changes either one to constant lighting.  F6 activates the inside pair of front headlights in gyrolight mode and only in forward.

The only thing remaining that I would like to accomplish is the ability to activate the inside pair of front headlights so that they are either constant on or off.  That would allow them to be activated in three distinct modes: constant on, gyralight, or off.  Currently I can program it to either constant on/off or gyralight on/off but not all three.

I tried reprogramming F7 to accomplish that but have been unsuccessful so far.  If anyone has any solutions I'm open to them.

Thanks,

Tom

https://tstage9.wixsite.com/nyc-modeling

Time...It marches on...without ever turning around to see if anyone is even keeping in step.

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Saturday, April 13, 2019 11:07 PM

 Just use 2 function outputs, one set for constant on and one set for gyralite. Both off, light is off. Gyralite one is on, you get Gyralite effect. Constant on one is on, with or without the Gyralite one, you get a constant on.

 Even if the ESU conditional functions can handle this, you;d need 2 different buttons to get all 3 states. But more than one function wire can connect to th same LED so that more than one key and/or effect can be involved with a given light.

                                         --Randy

 


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

Moderator
  • Member since
    June 2003
  • From: Northeast OH
  • 17,199 posts
Posted by tstage on Sunday, April 14, 2019 8:24 AM

Randy,

On the Select micro, F0F is used for the two outside headlights, F0R for the center red headlight, and AUX 1 & 2 (green & purple) for the two inner headlights.  Wouldn't I need a 6-function decoder to tie AUX 3 & 4 to AUX 1 & 2 for the 3-state condition?  The Select micro is only 4-function.  Perhaps an excuse for purchasing one of the new Loksound V5 micros?

Tom

https://tstage9.wixsite.com/nyc-modeling

Time...It marches on...without ever turning around to see if anyone is even keeping in step.

  • Member since
    December 2015
  • From: Shenandoah Valley
  • 9,094 posts
Posted by BigDaddy on Sunday, April 14, 2019 9:59 AM

You could upload the video to youtube.

I tried to post your video in the trains test forum and it works there.  No idea why it won't work here.

 

 

Henry

COB Potomac & Northern

Shenandoah Valley

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Sunday, April 14, 2019 11:26 AM

 Do the two inner headlights need independent functions?

Every time I see threads with all kinds of strange lighting requirements (and this one puts most SP locos to shame!) I am forever more greatful that my prototype never messed around with that stuff.

 Otherwise, you need more functions. And the oonly Loksounds that have more than 4 are the ones with the 21 pin connector so you need a motherboard. The 21MTC Select has 8 total outputs, but you need to use the style of motherboard with the drievers on it as the 4 highest ones are logic level only (which is how they get so many functions on such a small decoder).

 The Loksound v5 Micro says is has 6 amplified functions plus one additional logic level, so the newer decoder may be what you need to get all this. 

                                                        --Randy


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

Moderator
  • Member since
    June 2003
  • From: Northeast OH
  • 17,199 posts
Posted by tstage on Sunday, April 14, 2019 2:04 PM

BigDaddy

You could upload the video to youtube.

I tried to post your video in the trains test forum and it works there.  No idea why it won't work here.

Yea, Henry.  I found it worked in the test forum and in PMs but not when posted here on the forum.  The present forum software is quirky that way and has been for years. Tongue Tied

[Edit: I took your suggestion, Henry: I uploaded the video to Youtube, inserted it in the thread, and it appears to be working fine.  Thanks for the shove in that direction. Smile]

Tom

https://tstage9.wixsite.com/nyc-modeling

Time...It marches on...without ever turning around to see if anyone is even keeping in step.

Moderator
  • Member since
    June 2003
  • From: Northeast OH
  • 17,199 posts
Posted by tstage on Sunday, April 14, 2019 2:57 PM

rrinker

 Do the two inner headlights need independent functions?

Every time I see threads with all kinds of strange lighting requirements (and this one puts most SP locos to shame!) I am forever more greatful that my prototype never messed around with that stuff.

 Otherwise, you need more functions. And the oonly Loksounds that have more than 4 are the ones with the 21 pin connector so you need a motherboard. The 21MTC Select has 8 total outputs, but you need to use the style of motherboard with the drievers on it as the 4 highest ones are logic level only (which is how they get so many functions on such a small decoder).

 The Loksound v5 Micro says is has 6 amplified functions plus one additional logic level, so the newer decoder may be what you need to get all this. 

                                                        --Randy

Randy,

The DVD footage I have of the NYC Aerotrain (Green Frog Productions) shows it operating in a variety of lighting combinations:

Front headlights:

  • Outside pair only (constant)
  • Inner pair only (constant)
  • Outer & inner pair (constant)
  • Outer pair (constant)/Inner pair (gyralight)

Rear taillight:

  • F0F Red on (gyra light)
  • F0F Red off - even operating at twighlight Tongue Tied

I don't know if the F0R white taillight (right) ever operated in the gyralight state but it was convenient to wire it up/remap it similar to the left red taillight so that it activated to constant when pressing F5.

There isn't much room under the locomotive shell for the regular version of the Loksound Select decoder and the speaker has to be outfitted in the car directly behind it.  (In fact, Con-Cor produced an add-on "speaker" car for that very purpose.)  The NYC was minimal, as well, in its use of lighting effects on their own locomotive roster but this was a prototype produced by GM to be shopped to a variety of railroads so I guess they wanted it to have "full capability".

Well, it looks like I'll be trying one of the new Loksound V5 micros then.  Do you know if ESU has actually released it in the US yet?  I saw them listed on the Litchfield Station website but wasn't sure it those were just for pre-orders.

Tom

https://tstage9.wixsite.com/nyc-modeling

Time...It marches on...without ever turning around to see if anyone is even keeping in step.

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Sunday, April 14, 2019 7:32 PM

 Hmm, I wouldn;t have thought a Gyralite would always stop at the same position when the movement was turned off, meaning htat if you just lit up those lights in constant on, they'd possibly point in all sorts of directions. Are you sure they sometimes act like gyralites and sometimes are steady, and it's not just a filming issue, like a still made to look like a motion shot or something?

                                         --Randy

 


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

Moderator
  • Member since
    June 2003
  • From: Northeast OH
  • 17,199 posts
Posted by tstage on Sunday, April 14, 2019 9:15 PM

The footage on the DVD shows several scenes of the NYC Aerotrain coming and going.  One scene shows it traveling down the track during the day and the rear red (left) taillight flashing like a gyralight.  Another scene shows an Aerotrain travel during twilight hours.  The outer front headlights are on constant and the inner headlights exhibit a mars light effect (figure 8) rather than a gyralight.  As the train passes, the rear red taillight is completely off.

I didn't see any scenes where the rear taillight was on but not flashing, Randy.  According to the literature that was included with the Con-Cor Aerotrain (Rail Classics article, "Here Comes Tomorrow" by Gary Dolzall), the Aerotrain's "rear featured red and white rotating lights which bracketed 'GM' insignia".  I thought I read in that or another article where the term "gyralight" was used to describe those lights.

So, if they are indeed an oscillating/gyralight, it would be highly unlikely for them to be used for anything else?  If that is the case, another piece of footage with the Aerotrain coming towards the camera (during daylight hours) with the outer & inner headlights on but NOT flashing wouldn't mesh with the earlier mentioned twilight footage of the locomotive coming towards the camera with the outer headlights on constant but the inner headlights flashing.  Maybe a separate question on the Prototype forum. Huh?

Unfortunately, there isn't much footage of the actual Aerotrain in action online to gather anymore data for prototypical operation of the lighting.  The NYC DVD from Green Frog Productions on the Aerotrain is only about 2 to 2-1/2 minutes in length, total.

Tom

https://tstage9.wixsite.com/nyc-modeling

Time...It marches on...without ever turning around to see if anyone is even keeping in step.

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Monday, April 15, 2019 7:17 AM

 Hmm, so I guess you need a total of 5 functions but which ones would be combined? Based on that last description you have the 2 outer white lights, on or off, basic light functions, the inner white ones, off or on with a mars light effect, and then the front red light which is probably also a mars light. In back, the red Gyralite effect, and a white Gyralight effect.

 You could always put a 2 function function only decoder in the last car to control those 2 lights. Then you would have enough functions available on the existing decoder up front to handle those lights. Which beats running wires through the whole train to feed the rear lights.

                                          --Randy

 


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

Moderator
  • Member since
    June 2003
  • From: Northeast OH
  • 17,199 posts
Posted by tstage on Monday, April 15, 2019 12:59 PM

Randy,

That's what the TCS FL4 decoder is doing.  It controls the rear F0F (red) and F0R (white) LEDs on the observation car.  AUX 1 & 2 (green & purple) are paired together and AUX 3 & 4 (brown & pink) are paired together.  F5 is what changes them from gyralight to constant.

The F0F on the Loksound Select micro controls the outer pair of headlight, the F0R the central red LED, and AUX 1 & 2 (green & purple) are paired together to give me the gyralight for the inner two LEDs.

Sorry if that wasn't clear before, Randy.  That's the reason for the dual decoder PCB testing platform.

Tom

https://tstage9.wixsite.com/nyc-modeling

Time...It marches on...without ever turning around to see if anyone is even keeping in step.

  • Member since
    August 2003
  • From: Collinwood, Ohio, USA
  • 16,226 posts
Posted by gmpullman on Monday, April 15, 2019 1:21 PM

I have a pair of the Genesis, Amtrak SDP-40Fs which have a regular headlight and a white Gyralight. The Gyralight is mapped to F5.

The locomotive also has a red Gyralight in a separate housing and it is only activated when you press the emergency stop button on your throttle.

Three functions on one (E-stop) button. a) the motor stops immediately, b) a sound function of an emergency air release, and c) the light function of the red Gyralight.

You could do the same if you wanted to see the red Gyralight functioning as an emergency "beacon". Trains operating with a red Gyralight, as far as I can see, including the Aerotrain, still had a pair of standard marker lights or the built-in marker lights displating a steady red. Somewhere, I recall seeing a photo of the tail of the Aerotrain with a pair of big ol' kerosene markers in the brackets!

On the SDP-40F the red Gyralight stays illuminated until you dial the throttle up from any speed step above 0. I think it is a pretty neat feature.

Just an option for you to consider, Ed

Moderator
  • Member since
    June 2003
  • From: Northeast OH
  • 17,199 posts
Posted by tstage on Monday, April 15, 2019 8:32 PM

gmpullman
Trains operating with a red Gyralight, as far as I can see, including the Aerotrain, still had a pair of standard marker lights or the built-in marker lights displating a steady red.

Ed,

Are they the small lights directly behind the last side window and above the handrail of the observation car in the earlier photo?

Tom

https://tstage9.wixsite.com/nyc-modeling

Time...It marches on...without ever turning around to see if anyone is even keeping in step.

Subscriber & Member Login

Login, or register today to interact in our online community, comment on articles, receive our newsletter, manage your account online and more!

Users Online

There are no community member online

Search the Community

ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT
Model Railroader Newsletter See all
Sign up for our FREE e-newsletter and get model railroad news in your inbox!