¿ªÔÆÌåÓý

Date

Locked Re: JMRI DecoderPro Programmer Format Question

 

Interesting question.?? You must be running a very old version of JMRI.

Having loaded 14.4? who does not show the "Programmer Format" option you mention. I have not seen that option in quite sometime.

For the longest time, that option has been defined in PREFERENCES; Roster, Roster /? Programmer.??

Advanced will add FUNCTION Labels and Roster Media tabs to your ROSTER entry.? Since I do not use Function labels or Roster Media I set my PREFERENCES, ROSTER, ROSTER / PROGRAMMER? to? Comprehensive.?

Marc


Locked Re: DCC++ Audrino current detection and block detection and colour light signalling. DIY Style

 

Hi David

Email northwest@... and ask when and where their next meeting is or when and where the next show is that they will be attending.

Cheers

Fraser

btw Pete Waterman's Leamington Spa is all connected up via CBUS modules. It's probably the most extensive use of that technology.


Locked Re: What gets saved when

 

Jerry,

On 11 Jan 2019, at 1:13 AM, JerryG via Groups.Io <jerryg2003@...> wrote:

A) ¡°Store configuration only¡± (File menu on Tools windows): Turnouts, signals, sensors, lights, memories, etc.
B) ¡±Store configuration and panels¡± (Same place as in A): All that is saved in A, plus Control Panels, Layout Panels, etc.
C) ¡±Save panels¡± (File menu on Layout or Contril Panek Editor Windows): Same as B.

Is that right?
Correct.

So no way to just Store layout and control panels separate from turnouts, sensors, etc., but a way to do the reverse.
Correct.

And, if I have this right, a clear warning is not to do A that overwrites a file stored with B or C or you will lose your layout and control panels!

Correct.
--
Dave in Australia


Locked Re: Configure DS64 tool trouble

 

I think I have a bad output #2 on my DS64. When set to Factory Default it will not operate Switch Address #2 but does 1, 3 and 4 correctly. I'll get another unit and try again.


Locked Re: DCC++ Audrino current detection and block detection and colour light signalling. DIY Style

 

This looks awesome thanks I will look in to this too. Thanks?


Locked Re: Setting serial port speed for CMRI connection to JMRI

 

Jerry,

Yes, having dead nodes in the list will kill the response time. It is
waiting and timing out for each of those. I wrote a script to enable/disable
polling per node, but now I think it is in the config page for the node.
Telling it to not bother what isn't there will make a world of difference.

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


Locked Re: Broadway ltd

 

Similar experience with NCE Power Pro (except the PTB-100 is now
powered from the NCE's 16VAC main power supply). <<<<

That has been my experience, too.

Best regards,

Steve

Steve Haas
Snoqualmie, WA


Locked Re: Setting serial port speed for CMRI connection to JMRI

 

I think Ken may have hit on the answer, although I¡¯ll have to do some more work to prove it. ?I had defined four CMRI nodes to JMRI but only hooked up two so far. ?I did this so I could define their sensors and lights into the JMRI tables. ?But from what you said, that is likely the culprit.

The results of polling of the two connected boards is fine, with results showing up in the sensors table as expected and no extra initialization messages. ?But JMRI is still polling the third and fourth boards and presumably waiting until they?time out (.25 second each?).

I¡¯ll hook up the other boards this weekend and see what happens then, but this may be what is causing the seemingly long time for JMRI to come back around to polling the active boards. ? Thanks for helping think this through.

Jerry
___________________________________
jerryg2003@...


Locked Re: JMRI with C/MRI response times

 

I've not measured the local CMRI layout to see what the timing is since
we've not had any problems. Last time I was doing any real measuring was for
Dr Chubb and I was focused on the difference of USB vs native serial ports.
That was about 10 years ago and right now I'm not sure of the details. I'd
have to take new measurements.

One thing I'm suspect of is the normal loop timing in an Arduino board. They
make it very easy to add delays and timeouts for many things as you code.
How that impacts the serial port response could also impact the whole CMRI
bus. But I've not got any of those at hand, only the OP has those and we are
relating what he is seeing vs 'normal' CMRI-JMRI interaction times.

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


Locked Re: DCC++ Audrino current detection and block detection and colour light signalling. DIY Style

 

Hi David,

my website is in Czech language, but it is simple and easily translateable by google

connection DR5000 to JMRI it is very good command station with S88 bus and extended signal packets
occupancy detector S88 DIY
Arduino feedback S88 DIY
signal Arduino decoder up to 32 aspects with extended packet
the same decoder for mode simply command stations for matrix commands ?


--
Petr ?¨ªdlo
Czech Republic


Locked Re: JMRI with C/MRI response times

 

You¡¯re assuming that thread is about normal behavior. It¡¯s not. That¡¯s why the question was being asked.

JMRI only a reasonable PC will issue about 50-100 polls a second. Most of the delay is in node-response time and USB delays; JMRI itself takes about 1-2msec to get to the next poll (it deliberately waits a little time to see if the poll¡¯s data generated any output it should send) For 10 nodes, that¡¯s about 5-10 polls a second, and there¡¯s little visible delay.

As to complexity: On one very-large layout where JMRI replaced a BASIC program, the polling rate went _up_ with the conversion; JMRI reacted significantly faster after each poll. JMRI doesn¡¯t recompute everything after every poll, only what was needed due to the changes that came in the data. Most of the time, nothing changes, and what looks like complexity to BASIC programmers turns into speed. Certainly, different people have different hobbies. Some like to write their own one-off BASIC, and that¡¯s great. Several people have made improving JMRI¡¯s C/MRI support part of their hobby, and the result of that work has been benefit to everybody who uses it.

Bob

On Jan 10, 2019, at 9:04 AM, Don Weigt <dweigt47@...> wrote:


I find it hard to believe JMRI used with C/MRI is useful if it runs that slowly. It seems useless for things like scanning control panel switches and such. If that ~ 1 second cycle is to read all input data, it's too slow. If it's for each byte? Yikes!

As I recall, C/MRI boards simply respond when polled. That should be quite fast. What's causing the delay? Is C/MRI still running in BASIC? Is JMRI so complex it's slow?

My home brew I/O cycles through all inputs and outputs in less than 250 ms. Any slower becomes very annoying. I have 8 bytes of photodetector input data, and 16 of turnout position. These need to be read frequently, or they will lag too much.

My railroad as formerly built also had about 25 output bytes. They only need to be written to for initializing and when an output changes. But, the outputting needs to be fast, or it will delay the inputting too much.

What is realistic response time for driving signals and turnouts, and reading turnout positions and occupancy detectors? Is it really several seconds, or even longer?
--
Bob Jacobsen
rgj1927@...


Locked Re: CV-18 debate CLOSED !!

 

You need to have at least been given a genuine copy of the 4004 pre-production spec for evaluation directly from Intel to be a fully paid up micro controller pioneer. :)

Andy

On 1/10/2019 7:06 AM, Nick via Groups.Io wrote:
Friends,

I have been a member of this group from the beginning. I have always been proud and happy to help whenever possible. Recently, I made a post about programming using CV 18 to create a 4-digit address with NO information about the system, interface, or the method.

I suggested a method I learned from Loy Spurlock of Loy's Toys back in 1993 using a Digitrax system with a DCS100 and a throttle.

Evidently, this suggestion was considered to be the same as reporting a flying saucer or flying monkeys .

To those members that do not know me, I apologize that you do not understand I try not to spread bad info that I have not tried and I do not make it a habit of misleading people . True, I did not think about folks that have never experimented with new technology , nor did I think I would need to provide "proof" as most member know my "reputation" , such as it is.

I truly apologize that I might have predicted the end of the world, or the possibility that the Earth is not the center of the universe. To those that I have "offended", I apologize and I will no longer attempt to assist someone on-list. For anyone interested, I have the almost 30 year-old documentation from Loy's Toys stored in my shed along with my Atari Computer with a hard drive (I was told, that couldn't be done either). I'm not going to dig it out but I have learned a lesson today that I will not forget. Accusations without investigations help no one. To be quite frank, I honestly do not care if you believe me or not.

Respectfully,
Nick Kulp


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


Locked JMRI with C/MRI response times

 

From the topic Setting serial port speed for CMRI connection to JMRI
From: Ken Cameron
Date: Thu, 10 Jan 2019 08:11:39 EST
Jerry,

Keep in mind that JMRI will poll a node then give it time to reply. Then it
gets that reply or times out before polling the next node. So how fast each
node responds adds up quick. Use the Command Monitor under CMRI to watch the
traffic and do your timings. I would take a sample to a file for 10-20
seconds. Then using Excel I'd process it and compute the delays and
specifically look for how much any single delay varies. So if a given node
usually replying in 50mSec but every now and then 300mSec, I'd be curious
why.

-Ken Cameron, Member JMRI Dev Team


I find it hard to believe JMRI used with C/MRI is useful if it runs that slowly. It seems useless for things like scanning control panel switches and such. If that ~ 1 second cycle is to read all input data, it's too slow. If it's for each byte? Yikes!
?
As I recall, C/MRI boards simply respond when polled. That should be quite fast. What's causing the delay? Is C/MRI still running in BASIC? Is JMRI so complex it's slow?
?
My home brew I/O cycles through all inputs and outputs in less than 250 ms. Any slower becomes very annoying. I have 8 bytes of photodetector input data, and 16 of turnout position. These need to be read frequently, or they will lag too much.

My railroad as formerly built also had about 25 output bytes. They only need to be written to for initializing and when an output changes. But, the outputting needs to be fast, or it will delay the inputting too much.

What is realistic response time for driving signals and turnouts, and reading turnout positions and occupancy detectors? Is it really several seconds, or even longer?


Locked Re: DCC++ Audrino current detection and block detection and colour light signalling. DIY Style

 

Many thanks for all this explination.

I'm in Manchester so if they are around there would be awesome.

Will also check out their website. Thanks


Locked Re: CV-18 debate CLOSED !!

 

It took several happenings, but I've learned to wait at least 24 hours before submitting a blast. Seems that some of our members could have used the same caution.

As he admits in his last, Nick sent a half-vast solution that works in some cases, but neglected to specify when it will or won't. He got responses, more or less emphatic, warning everybody not to try it. Then Nick got all upset because he was called out for incomplete information, and he threatens to stop helping forever.

I think this site would be more fun if all concerned had applied the 24-hour rule.

DrJolS



On Thursday, January 10, 2019, 11:28:43 AM EST, dick bronson <dick@...> wrote:


Nick,

Wait! What do you mean saying the earth is not the center of the universe?

Dick :)

On 1/10/2019 10:06 AM, Nick via Groups.Io wrote:
Friends,

I have been a member of this group from the beginning. I have always been proud and happy to help whenever possible. Recently, I made a post about programming using CV 18 to create a 4-digit address with NO information about the system, interface, or the method.?

I suggested a method I learned from Loy Spurlock of Loy's Toys back in 1993 using a Digitrax system with a DCS100 and a throttle.?

Evidently, this suggestion was considered to be the same as reporting a flying saucer or flying monkeys .

To those members that do not know me, I apologize that you do not understand I try not to spread bad info that I have not tried and I do not make it a habit of misleading people . True, I did not think about folks that have never experimented with new technology , nor did I think I would need to provide "proof" as most member know my "reputation" , such as it is.

I truly apologize that I might have predicted the end of the world, or the possibility that the Earth is not the center of the universe. To those that I have "offended", I apologize and I will no longer attempt to assist someone on-list. For anyone interested, I have the almost 30 year-old documentation from Loy's Toys stored in my shed along with my Atari Computer with a hard drive (I was told, that couldn't be done either). I'm not going to dig it out but I have learned a lesson today that I will not forget. Accusations without investigations help no one. To be quite frank, I honestly do not care if you believe me or not.

Respectfully,
Nick Kulp


Locked Re: CV-18 debate CLOSED !!

 

¿ªÔÆÌåÓý

Nick,

Wait! What do you mean saying the earth is not the center of the universe?

Dick :)

On 1/10/2019 10:06 AM, Nick via Groups.Io wrote:

Friends,

I have been a member of this group from the beginning. I have always been proud and happy to help whenever possible. Recently, I made a post about programming using CV 18 to create a 4-digit address with NO information about the system, interface, or the method.?

I suggested a method I learned from Loy Spurlock of Loy's Toys back in 1993 using a Digitrax system with a DCS100 and a throttle.?

Evidently, this suggestion was considered to be the same as reporting a flying saucer or flying monkeys .

To those members that do not know me, I apologize that you do not understand I try not to spread bad info that I have not tried and I do not make it a habit of misleading people . True, I did not think about folks that have never experimented with new technology , nor did I think I would need to provide "proof" as most member know my "reputation" , such as it is.

I truly apologize that I might have predicted the end of the world, or the possibility that the Earth is not the center of the universe. To those that I have "offended", I apologize and I will no longer attempt to assist someone on-list. For anyone interested, I have the almost 30 year-old documentation from Loy's Toys stored in my shed along with my Atari Computer with a hard drive (I was told, that couldn't be done either). I'm not going to dig it out but I have learned a lesson today that I will not forget. Accusations without investigations help no one. To be quite frank, I honestly do not care if you believe me or not.

Respectfully,
Nick Kulp


Locked Re: DCC++ Audrino current detection and block detection and colour light signalling. DIY Style

 

Hi David

Where in the UK are you? If there's a Local Area group of MERG near you I could get you in touch with them. Alternatively, you could have a look at and you should find the contact details for the various Area Group leaders. I too joined MERG for the financial advantage about four years ago and I haven't regretted it one bit. The MERG Forum is every bit as lively as this and you will get answers to any questions you pose very quickly but don't be surprised if you get answers pointing in different directions!

If you are wondering what CAN is it's Controller Area Network, the sort of network that makes everything in your car work. Modules connected to say track circuit detectors send out a message when a block becomes occupied and that can travel along the CBUS pair and 0V to the CANUSB4 that can send the messages via USB to your PC or Raspberry Pi running JMRI. JMRI can then indicate occupation of the track and set the signals behind to their correct aspects. When you click on a turnout (point) the message will go back out by USB to the USB4 and be converted into a CBUS message that then tells a module to move the servo controlling the point to the other position. I think that's the sort of thing you are looking for.

Cheers

Fraser


Locked Re: CV-18 debate CLOSED !!

 

Nick,
First I wish to publically apologize if I have offended you. Please forgive me.?
I sometimes get vehement in my opinions when I dont fully understand something. This is supposed to be fun and I particularly relish the wealth of knowledge and sharing of that knowledge that goes on here.? If I deflated some of the fun factor for you or anyone, I deeply regret it.?
I too learned something. I need to be more careful with my statements and ask questions of clarifying information rather than pounding out 'facts' as I see them.?
You no doubt have years of experience and knowledge that helps others that far exceeds anything I can contribute and I will be more careful in the future.
Please reconsider your withdrawal from posting helps. I read all the posts that come through here to try to become more familiar with this aspect of the hobby and I am familiar with your name and know I have benefitted from yours and everyones posts.
I too am just an old guy playing with trains.
This hobby needs people who are excited and who help each other and are willing to share their knowledge. Not people who squelch creativity and put down people or ideas.
That was never my intent.

Respectfully and regretfully,


Tom Wilson
Colorado Springs, CO


On Thu, Jan 10, 2019, 8:06 AM Nick via Groups.Io <cornwall9=[email protected] wrote:
Friends,

I have been a member of this group from the beginning. I have always been proud and happy to help whenever possible. Recently, I made a post about programming using CV 18 to create a 4-digit address with NO information about the system, interface, or the method.?

I suggested a method I learned from Loy Spurlock of Loy's Toys back in 1993 using a Digitrax system with a DCS100 and a throttle.?

Evidently, this suggestion was considered to be the same as reporting a flying saucer or flying monkeys .

To those members that do not know me, I apologize that you do not understand I try not to spread bad info that I have not tried and I do not make it a habit of misleading people . True, I did not think about folks that have never experimented with new technology , nor did I think I would need to provide "proof" as most member know my "reputation" , such as it is.

I truly apologize that I might have predicted the end of the world, or the possibility that the Earth is not the center of the universe. To those that I have "offended", I apologize and I will no longer attempt to assist someone on-list. For anyone interested, I have the almost 30 year-old documentation from Loy's Toys stored in my shed along with my Atari Computer with a hard drive (I was told, that couldn't be done either). I'm not going to dig it out but I have learned a lesson today that I will not forget. Accusations without investigations help no one. To be quite frank, I honestly do not care if you believe me or not.

Respectfully,
Nick Kulp


Locked Re: Programming locos with Fleischmann Twin-Center sw ver. 2.000 and DecoderPro 4.14

 

This very much could be a timing error. That¡¯s not completely consistent with what you¡¯re hearing and seeing, but it might be a start.

Could you do the following, please?

*) Open the LocoNet Monitor

*) Make sure ¡°Show Raw Data¡± and ¡°Show Timestamps¡± are checked.

*) Click clear screen, do a CV read from JMRI, and then once the timeout error happens, click Freeze Screen (to keep anything from changing)

*) Copy and paste the trace to a post here.

I can look at the timing to (possibly) see what¡¯s going on.

Also, when you read a CV from the Twin-Center keypad, does anything appear on the LocoNet monitor? If so, I¡¯d like a copy of that too.

Bob

On Jan 9, 2019, at 10:54 AM, cocco.bill.97@... wrote:

Hello Alan, reading CVs by directly using the keypad on the Twin-Center works as expected. I can hear the relay switching the program track on when I enter programming mode and all basic CVs read and write successfully on different locos.
I did some more testing with JMRI and I noticed that at times the relay clicked some (long) time after I pressed the command to read CVs on the PC but then I got the same timeout error. In this case, after the click, one time I saw the command station crash and reset itself, and another time on the console screen another error message came up regarding an unrecognized incoming loconet package. I'm sorry, in the hurry I forgot to copy-paste it this morning.
My guess would be that for some strange reason the command station takes longer to answer in programming mode when controlled via the serial port and because of this JMRI believes that the request has been lost and sends a new request, eventually hogging the buffer of the serial interface with requests, which would explain the errors broken incoming packages and the crashes on the Twin-Center. This is only my assumption based on what I saw though, I have no knowledge the internal workings of the thing, so if you know something more about it I'll be glad to be corrected.
Thank you,
--
Bob Jacobsen
rgj1927@...


Locked Re: CV-18 debate CLOSED !!

Keith
 

¿ªÔÆÌåÓý

Nick,

Hey don¡¯t take it so hard!? You have been a great inspiration to many of us during the early years of JMRI, and I for one appreciate your passion for the JMRI project, regardless of current events.?

?

I thank you for your diligence in helping get JMRI ¡°off the ground¡± so to speak.? I (for one) would not be using JMRI were it not for you and others like you.? Your original control panel created in CPE, that you shared with all of us NOOBE¡¯s ?inspired me to do the same, and it works very well.? I can¡¯t thank you enough.

?

And please, continue to assist those in need.? There are many of us, and more are arriving every day if I can believe my e-mails, lol!

?

Atentamente, (Best regards,)

?

Keith E. Williams

Project Director ¨C GM Ramos New Paint Shop

Ramos Arizpe, Mexico

?

+1 678-977-6150

?