¿ªÔÆÌåÓý

Date

Locked Re: marker / follow number of train on screen

 

I?use Layout Editor and OBlocks? ;-)


Locked Re: marker / follow number of train on screen

 

Is it worth mentioning that the answer will vary depending on if you use Layout Editor and OBlocks or Panel Editor and Blocks?

--
Chris White


Locked Re: marker / follow number of train on screen

 

Hello,
?
Sorry for my approximate language: -)
?
Roger replied, and I think I'll do the same by using Dispatcher.
?
Is this the only solution?
?
My goal is to see on the screen in the layout panel which train is in which block. And depending on the progress see the information change.
?
As Roger does with Dispatcher.
?
Thank you?

Fran?ois From Paris


Locked Re: marker / follow number of train on screen

 

I know of one layout that uses CATS and OperationsPro to move the loco icon, so it can be done.

Dan


Locked Re: loco assignments #operationspro

 

See my original comment, you can pull and set out anywhere in the train's route.? It doesn't matter if the train is a turn.

Dan


Locked Re: JMRI and NCE

 

Ken S,

I presume you mean the data LED's on the USB board? Seeing them flash is
sometimes tricky. Bigger issues are when they become stuck on, that's a
different case of issues.

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


Locked Re: JMRI and NCE

 

Hello Ken C.

Since the LED lights do not work, I am checking with NCE today. I guess the
problem must me with the USB interface. I will recap conversation with NCE
after I talk with Ed.

Ken S

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Ken Cameron
Sent: Thursday, July 25, 2019 7:11 AM
To: [email protected]
Subject: Re: [jmriusers] JMRI and NCE

Dave H,

Just to remind me, if the cab id is not valid in the USB, we still get the
AA command acknowledged, but we'd not be able to talk to the command
station, correct? I don't think that is any part of this issue, but checking
what I remember.

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


Locked Re: JMRI and NCE

 

Dave H,

Just to remind me, if the cab id is not valid in the USB, we still get the
AA command acknowledged, but we'd not be able to talk to the command
station, correct? I don't think that is any part of this issue, but checking
what I remember.

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


Locked Re: JMRI and NCE

 

¿ªÔÆÌåÓý

Marc and Ken,

On 25 Jul 2019, at 2:07 AM, forfoum@... wrote:

So either the baud rate is wrong or you blew the card by accident.? That is if you did not change jumper settings ever.

There are other possibilities for the AA timeout, such as a failure of the 12VDC power via the cab bus cables to the PCP, or a locked-up NCE USB board (the Cab Bus LED will be stuck on).

The first test is to not touch any jumpers, but simply try the existing setup at both 9,600 and 19,200 baud. No matter what other JMRI or jumper setting, on or other (but never both) should respond with a Vx.x.x version number. That's a first goal before getting the correct final settings. If the "try both speeds" test fails, we need to look at hardware/driver/cable issues.

Note that you should completely reset the NCE USB (by unplugging/replugging both cables between the two speed tests.

Dave in Australia


Locked Re: Looking for help finding a Jython function #scripting

 

There are no separate calls. It¡¯s just a calculation done in various modes depending on how the speed steps, etc are configured. The call into the system-specific throttle always uses the 0. - 1.0 scale.

That calculation is done in several places with somewhat different approaches, e.g. in jmrit.throttle.ControlPanel is looks like:

float newSpeed = (speedSlider.getValue() / (intSpeedSteps * 1.0f));
throttle.setSpeedSetting(newSpeed);

where the speedSlider value is an integer step from 0 to the max in intSpeedSteps

Bob


On Jul 24, 2019, at 5:40 PM, Erich Whitney <erich@...> wrote:

I am looking for the set of methods in JMRI that support the Decoder Pro Advanced Throttle functions for sending throttle commands based on speed steps (instead of the JMRI throttle that takes a number from 0 to 1). I am working on improving my decoder calibration script and I'd really like to be able to tell the decoder directly what speed step to go to. TIA -Erich
--
Bob Jacobsen
rgj1927@...


Locked Looking for help finding a Jython function #scripting

 

I am looking for the set of methods in JMRI that support the Decoder Pro Advanced Throttle functions for sending throttle commands based on speed steps (instead of the JMRI throttle that takes a number from 0 to 1). I am working on improving my decoder calibration script and I'd really like to be able to tell the decoder directly what speed step to go to. TIA -Erich


Locked Re: Servos, Ardunios, and JMRI #arduino

Robert Schworm
 

Geoff write a py script.? I assume you have one like it and made the edits as required.? Sounds like perhaps? your relay is not being driven thru the library with a PWM signal??? REally do not know what to say as I do not have this sitution running here.? But a responder mentioned looking at the signal and duration going to the relay coil.

Bob

On Wed, Jul 24, 2019 at 6:50 PM Geoffb <gbglacier@...> wrote:
Hi Bob,
Thanks for all those comments and pointers.
Since way more people are using these than I had imagined, I will try to incorporate these and test them with multiple
USB channels when I can pull everything together.

Much appreciated.
Have fun!? :-)
Best regards,
Geoff Bunza


Locked Re: loco assignments #operationspro

 

Dan,
Started setting this loco move up and 2 thoughts came up 1)is there away to pickup and setout in route with one train even if neither location is at the either end of the route and 2) can the setout/pickup be accomplished on a turn
Matt G


Locked Re: loco assignments #operationspro

 

Ok I'll give it a try it will take some time to make the changes I need to work through several trains to be able to set it up and see what happens
Thanks
Matt Greenwood


Locked Re: marker / follow number of train on screen

 

On Sat, Jul 20, 2019 at 04:42 AM, <fcot2002@...> wrote:
I saw somewhere, but I couldn't find, the possibility of displaying the train name/number on the screen.
?
I tried with the markers but it doesn't follow the train on the screen.
I saw your question but did not know exactly what you're trying to do.? My guess was you wanted to have the train markers on a Layout Editor panel show up automatically and move when the train was detected (after being moved), and that is way above my pay grade.

However, if you merely want an opportunity to show markers on a Layout Editor panel and move them by clicking on a conductor's Move button (if the Trains are built and coordinates added to the Train Route so the marker can be placed in the correct location on the Panel for the station it is at), that is a different animal.? For example, I have built Panels to allow me to indicate what section of track is occupied (red) and by what train(s) (using memory variables), but it has to be manually kept current.? I have also built panels that move a marker on a Layout Editor panel (to the next location on the Route) by clicking on the Conductor's "Move" button in Ops.

So, whichever way you were thinking, please clarify and someone can respond with more authority.

Phil in gorgeous Young Harris, Georgia, USA


Locked Re: loco assignments #operationspro

 

Yes, your manifest and switch lists will be updated.

Dan


Locked Re: Servos, Ardunios, and JMRI #arduino

 

Hi Bob,
Thanks for all those comments and pointers.
Since way more people are using these than I had imagined, I will try to incorporate these and test them with multiple
USB channels when I can pull everything together.

Much appreciated.
Have fun!? :-)
Best regards,
Geoff Bunza
scalemodelanimation.com


Locked Re: loco assignments #operationspro

 

Hey Dan,
Thanks, I assume that I do this edit after I build the train.Will the add show on the manifest (the pickup and the dropoff at the properly location)?
Thanks
Matt Greenwood


Locked Re: DP feature request

 

I started JMRI long before the consisting tool, and never got the habit of using it.
Which is why i never saw the option.
And training all 60 club members how to use a new tool is not trivial either. (This is a computer, bush this button to start...)

We removed the programming track from the layout system when we discovered programming mode locked out all the throttles (Easy DCC). so the other guy running bashed into the stopped train due to no control.
We have two separate programming tracks/tables/computers, with different systems. (Easy DCC, Digitraxx, SPROG, and Pi-Sprog)

Add hock consists are set with wi-throttle or Engine Driver, or on the EasyDCC panel. Engine Driver is getting most of the consisting features mentioned.

Just the club scaleability issues.

But automatic consist as throttle address would still be nice on the programming tracks.

Thomas
DeSoto, TX


Locked Re: Servos, Ardunios, and JMRI #arduino

 

I think those changes will do it.

Another approach would be to pass the output stream into the listener objects, so that two separate copies of the class wouldn¡¯t be needed.

Bob

On Jul 24, 2019, at 1:21 PM, Geoffb <gbglacier@...> wrote:

If :
# get I/O connections for later
inputStream = port.getInputStream()
outputStream = port.getOutputStream()
...
outputStream.write(event.source.userName)
outputStream.write(",0")
...
outputStream.write(event.source.userName)
outputStream.write(",1")

were changed to
# get I/O connections for later
inputStreamPT = port.getInputStream()
outputStreamPT = port.getOutputStream()
...
outputStreamPT.write(event.source.userName)
outputStreamPT.write(",0")
...
outputStreamPT.write(event.source.userName)
outputStreamPT.write(",1")

and
# get I/O connections for later
inputStreamST = port.getInputStream()
outputStreamST = port.getOutputStream()
...
outputStreamST.write(event.source.userName)
outputStreamST.write(",0")
...
outputStreamST.write(event.source.userName)
outputStreamST.write(",1")

would these changes be enough to solve the problem?
--
Bob Jacobsen
rgj1927@...