¿ªÔÆÌåÓý

Date

Locked Re: Testing (was JMRI 4.7.6 and apologies

 

I'm not Bob but I made a post about 2 years ago under the title The Power of Open Source, quoted below:

...
I got curious today and decided to take a look at how 'big' JMRI is, in the sense of how much work
has gone into it over the years. Now, there are a lot of different ways to quantify this but I
thought I would use a simple count of the Source Lines of Code (SLOC) as a rough measure. There is
a commonly used utility in Linux called 'sloccount' by David A. Wheeler that counts the lines of
code (not including blank lines or comments) and does an estimate of the commercial cost of development.

I took a download of the project, applied the utility using defaults and was somewhat surprised at
the results (all results rounded):

1.4 million lines of code, which it estimated would take 76 developers 5 years and cost $53,000,000.

Looking at the breakdowns, it can be argued that those results are overstated since about 60% of
that is in XML files for the decoder and programmer definitions, and those are generally easier to
create since they can be done using a lot of cut and paste and many are done by non-programmers.
Mind you, the cost estimates also used industry salary figures from 2001, so they could be
understated also.

Applying the utility to just the 'java' directory, which is where the actual program code resides,
still gave some impressive results:

Over 500 thousand lines of code, estimated as taking 44 developers 4 years and costing $22,000,000.

Cost to users: $0

This also doesn't count the effort in all the help files, manuals, web site, clinics/tutorials and
the efforts of the various people that help each other on this mailing list. I counted over 240
individuals and organizations explicitly identified on the acknowledgement page.

Not too shabby for a bunch of model railroaders.

Dennis Miller

...

On 6/24/2017 3:36 PM, Donald Perla donperla@... [jmriusers] wrote:
Bob,
To give people some idea of how large the JMRI program is could you tell us how many lines of code there are ?
Don

On Jun 23, 2017, at 7:01 PM, Bob Jacobsen rgj1927@... [jmriusers] <jmriusers@...> wrote:


On Jun 22, 2017, at 2:55 AM, leo pesce lpescester@... <mailto:lpescester@...> [jmriusers] <jmriusers@... <mailto:jmriusers@...>> wrote:

First apologies for my tirade about the new version. I could have been more
tactful.
Thanks.

But I¡¯d like to address, again, a misapprehension you have, and perhaps others have:

On Jun 20, 2017, at 9:39 AM, leo pesce lpescester@... <mailto:lpescester@...> [jmriusers] <jmriusers@... <mailto:jmriusers@...>> wrote:
I wish there was a better attention to detail when it comes to "whatever"
releases, ie. releasing versions that "break" a lot of stuff, in the
attempt to fix or improve something else.
We run _tens_ _of_ _thousands_ of tests on every release. The most recent release, for example, ran over 28,000 tests. Those were repeated on macOS, Windows and Linux; with and without attached screens; they include reading and checking over 150 different XML files from different JMRI versions with different panel configurations. We run these _every_ _time_ somebody proposes a change to the code. We also run tests on the results after each update to the code, not just on test releases. Many people have put huge effort into making making this automatic, and making sure that any problems found are fixed.

But clearly problems do sneak through. In large part, that¡¯s why we have test releases.

Clearly, you think that ¡°the developers¡± should do better so that test releases are perfect. But for large parts of JMRI, ¡°the developers¡± is a misnomer: large parts of JMRI have _one_ person working on them. (Some have nobody working on them anymore, but they tend to not change hence not break)

Sometimes that person is really interested in code testing. Dan Boudreau, who¡¯s written greater than 99% of the Operations code, is that way. There are hundreds of tests in that area to make sure that problems don¡¯t get into test releases. The update I¡¯m currently working on in the CTC area has more new lines in the tests than in the actual code. Several people who work on JMRI even write some of their tests before they write the code itself!

But not everybody is that way. Some features, like the NX Warrants you mentioned, have just one person working on it, and that person¡¯s style is to spend most of their time on code changes. Sometimes, those changes break things away from the part that¡¯s being worked on. With automated pre-written tests you can see that and fix them before the code goes out; without those, problems away from where the work is being done might not get noticed until users encounter them later in a release.

Note: it¡¯s _absolutely_ _OK_ for people to work on JMRI code that way, because without encouraging & enabling that person to work in the style they find most efficient, you would never have had the feature in the first place.

But this means that we¡¯ve only got about 1/3 of the code tested automatically.

So what to do? Test releases are created so people can contribute to JMRI by _testing_ them. And, when those tests find things, often/usually somebody will dig in and fix them.

So I agree with you that we need to pay ¡°better attention to detail¡±. But the ¡°we¡± in that sentence _specifically_ _includes_ _you_. When a test release comes out, _test_ the features you consider important. Do it in a safe environment, so you don¡¯t have to "restage 35 trains manually¡±. Then, if you find something wrong, make a positive comment and help anybody who _volunteers_ to fix it.

Or even better: Provide some automated tests of the features that you think aren¡¯t being tested enough before release.

It¡¯s up to you. If you want to be able to use new features in JMRI, get involved in testing related changes as JMRI evolves so that production releases are clean. Or expect that you¡¯ll be sticking with something that doesn¡¯t have new features. Either approach should work pretty well.

Or you could stick with the misapprehension that you should never see a problem in a test release because ¡°this here is cupcakes¡±. To me, that approach seems destined to make you repeatedly unhappy, but I guess everybody gets to pick their own hobby...

Bob

--
Bob Jacobsen
rgj1927@... <mailto:rgj1927@...>

------------------------------------
Posted by: Donald Perla <donperla@...>
------------------------------------
------------------------------------
Yahoo Groups Links


Locked Re: Transfer one JMRI Loco File to another Model so both locos are identical

 

Yorkshire Dale,

I have one Loco File that I want another Loco to be identical to, how do I do this<<<
Open the roster entry that you want to duplicate.

Now look for a menu option under one of the tabs or pull down menus that says "Duplicate"'. Click that option and follow the prompts. Change the ID of the new entry and save to roster. Open the new roster entry & make changes to the roster entry. When done, save the roster entry again, put the target engine on the programming track and write all sheets.

The above is not a detailed step by step approach, but more of a genera
Guidance. I'm on the road and don't access to DP to write a detailed reply, but this should be enough to guide you to a successful conclusion - some details may vary, but this is the general direction.

Let me know how this works for you.

Best regards,

Steve Haas
On the road in Antioch, IL


Locked Re: Testing (was JMRI 4.7.6 and apologies

 

Hi Bob & JMRI developers.
I would like to express my appreciation for the whole development team for
the great effort you all put into making JMRi stronger and richer in
functionalities. I myself had some problems in the past with the software,
and people here helped a lot to find a solution (which I found by myself,
anyways) to solve a particular issue with my setup, but the insights I
received were very useful to address the solution path.
I would say that this community could not be better in attending users in
need. I doubt a commercial software house would have better goodwill and
rate of success in troubleshooting.
The last release of the software solved two big problems that were
harassing me since a long time:
1) A java issue that prevented tables windows to open and VSD to work
2) Layout panels in Engine Driver didn't work properly as I could not press
on the turnouts circles to throw them in my Samsung S6
Now both problems seem to have vanished and I'm a very happy JMRi user.
Thank you a lot!

Regards

Roberto

2017-06-23 20:01 GMT-03:00 Bob Jacobsen rgj1927@... [jmriusers] <
jmriusers@...>:




On Jun 22, 2017, at 2:55 AM, leo pesce lpescester@... [jmriusers] <
jmriusers@...> wrote:

First apologies for my tirade about the new version. I could have been
more
tactful.
Thanks.

But I¡¯d like to address, again, a misapprehension you have, and perhaps
others have:

On Jun 20, 2017, at 9:39 AM, leo pesce lpescester@... [jmriusers] <
jmriusers@...> wrote:
I wish there was a better attention to detail when it comes to "whatever"
releases, ie. releasing versions that "break" a lot of stuff, in the
attempt to fix or improve something else.
We run _tens_ _of_ _thousands_ of tests on every release. The most recent
release, for example, ran over 28,000 tests. Those were repeated on macOS,
Windows and Linux; with and without attached screens; they include reading
and checking over 150 different XML files from different JMRI versions with
different panel configurations. We run these _every_ _time_ somebody
proposes a change to the code. We also run tests on the results after each
update to the code, not just on test releases. Many people have put huge
effort into making making this automatic, and making sure that any problems
found are fixed.

But clearly problems do sneak through. In large part, that¡¯s why we have
test releases.

Clearly, you think that ¡°the developers¡± should do better so that test
releases are perfect. But for large parts of JMRI, ¡°the developers¡± is a
misnomer: large parts of JMRI have _one_ person working on them. (Some have
nobody working on them anymore, but they tend to not change hence not break)

Sometimes that person is really interested in code testing. Dan Boudreau,
who¡¯s written greater than 99% of the Operations code, is that way. There
are hundreds of tests in that area to make sure that problems don¡¯t get
into test releases. The update I¡¯m currently working on in the CTC area has
more new lines in the tests than in the actual code. Several people who
work on JMRI even write some of their tests before they write the code
itself!

But not everybody is that way. Some features, like the NX Warrants you
mentioned, have just one person working on it, and that person¡¯s style is
to spend most of their time on code changes. Sometimes, those changes break
things away from the part that¡¯s being worked on. With automated
pre-written tests you can see that and fix them before the code goes out;
without those, problems away from where the work is being done might not
get noticed until users encounter them later in a release.

Note: it¡¯s _absolutely_ _OK_ for people to work on JMRI code that way,
because without encouraging & enabling that person to work in the style
they find most efficient, you would never have had the feature in the first
place.

But this means that we¡¯ve only got about 1/3 of the code tested
automatically.

So what to do? Test releases are created so people can contribute to JMRI
by _testing_ them. And, when those tests find things, often/usually
somebody will dig in and fix them.

So I agree with you that we need to pay ¡°better attention to detail¡±. But
the ¡°we¡± in that sentence _specifically_ _includes_ _you_. When a test
release comes out, _test_ the features you consider important. Do it in a
safe environment, so you don¡¯t have to "restage 35 trains manually¡±. Then,
if you find something wrong, make a positive comment and help anybody who
_volunteers_ to fix it.

Or even better: Provide some automated tests of the features that you
think aren¡¯t being tested enough before release.

It¡¯s up to you. If you want to be able to use new features in JMRI, get
involved in testing related changes as JMRI evolves so that production
releases are clean. Or expect that you¡¯ll be sticking with something that
doesn¡¯t have new features. Either approach should work pretty well.

Or you could stick with the misapprehension that you should never see a
problem in a test release because ¡°this here is cupcakes¡±. To me, that
approach seems destined to make you repeatedly unhappy, but I guess
everybody gets to pick their own hobby...

Bob

--
Bob Jacobsen
rgj1927@...



Locked Re: Testing (was JMRI 4.7.6 and apologies

 

Bob,

To give people some idea of how large the JMRI program is could you tell us how many lines of code there are ?

Don

On Jun 23, 2017, at 7:01 PM, Bob Jacobsen rgj1927@... [jmriusers] <jmriusers@...> wrote:


On Jun 22, 2017, at 2:55 AM, leo pesce lpescester@... <mailto:lpescester@...> [jmriusers] <jmriusers@... <mailto:jmriusers@...>> wrote:

First apologies for my tirade about the new version. I could have been more
tactful.
Thanks.

But I¡¯d like to address, again, a misapprehension you have, and perhaps others have:

On Jun 20, 2017, at 9:39 AM, leo pesce lpescester@... <mailto:lpescester@...> [jmriusers] <jmriusers@... <mailto:jmriusers@...>> wrote:
I wish there was a better attention to detail when it comes to "whatever"
releases, ie. releasing versions that "break" a lot of stuff, in the
attempt to fix or improve something else.
We run _tens_ _of_ _thousands_ of tests on every release. The most recent release, for example, ran over 28,000 tests. Those were repeated on macOS, Windows and Linux; with and without attached screens; they include reading and checking over 150 different XML files from different JMRI versions with different panel configurations. We run these _every_ _time_ somebody proposes a change to the code. We also run tests on the results after each update to the code, not just on test releases. Many people have put huge effort into making making this automatic, and making sure that any problems found are fixed.

But clearly problems do sneak through. In large part, that¡¯s why we have test releases.

Clearly, you think that ¡°the developers¡± should do better so that test releases are perfect. But for large parts of JMRI, ¡°the developers¡± is a misnomer: large parts of JMRI have _one_ person working on them. (Some have nobody working on them anymore, but they tend to not change hence not break)

Sometimes that person is really interested in code testing. Dan Boudreau, who¡¯s written greater than 99% of the Operations code, is that way. There are hundreds of tests in that area to make sure that problems don¡¯t get into test releases. The update I¡¯m currently working on in the CTC area has more new lines in the tests than in the actual code. Several people who work on JMRI even write some of their tests before they write the code itself!

But not everybody is that way. Some features, like the NX Warrants you mentioned, have just one person working on it, and that person¡¯s style is to spend most of their time on code changes. Sometimes, those changes break things away from the part that¡¯s being worked on. With automated pre-written tests you can see that and fix them before the code goes out; without those, problems away from where the work is being done might not get noticed until users encounter them later in a release.

Note: it¡¯s _absolutely_ _OK_ for people to work on JMRI code that way, because without encouraging & enabling that person to work in the style they find most efficient, you would never have had the feature in the first place.

But this means that we¡¯ve only got about 1/3 of the code tested automatically.

So what to do? Test releases are created so people can contribute to JMRI by _testing_ them. And, when those tests find things, often/usually somebody will dig in and fix them.

So I agree with you that we need to pay ¡°better attention to detail¡±. But the ¡°we¡± in that sentence _specifically_ _includes_ _you_. When a test release comes out, _test_ the features you consider important. Do it in a safe environment, so you don¡¯t have to "restage 35 trains manually¡±. Then, if you find something wrong, make a positive comment and help anybody who _volunteers_ to fix it.

Or even better: Provide some automated tests of the features that you think aren¡¯t being tested enough before release.

It¡¯s up to you. If you want to be able to use new features in JMRI, get involved in testing related changes as JMRI evolves so that production releases are clean. Or expect that you¡¯ll be sticking with something that doesn¡¯t have new features. Either approach should work pretty well.

Or you could stick with the misapprehension that you should never see a problem in a test release because ¡°this here is cupcakes¡±. To me, that approach seems destined to make you repeatedly unhappy, but I guess everybody gets to pick their own hobby...

Bob

--
Bob Jacobsen
rgj1927@... <mailto:rgj1927@...>


Locked Re: Transfer one JMRI Loco File to another Model so both locos are identical

 

What I did was select ?the locomotive ?i wanted to copy?Select ?'Duplicate loco' from the menu.Edit the duplicate entry ?to the road number of locomotive you want to program?Put the locomotive you want to program on the programming track.Select write all sheets.

Sent from Yahoo Mail on Android

On Sat, Jun 24, 2017 at 2:06 PM, yorkshiredale@... [jmriusers]<jmriusers@...> wrote: ?
Transfer one JMRI Loco File to another Model so both locos are identical,


I have one Loco File that I want another Loco to be identical to, how do I do this.








#yiv3236498044 #yiv3236498044 -- #yiv3236498044ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv3236498044 #yiv3236498044ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv3236498044 #yiv3236498044ygrp-mkp #yiv3236498044hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv3236498044 #yiv3236498044ygrp-mkp #yiv3236498044ads {margin-bottom:10px;}#yiv3236498044 #yiv3236498044ygrp-mkp .yiv3236498044ad {padding:0 0;}#yiv3236498044 #yiv3236498044ygrp-mkp .yiv3236498044ad p {margin:0;}#yiv3236498044 #yiv3236498044ygrp-mkp .yiv3236498044ad a {color:#0000ff;text-decoration:none;}#yiv3236498044 #yiv3236498044ygrp-sponsor #yiv3236498044ygrp-lc {font-family:Arial;}#yiv3236498044 #yiv3236498044ygrp-sponsor #yiv3236498044ygrp-lc #yiv3236498044hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv3236498044 #yiv3236498044ygrp-sponsor #yiv3236498044ygrp-lc .yiv3236498044ad {margin-bottom:10px;padding:0 0;}#yiv3236498044 #yiv3236498044actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv3236498044 #yiv3236498044activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv3236498044 #yiv3236498044activity span {font-weight:700;}#yiv3236498044 #yiv3236498044activity span:first-child {text-transform:uppercase;}#yiv3236498044 #yiv3236498044activity span a {color:#5085b6;text-decoration:none;}#yiv3236498044 #yiv3236498044activity span span {color:#ff7900;}#yiv3236498044 #yiv3236498044activity span .yiv3236498044underline {text-decoration:underline;}#yiv3236498044 .yiv3236498044attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv3236498044 .yiv3236498044attach div a {text-decoration:none;}#yiv3236498044 .yiv3236498044attach img {border:none;padding-right:5px;}#yiv3236498044 .yiv3236498044attach label {display:block;margin-bottom:5px;}#yiv3236498044 .yiv3236498044attach label a {text-decoration:none;}#yiv3236498044 blockquote {margin:0 0 0 4px;}#yiv3236498044 .yiv3236498044bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv3236498044 .yiv3236498044bold a {text-decoration:none;}#yiv3236498044 dd.yiv3236498044last p a {font-family:Verdana;font-weight:700;}#yiv3236498044 dd.yiv3236498044last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv3236498044 dd.yiv3236498044last p span.yiv3236498044yshortcuts {margin-right:0;}#yiv3236498044 div.yiv3236498044attach-table div div a {text-decoration:none;}#yiv3236498044 div.yiv3236498044attach-table {width:400px;}#yiv3236498044 div.yiv3236498044file-title a, #yiv3236498044 div.yiv3236498044file-title a:active, #yiv3236498044 div.yiv3236498044file-title a:hover, #yiv3236498044 div.yiv3236498044file-title a:visited {text-decoration:none;}#yiv3236498044 div.yiv3236498044photo-title a, #yiv3236498044 div.yiv3236498044photo-title a:active, #yiv3236498044 div.yiv3236498044photo-title a:hover, #yiv3236498044 div.yiv3236498044photo-title a:visited {text-decoration:none;}#yiv3236498044 div#yiv3236498044ygrp-mlmsg #yiv3236498044ygrp-msg p a span.yiv3236498044yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv3236498044 .yiv3236498044green {color:#628c2a;}#yiv3236498044 .yiv3236498044MsoNormal {margin:0 0 0 0;}#yiv3236498044 o {font-size:0;}#yiv3236498044 #yiv3236498044photos div {float:left;width:72px;}#yiv3236498044 #yiv3236498044photos div div {border:1px solid #666666;min-height:62px;overflow:hidden;width:62px;}#yiv3236498044 #yiv3236498044photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv3236498044 #yiv3236498044reco-category {font-size:77%;}#yiv3236498044 #yiv3236498044reco-desc {font-size:77%;}#yiv3236498044 .yiv3236498044replbq {margin:4px;}#yiv3236498044 #yiv3236498044ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv3236498044 #yiv3236498044ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv3236498044 #yiv3236498044ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv3236498044 #yiv3236498044ygrp-mlmsg select, #yiv3236498044 input, #yiv3236498044 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv3236498044 #yiv3236498044ygrp-mlmsg pre, #yiv3236498044 code {font:115% monospace;}#yiv3236498044 #yiv3236498044ygrp-mlmsg * {line-height:1.22em;}#yiv3236498044 #yiv3236498044ygrp-mlmsg #yiv3236498044logo {padding-bottom:10px;}#yiv3236498044 #yiv3236498044ygrp-msg p a {font-family:Verdana;}#yiv3236498044 #yiv3236498044ygrp-msg p#yiv3236498044attach-count span {color:#1E66AE;font-weight:700;}#yiv3236498044 #yiv3236498044ygrp-reco #yiv3236498044reco-head {color:#ff7900;font-weight:700;}#yiv3236498044 #yiv3236498044ygrp-reco {margin-bottom:20px;padding:0px;}#yiv3236498044 #yiv3236498044ygrp-sponsor #yiv3236498044ov li a {font-size:130%;text-decoration:none;}#yiv3236498044 #yiv3236498044ygrp-sponsor #yiv3236498044ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv3236498044 #yiv3236498044ygrp-sponsor #yiv3236498044ov ul {margin:0;padding:0 0 0 8px;}#yiv3236498044 #yiv3236498044ygrp-text {font-family:Georgia;}#yiv3236498044 #yiv3236498044ygrp-text p {margin:0 0 1em 0;}#yiv3236498044 #yiv3236498044ygrp-text tt {font-size:120%;}#yiv3236498044 #yiv3236498044ygrp-vital ul li:last-child {border-right:none !important;}#yiv3236498044


[Non-text portions of this message have been removed]


Locked Transfer one JMRI Loco File to another Model so both locos are identical

 

Transfer one JMRI Loco File to another Model so both locos are identical,


I have one Loco File that I want another Loco to be identical to, how do I do this.


Locked JMRI Dapol Black Label A4

 

Hi,


Has anybody been able to get JMRI to recognise the new Dapol Black Label A4's, I believe the decoder is a Broadway Limited Imports which has been modified for Dapol.


Regards


Waz


Locked Having Problems adding sensors to table JMRI 4.7.6

 

Having Problems adding sensors to table JMRI 4.7.6


Creating new Panel
MacOS Sierra V10.12.3
LenZ LVZ100
Able to add Turnouts


When trying to add new sensors Hardware Address (519) getting an error message ¡°Could not create Sensor ¡°X2S519¡± to add it. Check that number/name is ok.


Installed previous Test Version JMRI 4.7.5 and was able to
add sensor but had errors when installing panel developed in JMRI 4.7.6


Thanks

Olen


Locked JMRI Throttle Jerks When Slowing Down

 

I have a problem with one of the Throttles I created. I user four Throttles at the same time. They operate just fine but one causes the engine to stop or jerk when slowing down. IF I slow down by two or three steps at a time all is OK but if I go from 50% to say 25 % it will stop and then start at the desired speed. If use the Hand Controller, it operates fine. Only on the JMRI Throttle do I have this problem. I am running 128 speed steps on all and wonder if something in the settings, of that unit is some how not set correctly. I am talking about the CV's in the Roster for that locomotive. I am using a NCE Power Pro and again it operates fine from it's controller.

The Loco is a BLI M1 and I have a BLI L1 which operates just fine.. Ont thing I notice is if I put either BLI Loco on the program track and do just a ¡°read¡± it sometimes changes some of the CV's, which I manually change back to what I want. This leaves me to believe something changes that I am not aware of and is the problem. I also use a Ardunio Packet Monitor and do not see any packets commanding a stop when going from 50 to 25%. This occurs any where on the layout and again the NCE Hand Controller works just fine.

I know this is a bit lengthy but wanted to convey all information which may be relevant.

Thanks Glenn in Delaware.


Locked Programming CVs>256 with an NCE Power Pro.

 

The first thing you need to do is update to a current version on JMRI. Using an old version of JMRI risks CV corruption with a Power Pro.

Please tell us what brand and model of decoder you are trying to program?

If you are using ESU LokSound decoders, a current version of JMRI will work around the problem for you.

If you are using any other brand, you will need to read the decoder in Program Track mode, save the roster entry and reopen it in Program on Main mode. The NCE Power Pro will program all CVs correctly in Program on Main mode.

DO NOT attempt to use the Pro Cab to program CVs>256 in Program Track mode. To do so will corrupt other CVs in the decoder.

On 22 Jun 2017, at 11:35 AM, s.w.yount@... [jmriusers] <jmriusers@...> wrote:

I have a 4.2.1. JMRI and I am having problems programming CVs 200 - 500 . I have a NCE PowerPro system (not a Power Cab). What do I need to do to get these CVs programmed?
--
Dave in Australia


Locked Re: Trouble with JMRI throttle

 

Please start a new topic when asking a new question, not hijack an existing thread. Doing so makes it difficult for us to help you and creates problems for the assistance on the existing thread.

It will answer this on a new topic
--
Dave in Australia

On 22 Jun 2017, at 11:35 AM, s.w.yount@... [jmriusers] <jmriusers@...> wrote:

I have a 4.2.1. JMRI and I am having problems programming CVs 200 - 500 . I have a NCE PowerPro system (not a Power Cab). What do I need to do to get these CVs programmed?


Locked Re: new user questions

 

I always after setting all the CV on the individual screens and writing them to the decoder go to the screen that lists all the CVs and ask it to read back from the decoder just to make certain CVs have been written. Find there is an issue with an odd CV on TCS decoders that does not read/write properly all the time and it has to forced to change, either through persisiting with the program or doing it via the dcc handset.


Using an alternative similar decoder profile will be okay - as an example for a while their was no decoder profile for the Lenz Standard so I used the Lenz Silver profile - some CVs obviously could not be written as they did not exist in the decoder but no harm resulted. If you are wary read back all CVs as above and check them individually against the manual to be certain none are weird.


Mike


Locked Re: new user questions

 

Joe,

I believe the TTX decoders were rebadged NCE decoders. I'd look for something of similar vintage and maybe form factor in the NCE definitions.

HTH,
Steve
"Breezlys"

---In jmriusers@..., <Joebrann@...> wrote :


2. I have a Tony Train Exchange RS-2 decoder that I installed in 2002 but
that decoder doesn't not show up on the decoder list nor to any of the TTX
decoders. Any suggestion of what to do would be appreciated


Locked Re: new user questions

 

Joe, writing changes on sheet will write the changes you made on the sheet
on the screen. Writing changes on all sheets is handy if you make a lot of
changes on different sheets, such as if you changed values on the sound
sheet and the CV sheet and speed table sheet. You can make all the changes
you want on any pages, and then click write changes on all sheets. Just
makes things a bit easier than making a change on sheet one, writing that
sheet, then making changes on sheet two and writing that sheet.

Another thing you may want to do when you add a new locomotive to your
roster, once you have made all the changes you want to make, and written
the sheets, is to have DecoderPro read all sheets. That way, all of your
setting are saved by DecoderPro, and if you decoder looses its mind, you
can go to DecoderPro had have it rewrite everything to your locomotive.
Especially helpful if you do a lot of complicated changes from the factory
settings.

Jerry michels


Locked new user questions

 

I just started using Decoder Pro last night and am impressed with the
intuitiveness of the GUI and the consistency of the intuitiveness. I easily
rosterred my first engine/decoder last night an all went well. Thanks

But I still have some questions.

1. What is the difference between "Write changes on sheet" and Write
changes on all sheets"

Today I worked on getting two more engines/decoders installed into Decoder
Pro and ran into a few questions.

2. I have a Tony Train Exchange RS-2 decoder that I installed in 2002 but
that decoder doesn't not show up on the decoder list nor to any of the TTX
decoders. Any suggestion of what to do would be appreciated

3 Another decoder is a TCS MC2P-S1. I can only find a TCS MC2 decoder in
the list. For the purposes of Decoder Pro are these the same decoders?

thanks

Joe Brann
owner/chief engineer
Susquehanna Valley Line (HO-scale) _www.svl-rr.com_
()
Orlando, Florida


Locked Testing (was JMRI 4.7.6 and apologies

 

On Jun 22, 2017, at 2:55 AM, leo pesce lpescester@... [jmriusers] <jmriusers@...> wrote:

First apologies for my tirade about the new version. I could have been more
tactful.
Thanks.

But I¡¯d like to address, again, a misapprehension you have, and perhaps others have:

On Jun 20, 2017, at 9:39 AM, leo pesce lpescester@... [jmriusers] <jmriusers@...> wrote:
I wish there was a better attention to detail when it comes to "whatever"
releases, ie. releasing versions that "break" a lot of stuff, in the
attempt to fix or improve something else.
We run _tens_ _of_ _thousands_ of tests on every release. The most recent release, for example, ran over 28,000 tests. Those were repeated on macOS, Windows and Linux; with and without attached screens; they include reading and checking over 150 different XML files from different JMRI versions with different panel configurations. We run these _every_ _time_ somebody proposes a change to the code. We also run tests on the results after each update to the code, not just on test releases. Many people have put huge effort into making making this automatic, and making sure that any problems found are fixed.

But clearly problems do sneak through. In large part, that¡¯s why we have test releases.

Clearly, you think that ¡°the developers¡± should do better so that test releases are perfect. But for large parts of JMRI, ¡°the developers¡± is a misnomer: large parts of JMRI have _one_ person working on them. (Some have nobody working on them anymore, but they tend to not change hence not break)

Sometimes that person is really interested in code testing. Dan Boudreau, who¡¯s written greater than 99% of the Operations code, is that way. There are hundreds of tests in that area to make sure that problems don¡¯t get into test releases. The update I¡¯m currently working on in the CTC area has more new lines in the tests than in the actual code. Several people who work on JMRI even write some of their tests before they write the code itself!

But not everybody is that way. Some features, like the NX Warrants you mentioned, have just one person working on it, and that person¡¯s style is to spend most of their time on code changes. Sometimes, those changes break things away from the part that¡¯s being worked on. With automated pre-written tests you can see that and fix them before the code goes out; without those, problems away from where the work is being done might not get noticed until users encounter them later in a release.

Note: it¡¯s _absolutely_ _OK_ for people to work on JMRI code that way, because without encouraging & enabling that person to work in the style they find most efficient, you would never have had the feature in the first place.

But this means that we¡¯ve only got about 1/3 of the code tested automatically.

So what to do? Test releases are created so people can contribute to JMRI by _testing_ them. And, when those tests find things, often/usually somebody will dig in and fix them.

So I agree with you that we need to pay ¡°better attention to detail¡±. But the ¡°we¡± in that sentence _specifically_ _includes_ _you_. When a test release comes out, _test_ the features you consider important. Do it in a safe environment, so you don¡¯t have to "restage 35 trains manually¡±. Then, if you find something wrong, make a positive comment and help anybody who _volunteers_ to fix it.

Or even better: Provide some automated tests of the features that you think aren¡¯t being tested enough before release.

It¡¯s up to you. If you want to be able to use new features in JMRI, get involved in testing related changes as JMRI evolves so that production releases are clean. Or expect that you¡¯ll be sticking with something that doesn¡¯t have new features. Either approach should work pretty well.

Or you could stick with the misapprehension that you should never see a problem in a test release because ¡°this here is cupcakes¡±. To me, that approach seems destined to make you repeatedly unhappy, but I guess everybody gets to pick their own hobby...

Bob

--
Bob Jacobsen
rgj1927@...


Locked Re: Surprise!!

 

If you have an NCE Power Cab system, it is possible that your system is being affected by a series of incorrectly-supplied cab bus transceiver chips that can lock up in certain power-up circumstances.

The symptom will be a stuck-on Cab Bus LED on your NCE USB, which may be able to be cleared by unplugging all Cab Bus cables from your Power Cab Panel (PCP) and trying different sequences of replugging the cables.

A permanent fix is a modification (by you or NCE) to your PCP. See this link for more information:
<>
--
Dave in Australia

On 23 Jun 2017, at 12:25 PM, 'Bill Aulicino' bill@... [jmriusers] <jmriusers@...> wrote:

I recently dove into my JMRI installation and all went well......for a while. I managed to list about thirty of my locos on the roster but when I opened the software yesterday and turned on my NCE DCC
system the software will not communicate with the DCC system. It just displays a notification (in red) that NCE is offline and nothing I have tried will reestablish communications between the two.
Has any one in this group ever experienced this situation and what did you do to resolve it? By the way the DCC system works fine in all other respects. Thanks in advance.
Bill Aulicino


Locked Re: WiThrottle Questions.

 

The maximum number of simultaneous trains that can be controlled by a Power Pro system is 250. If all 250 locos have non-zero speed, the command station will be continually sending speed commands to all 250 moving locos, as required by the DCC standard. But this will not affect the response time of an individual loco to a keypress or speed change since a changed speed command or function command to a particular loco will "jump the queue". Response time will only be affected if many users are making changes to speed or function state simultaneously.

All active NCE cabs are polled in a (not necessarily numerically ordered) sequence and even with the limit of 63 physical cabs and the case of all cabs having a status change to report, this polling loop takes no more than 275ms.

There is no limit to the number of JMRI cabs that can be connected (although the 250 simultaneously active locos limit still applies) and only speed changes or function state changes are transmitted, so response times are unlikely to be a problem.

Your WiFi router will limit the number of WiThrottle devices connected and this limit will depend on the router you purchase.
--
Dave in Australia

On 23 Jun 2017, at 1:44 AM, yooper_from_49827@... [jmriusers] <jmriusers@...> wrote:

Question 1. Does anyone have any experience with what the upper limit of users might be? Occasionally there is a slight delay but I don't know if that is the WiFi, the JMRI interface, or the NCE system causing it. I would like to know where the maximum user limit is before I run into it.


We use mostly NCE ProCabs with radio, nothing tethered. We are now reaching the maximum of 16 ProCabs in use.


Locked Re: Elementary question about system requirements

 

Perry,

Before even considering whether the machine is capable of running JMRI (It probably is), you should get it running right.

From your description it sounds like some malware may have hijacked your browser. I'd start by disabling the browser from opening at startup and go from there with a good AV scan, MAB, etc. If it's infected too badly, nuke the drive and reinstall the OS.

HTH,
Steve
"Breezlys"



---In jmriusers@..., <texasperry@...> wrote :

Mike, my last comment may not have made any sense. The Dell XPS laptop kept locking up trying to open a web browser page. I have no idea why it was trying to load the page. But, it would lock up. I would go to task manager and it would say program not responding. I would click close and program and it would start right back up. I would like to upgrade this machine to be able to use win 10. It may be fine as is for JMRI. But I worry about it working with some of the new stuff coming out for DCC. I have not decided on using Digitrax or NCE on my layout. I have both systems now. I bought the power cab to use at my bench but may use it on my layout. Thanks againPerry


Locked Re: Elementary question about system requirements

Jon Miller
 

/On 6/23/2017 7:18 AM, Perry A Pollino texasperry@...
[jmriusers] wrote://
/
/The Dell XPS laptop kept locking up trying to open a web browser page.
I have no idea why it was trying to load the page. But, it would lock
up. I would go to task manager and it would say program not
responding. I would click close and program and it would start right
back up. /
I have similar problems but they pertain to internet speed, mainly
from a Hughes net connection. If you disconnect from the net and load
JMRI as the home page, what happens?

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