¿ªÔÆÌåÓý

Date

Locked CMRI Baud Rate Mismatch - Dave S/ Bob J

 

Bob/Dave

I have had similar issues that John Lang has experienced with setting the CMRI baud rate in "Preferences".? ?If I set the rate to anything over 19200, the effective rate was still 19200.? Leaving my CMRI fixed this in the interim.? This seemed to occur from release 4.15.8.

After seeing Bob's last post on #7207 on GitHub, I have installed build 3393.? ?I can happily report that this has fixed the issue and I can once again run at 57600.

Thank you both for you efforts.

Regards

Scott Rose


Locked Re: Strange DP behavior

 

Jim,

It seems that you would benefit from having exactly one Roster, while being able to access it from any of several different profiles. Is that what you want to do?

Regards,
Billybob

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jim Kirwan via Groups.Io
Sent: Sunday, July 28, 2019 7:17 PM
To: [email protected]
Subject: [jmriusers] Strange DP behavior

The pgm track is to a PR-3. The main is to a Locobuffer USB. I have a profile for the pgm track (COM5 PR-3), and a profile for pgm on the main (COM4 LocoBuffer USB). I also have a profile for ops (COM4 LocoBuffer USB) .

Do I have to change the connection between the PR-3 and the Locobuffer to be able to pgm either way?

OPS mode pgm comes up with no roster entry for any loco that has a roster entry in program track roster. I also am unable to run trains on the main. Help is needed. Thanks.

Jim K


Locked Re: OpenLCB - Lights - Help - Tests for build 3335 failed.

 

Hi Tim,

To test how JMRI copes I've created a panel xml file with 5000 x OpenLCB Lights, each with 3 FastClock Light Controllers.
The hardware address increments on the final 2 byte pair on each side of the paired address.

/g/jmriusers/files/ProblemsBeingWorkedOn/Updated%20Lights%20-%20Testing/openlcb-5000-lights-3-fastclock-controllers.xml

Tested with JMRI 4.17.3ish OpenLCB CAN simulation on an i3 Win7 refurb laptop on its 4th hard drive.
Java max 76% CPU mid panel load, approx 0% - 6% CPU while running at 60x FastClock speed, left for an hour or so, no noticeable memory increment, no issues located.

While 20 CAN frames / sec isn't massive by any means, this was more of a test of the JMRI internals to ensure that it was coping well with adding that amount of Lights, initialising the fast clock listeners, time comparisons etc.
5,000 lights with 3 on times, 3 off times, 3 yesterday on times, 3 yesterday off times = 60,000 times checked per fast-clock minute change.

I loaded the panel in v 4.16 and things weren't happy, as expected.

I then tested with 4.17.1 , no errors in console log and ( simulated ) messages seen when expected in the CAN Frame console, with no obvious lag following the clock change, all immediate.

Without hardware to test with, no issues appearing in the simulation, and no intimate knowledge of OpenLCB protocol I may be the wrong person to assist,
although initially the issue was with the Light Control stuff, now that's sorted it may need someone better at OpenLCB to test with real hardware.

It would be worth knowing EXACTLY what console log messages you are getting with 4.17.2

Perhaps with real hardware connected, start by editing the test file down to 50 or so lights in case your console gets overloaded by 5000 ?
Note you need a minimum of 480 lights to get a light change EVERY fast clock minute, otherwise you'll get a gap, see the xml for the pattern.

Hope this helps,
Steve.


Locked Re: Strange DP behavior

 

Jim K,

You could make a single profile that knows both the LocoBuffer and PR3. Then
the different programmers will show a box to select which one you want to
use at that time. You can fix up the Preferences->Defaults so it picks one
or the other as the default if you don't change it after opening the
programmer.

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


Locked Strange DP behavior

 

The pgm track is to a PR-3. The main is to a Locobuffer USB. I have a profile for the pgm track (COM5 PR-3), and a profile for pgm on the main (COM4 LocoBuffer USB).? I also have a profile for ops (COM4 LocoBuffer USB) .
?
Do I have to change the connection between the PR-3 and the Locobuffer to be able to pgm either way?
?
OPS mode pgm comes up with no roster entry for any loco that has a roster entry in program track roster. I also am unable to run trains on the main. Help is needed. Thanks.
?
Jim K


Locked Re: JMRI Decoder Pro, EasyDCC, and SoundTraxx

 

Thomas,

As this is my home layout, usually operated solo, ghosting should be a non-problem, or at least minor one.

I'm hoping to have my EasyDCC connected to my new in the box Raspberry Pi 3B+, using a spare Netgear hub to communicate wirelessly with the computer running Decoder Pro. So, the cable is only one piece of the puzzle. As an old hardware hand, I'm comfortable modifying a cable. It's the software that gives me trouble!???? :--)

Don


Locked Re: Creeping locomotives (was Re: Digitrax DCS100 missing LocoNet packets

 

'Creeping Locomotives' may be a manifestation of some erroneous wording in early (circa 1997) NMRA DCC standards.

IIRC, 'Emergency Stop' was described as 'the first speed step.' When the DCC working group was queried they confirmed their wording was 'correct.' The updated DCC Standards describe emergency stop as an immediate stop.

Since locomotives that had been 'emergency stopped' were actually at the 'first speed step' they often crept. I often coached people to follow any use of emergency stop by then turning the throttle to '0' to make sure the locomotive was stopped.

I don't know if later DCS100 firmware versions ever changed this. Later throttle models actually send a '0' speed command when emergency stop is used.

HTH

Ross

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Steve_G
Sent: Sunday, July 28, 2019 5:43 PM
To: [email protected]
Subject: Re: [jmriusers] Creeping locomotives (was Re: DigiTrax DCS100 missing LocoNet packets

Hi
Speed step 1 means Emergency Stop (i.e. Stop NOW and ignore deceleration settings).
Which dcc system / command station are you using?
Steve G.


On July 28, 2019 5:20:38 PM EDT, Bob Jacobsen <rgj1927@...> wrote:
Could I ask some more info on these?

With the creeping locomotives, what kinds of decoders do they have?

On Jul 15, 2019, at 9:08 AM, Don <donmcgil@...> wrote:

BUG alert - While I am talking about the Monitor Slots Window I have
noticed that the "Estop All" button sets the locos to a speed of 1 not
0. As a result they start creeping and eventually cause issues (shorts
at turnouts, collisions derailments etc).

--
Bob Jacobsen
rgj1927@...




--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Locked Re: Controlling Servos directly connected to Arduino with DCC++ Base Station #arduino #dccpp

birmingham_rails
 

Hi Folks

I've done a project to throw 26 PECO turnouts with SG90 servos using Arduino Unos. A feature of this is to drive red/green LEDs with the Arduinos to show turnout position. No limit switches, no relays.

This uses enough pins that I can get 4 servos and 8 LEDs per Arduino.

The goal off this project is simply to replace handthrown turnouts with pushbutton remote in an industrial area where turnouts are hard for operators to reach. There is no need for connection to DCC system at these locations.

(We do have dispatcher's computer panel for 5 key mainline locations using Digitrax PR-3 , PS-64's and JMRI. We use JMRI primarily for operations and decoder set up.)

The cost is about $6 US per turnout site, including panels. Materials came via AliExpess.

The servo mounting is the "half inch aluminum channel" type found on YouTube. Thus includes a piece of steel wire which bends a bit to hold the points in place. Servos should be off between throws. This may require adjustment of throw angles.

The code was cribbed from various on line sources -- I'm not a coder, just a retired civil engineer who can adapt/figure things out.

Each Arduino is part of a "module" that include a bread board and barrier strips. There are 7 modules mounted together on a panel under the layout, below the industrial area.

The fascia mounted panels have a track schematic, one push button and two LEDs per site. The panels include barrier strips and connections to the modules are made with 4 pair communication cable - one cable for buttons, one cable for LEDs.

Adjusting servo throw is done by adjusting the code for a given module, each servo has a loop of code for it's button; each module has its own code for its 4 servos. The throw angle is given in degrees in each direction; each turnout of 26 may be adjusted separately, although this hasn't been necessary so far.

I don't know how to write servo position to Arduino's eprom. So if Arduinos are powered off, then each servo must be "waked up" next time system is powered up. Not a big deal but not very elegant, even for a dirt engineer. (Operators shouldn't leave cars parked on turnouts, but...)

So I'd like to learn how to have Arduino's remember servo position, and LEDs color when powered up.

You may see some info on this project on my YouTube channel "Birmingham Rails".

I'm glad to share code, pix, etc. if anyone is interested.

Thanks

John Stewart
Birmingham, AL


Locked Re: Creeping locomotives (was Re: DigiTrax DCS100 missing LocoNet packets

 

Hi
Missed the title. If the throttle is being shared between a real digitrax throttle and JMRI, or is just a real throttle, if you E-stop it in JMRI the real throttle will just set the speed back to where it was after a few moments. Its best not to share throttles between JMRI and a Digitrax Throttle, and Dt500/402? with expanded slots enabled, and a dcs240, dcs52 and and dcs210 can actually block JMRI from controlling the loco.
Steve G.


Locked Re: Servos, Ardunios, and JMRI #arduino

 

All,

A quick update on this - had some time this afternoon to implement the changes recommended by Geoff (namely, appending PT and ST to outputStream in the two scripts) and, after some work, I am pleased to report that the two arduinos are working as intended.

I'll have to continue to study the python scopes and namespaces to get an understanding of what is trying to be communicated, and examine other recommended solutions.

Sam


Locked Re: Creeping locomotives (was Re: DigiTrax DCS100 missing LocoNet packets

 

Hi
Speed step 1 means Emergency Stop (i.e. Stop NOW and ignore deceleration settings).
Which dcc system / command station are you using?
Steve G.

On July 28, 2019 5:20:38 PM EDT, Bob Jacobsen <rgj1927@...> wrote:
Could I ask some more info on these?

With the creeping locomotives, what kinds of decoders do they have?

On Jul 15, 2019, at 9:08 AM, Don <donmcgil@...> wrote:

BUG alert - While I am talking about the Monitor Slots Window I have
noticed that the "Estop All" button sets the locos to a speed of 1 not
0. As a result they start creeping and eventually cause issues (shorts
at turnouts, collisions derailments etc).

--
Bob Jacobsen
rgj1927@...




--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Locked Re: Duplicate panel name popup

 

Terry,

If you reply ¡°No" and then save the panel, then the next time you load it, there should only be one.

Attachments are removed from postings. On the group¡¯s web page, images can be added to an album by selecting Photos and files can be uploaded using the Files selection.


Dave Sand

On Jul 28, 2019, at 4:18 PM, Terry Metcalfe via Groups.Io <terrymetcalfe@...> wrote:

Dave,

I realise that I have two copies of ¡°My Layout¡± but how can I get rid o f one of them?


As a new user of this group imam not sure that my screen shot was seen by you. Here it is again

It isn¡¯t a major issue because if i click ¡°yes¡± or ¡°no¡± it opens the layout screen but i would prefer not to see this message

Regards

Terry
On 28 Jul 2019, at 22:02, Dave Sand <ds@...> wrote:

Terry,

The most likely cause is loading the same xml file twice in one JMRI session.

Dave Sand



On Jul 28, 2019, at 3:53 PM, Terry Metcalfe via Groups.Io <terrymetcalfe@...> wrote:


What have I done wrong and how do I avoid it?


Regards from a user in the uk

Terry.







Locked Creeping locomotives (was Re: DigiTrax DCS100 missing LocoNet packets

 

Could I ask some more info on these?

With the creeping locomotives, what kinds of decoders do they have?

On Jul 15, 2019, at 9:08 AM, Don <donmcgil@...> wrote:

BUG alert - While I am talking about the Monitor Slots Window I have noticed that the "Estop All" button sets the locos to a speed of 1 not 0. As a result they start creeping and eventually cause issues (shorts at turnouts, collisions derailments etc).
--
Bob Jacobsen
rgj1927@...


Locked Re: Duplicate panel name popup

 

Dave,

I realise that I have two copies of ¡°My Layout¡± but how can I get rid o f one of them?


As a new user of this group imam not sure that my screen shot was seen by you. Here it is again

It isn¡¯t a major issue because if i click ¡°yes¡± or ¡°no¡± it opens the layout screen but i would prefer not to see this message

Regards

Terry

On 28 Jul 2019, at 22:02, Dave Sand <ds@...> wrote:

Terry,

The most likely cause is loading the same xml file twice in one JMRI session.

Dave Sand



On Jul 28, 2019, at 3:53 PM, Terry Metcalfe via Groups.Io <terrymetcalfe@...> wrote:


What have I done wrong and how do I avoid it?


Regards from a user in the uk

Terry.







Locked Re: Duplicate panel name popup

 

Terry,

The most likely cause is loading the same xml file twice in one JMRI session.

Dave Sand

On Jul 28, 2019, at 3:53 PM, Terry Metcalfe via Groups.Io <terrymetcalfe@...> wrote:


What have I done wrong and how do I avoid it?


Regards from a user in the uk

Terry.





Locked Re: OpenLCB - Lights - Help - Tests for build 3335 failed.

 

¿ªÔÆÌåÓý

Thank you!

On 7/26/2019 9:13 AM, steve young via Groups.Io wrote:

Hi Tim,

Have been meaning to post, hadn't forgotten about you!
Not had a chance to progress this recently, family commitments + have needed to debug a few CBUS things which have cropped up.

It's still on the list of things to sort though, possibly even later this evening depending on how I get one with a hardware test.

I haven't ( yet ) doubled the OpenLCB Light panel size, however still planning on building a massive test xml programatically.

I'm aware that OpenLCB was??updated from 0.7.25 to 0.7.26 between JMRI 4.17.1 and JMRI 4.17.2,??
although you'd need to check the OpenLCB project for details on what that means!

Steve


Locked Duplicate panel name popup

 

What have I done wrong and how do I avoid it?


Regards from a user in the uk

Terry.


Locked Re: Controlling Servos directly connected to Arduino with DCC++ Base Station #arduino #dccpp

emmanuel ALLAUD
 

I did something like this, you can find it on GitHub:
To avoid the problem that the servo keeps pushing because the endpoint is a bit too far, my sketch does a "detach" when the end point is reached.
This prevent a really annoying buzz, servo wear and power consumption.
Bye
Manu

Le dim. 28 juil. 2019 17:51, Andy Reichert <andy_r@...> a ¨¦crit?:
A basic R/C servo is a machine that uses force to reach a particular set
position against any fixed or variable resistance.? It's not
specifically designed to be appropriate or convenient for model railway
turnout throw bar applications.

If you set the servo position to end with the points 0.001" away from
the stock rail, it will stop pushing entirely at that point. If you set
the position to 0.001" past the stock rail, it will continuously try to
reach that position with all the force (and current draw) it can
provide.? This mismatch can be compensated by placing a soft spring
between the servo output and the throw bar and setting the servo
position to slightly over throw the turnout in both directions.
Otherwise the turnout construction is required to be strong enough to
withstand the repeated full force of the servo, as well as being a
realistic model.

However in order to correctly set the position for a particular servo
mounting , it is most preferable to have the setting controls to hand
where you can closely observe the throw bar setting movement. This
implies, to me at least, that the setting controls are mobile.

One sobering thought is that all this extra technology can be saved for
model railway applications by merely pulling the electronics out of the
servo and driving the motor L or R directly. Again something that is
simpler to operate by an on/off bit output from JMRI controlled
hardware. It also implies that a servo without electronics should be
somewhat cheaper than a servo with electronics. But the actual landed
cost of servos in the West has a lot to do with mass production and
overseas lower wages. Which is something that cannot necessarily be
counted on indefinitely.

Andy


On 7/28/2019 6:29 AM, bluetobits wrote:
> I use servos to control turnouts on my DCC++ layout.
> It's not really practical to hack the DCC++ code to produce outputs
> that can be directly connected to servos without compromising the DCC
> timing. - at least it's way beyond my programming skills!
> The outputs from the mega can be soft and hard patched to inputs on
> one or more separate Arduinos. It is theoretically possible to control
> 10 servos with one arduino pro mini or nano, but it really helps to be
> able to calibrate the maximum and minimum throw of the servo for the
> open and closed turnout positions. To do this will require a
> potentiometer input, and a? calibrate button, perhaps an LED to
> signify calibration mode and pot wiper position, this will leave (say
> ) 8 inputs (say D11,D12 and A1-A6) from the mega and 8 turnouts (D2 to
> D9), Calibration Switch (D10) ,Calibration pot wiper (A0) & LED (D13).
> The Arduino sketch needs to scan inputs from the DCC++ mega, change
> position value for any that have changed, and output that change to
> the servo. Pressing the calibrate button allows the position value for
> the last servo moved to be re-set by changing the pot value.. The
> sketch would need to write all values to eeprom so they can be loaded
> on power-up in the setup routine.? Of course there are plenty of
> opportunities for refinements.? I am happy to upload a mini tutorial,
> sketch and wiring diags if you would like to try it. (at ?3 per
> arduino and ?1.50 per servo it's not really expensive)
> Steve 009 in UK
>



---
This email has been checked for viruses by AVG.






Locked Rookie mistake Help

 

¿ªÔÆÌåÓý

Going back over my roster I noticed unmade some mistakes in the Docoders I selected
For example on Soundtrack in stead of selecting DSD diesel I hit DSD steam?
My question beside deleting the mistake unit and reinstalling it ,is thier a way to edit the decoder selected?
Thanks for the help?
Alfredo?


Sent from my T-Mobile 4G LTE Device


Locked Duplicate panel name

 

when i open panel pro, ?i get a pop up headed ¡°Duplicate panel name¡± on top of the layout screen. ?This never used to happen. ?Something is wrong can you describe the steps to remove this popup

thanks

Terry