¿ªÔÆÌåÓý

Date

Locked Re: MTH - No locomotive detected

Jon Miller
 

¿ªÔÆÌåÓý

On 11/27/2018 5:35 PM, Dave Hastings via Groups.Io wrote:
I have added to the roster 4 of 5 MTH PS3 DCS without problems. My headache is the response of DecoderPro "No locomotive detected (301)". This for several days.

??? I assuming you are saying the other 4 MTH engine programmed without a problem (on the main).? On one of the other lists someone had a problem with a MTH engine.? He lived closed so he took it to MTH.? They tried many time to reset but it finally took.? It seems it's really hard to reset MTH engines.? If I can remember where that was I will post

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


Locked Re: Reading and programming new BLI PRR T1 - PROBLEM

 

¿ªÔÆÌåÓý

On 11/27/2018 4:56 PM, Michael Hahn wrote:
Jim:

I am using JMRI as a stand alone programmer.? I am not using it through a DCC system.? The setup consists solely of a piece of track, Digitrax PR3, and a computer with the JMRI software on it.?

I will need to check the current output of the power supply that I am using, but it is 18 V output.? I have had trouble with power supplies of lower output (14-15 V).? The problem seems to be that JMRI is not getting a response back from the decoder (Error 308).

I tried manually selecting the Paragon3 Steam definition, but that did not solve the problem.

Michael
_._,_._,_

I had similar problems with the BLI N-Scale M1a/b when it came out a few years ago.? I was using a Digitrax PR3 and could not program nor get a clean "Read All Sheets".? I switched from a 14VDC wall wart to a 18VDC regulated one and things got better but not consistent.? So I switched to a SPROG 2 and had no problems with the BLI's after that.

-- 
John H. Reinhardt
  PRRT&HS  #8909
  C&O HS  #11530
  N-Trak   #7566 


Locked Re: Layout Editor vs Control/Panel Editor

 

In one of the earlier posts on this thread it was said that "You can flip back and forth between them (Layout Editor & Control Panel Editor) for different views and tools working on the same panel." How is that done? I have a panel I created in CPE and I'm beginning to see some advantages to working in LE (signals).

Thanks
Rummy


Locked Re: MTH - No locomotive detected

 

MTH must be programmed on the main.

Dave Hastings


On ?Tuesday?, ?November? ?27?, ?2018? ?08?:?11?:?46? ?PM? ?EST, mario.ariasy via Groups.Io <mario.ariasy@...> wrote:


Hi to all.

NCE 1.65, USB port, Windows 7 ultimate, DecoderPro 4.12 Rb6a9bb1.
I know MTH DCS is always a problem, but anyway, here's my question.
I have added to the roster 4 of 5 MTH PS3 DCS without problems. My headache is the response of DecoderPro "No locomotive detected (301)". This for several days.
I tried with address 55, cv55 = 55 then / or CV8 = 08, exit out, tilt or reboot the entire system, multiple times.
?
Can I assume that if DecoderPor definitely cant read the locomotive, the deco is dead??It's a lottery.

Thanks. Mario.


Locked MTH - No locomotive detected

 

Hi to all.

NCE 1.65, USB port, Windows 7 ultimate, DecoderPro 4.12 Rb6a9bb1.
I know MTH DCS is always a problem, but anyway, here's my question.
I have added to the roster 4 of 5 MTH PS3 DCS without problems. My headache is the response of DecoderPro "No locomotive detected (301)". This for several days.
I tried with address 55, cv55 = 55 then / or CV8 = 08, exit out, tilt or reboot the entire system, multiple times.
?
Can I assume that if DecoderPor definitely cant read the locomotive, the deco is dead??It's a lottery.

Thanks. Mario.


Locked Re: Reading and programming new BLI PRR T1 - PROBLEM

 

Your PR3 is the standalone programmer and in this case it's the DCC system, not JMRI.

Will the decoder identify if you "Read type from decoder"?
Having you tried selecting a different programming mode (direct should be default)?
You are actually selecting the Paragon 3 "Steam" definition and not the 'Rolling Thunder" definition?

On Tue, Nov 27, 2018 at 03:56 PM, Michael Hahn wrote:
Jim:

I am using JMRI as a stand alone programmer.? I am not using it through a DCC
system.? The setup consists solely of a piece of track, Digitrax PR3, and a
computer with the JMRI software on it.?

I will need to check the current output of the power supply that I am using,
but it is 18 V output.? I have had trouble with power supplies of lower
output (14-15 V).? The problem seems to be that JMRI is not getting a
response back from the decoder (Error 308).

I tried manually selecting the Paragon3 Steam definition, but that did not
solve the problem.

Michael
--
Peter Ulvestad

JMRI Users Group Moderator - ( )
Tam Valley Group Moderator - ( )
Sprog-DCC Group Moderator - ( )
Edmonton Model Railroad Association -


Locked Re: CROSSOVERS

 

Thanks Dave,

I'll watch out for that when I'm ready to implement.

Andy

On 11/27/2018 4:29 PM, Dave Sand wrote:
Andy,

The short answer: JMRI does not.

As far as JMRI knows, it is just two parallel tracks. Since only one train can be in the gauntlet it needs to be protected like a single track line.

The initial inclination is to treat the gauntlet as one block. That leads to a lot of potential issues relating to block routing, signaling and automation.

It is a lot cleaner to declare the gauntlet as two blocks. Depending on the requirements this may require Logix. For basic signaling the SSL or SML needs to look at both blocks.

Dave Sand


On Nov 27, 2018, at 5:55 PM, Andy Reichert <andy_r@...> wrote:

Just an off the wall thought from a not yet active user, triggered by this thrread

Hows does JMRI view gauntlet track sections?

Andy

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






Locked Re: CROSSOVERS

 

Andy,

The short answer: JMRI does not.

As far as JMRI knows, it is just two parallel tracks. Since only one train can be in the gauntlet it needs to be protected like a single track line.

The initial inclination is to treat the gauntlet as one block. That leads to a lot of potential issues relating to block routing, signaling and automation.

It is a lot cleaner to declare the gauntlet as two blocks. Depending on the requirements this may require Logix. For basic signaling the SSL or SML needs to look at both blocks.

Dave Sand

On Nov 27, 2018, at 5:55 PM, Andy Reichert <andy_r@...> wrote:

Just an off the wall thought from a not yet active user, triggered by this thrread

Hows does JMRI view gauntlet track sections?

Andy

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





Locked Re: CROSSOVERS

 

Dave,

Minor quibble: Cross-overs do not ¡°require" two turnouts. Whether one switch machine with linkages, two switch machines driven by one turnout command or two JMRI turnouts and two switch machines is an implementation decision.

Dave Sand

On Nov 27, 2018, at 5:32 PM, Dave Roberts <dccdaveroberts@...> wrote:

Dave,

Once again, thank you for your insight. I believe that you may be correct in your supposition - Wood and Trees springs to mind!

If the appropriate Signals are also considered at the initial stage of the layout design then that would explain some of the apparent anomalies and these, as you suggest, are to eliminate accidental Pairing of Turnouts.

However, since Crossovers require two Turnouts then it does follow that, just as with Slips, the Crossovers, when selected, should also be allowed to select the "Additional Name¡± field too.

I think it is still worth pursuing the request to have this change applied to the Tool Bar of the Layout Editor.

Dave.

On 27 Nov 2018, at 21:25, Dave Sand <ds@...> wrote:

Dave,

It appears to me that you are assigning an attribute to position A that does not exist. A to D are track segment connection points and provide a handy means of identifying the routes through a cross-over or slip, such as A <--> B.

JMRI knows that the point ends for a left hand cross-over are at B and D. And are at A and C for a right hand cross-over.

On the tool bar, the "Additional Name" field is only active for slips. They require two turnouts. I don¡¯t know the reasoning behind the design. One thought is that requiring explicit actions in the Edit screen to select the additional turnout eliminates accidental turnout pairs.

Dave Sand


On Nov 27, 2018, at 2:23 PM, Dave Roberts <dccdaveroberts@...> wrote:

Dave,

Thank you for the explanation. I understand the convention being used to identify the attached Blocks and see the underlying logic.

What I am also seeing in the actual icons used for both RH and LH Crossovers in the Tool Bar of the Layout Editor is a breakdown in the logic. With the RH Crossover icon position A is identified as the Top LH corner and this is correctly shown as being on the Throat of the Turnout. As you say, going clockwise, A & B are on one route and C & D are on a separate route.

It is not possible to repeat this for the LH Crossover - using the Throat of the turnout as A - without placing A at the Top RH Corner and reversing the direction. Given that this may prove to be problematic to implement and the fact that the Blue is only to identify the 'Start Position A' in the sequence then it should not matter which connection is made first so long as the pairings are maintained.

With regard to the Turnout Name and Associated Turnout Name fields. In the Tool Bar of the Layout Editor when I select a Crossover I am allowed to enter a Name in the Turnout Name field but I cannot select the Associated Turnout field and enter data here. This is in line with the Notes that say there is usually only one turnout in the Turnout Table since both turnouts are operated as one, at the same time. However, this is a connection that JMRI need to be aware of. This is dealt with using the Turnout Editor where this Associated Turnout can be edited in. I was just asking that the Field in the Tool Bar of Layout Editor be changed so that the Alternative Turnout's Name can be added here too.

A final thank you for the Mac keystroke info. I'll try this when I get to the next Crossover/Slip/Double Crossover.

Dave


Locked Re: CROSSOVERS

 

Just an off the wall thought from a not yet active user, triggered by this thrread

Hows does JMRI view gauntlet track sections?

Andy

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


Locked Re: CROSSOVERS

 

¿ªÔÆÌåÓý

Dave,

Once again, thank you for your insight. I believe that you may be correct in your supposition - Wood and Trees springs to mind!

If the appropriate Signals are also considered at the initial stage of the layout design then that would explain some of the apparent anomalies and these, as you suggest, are to eliminate accidental Pairing of Turnouts.?

However, since Crossovers require two Turnouts then it does follow that, just as with Slips, the Crossovers, when selected, should also be allowed to select the "Additional Name¡± field too.

I think it is still worth pursuing the request to have this change applied to the Tool Bar of the Layout Editor.

Dave.

On 27 Nov 2018, at 21:25, Dave Sand <ds@...> wrote:

Dave,

It appears to me that you are assigning an attribute to position A that does not exist. ?A to D are track segment connection points and provide a handy means of identifying the routes through a cross-over or slip, such as A <--> B.

JMRI knows that the point ends for a left hand cross-over are at B and D. ?And are at A and C for a right hand cross-over.

On the tool bar, the "Additional Name" field is only active for slips. ??They require two turnouts. ?I don¡¯t know the reasoning behind the design. ?One thought is that requiring explicit actions in the Edit screen to select the additional turnout eliminates accidental turnout pairs.

Dave Sand


On Nov 27, 2018, at 2:23 PM, Dave Roberts <dccdaveroberts@...> wrote:

Dave,

Thank you for the explanation. I understand the convention being used to identify the attached Blocks and see the underlying logic.

What I am also seeing in the actual icons used for both RH and LH Crossovers in the Tool Bar of the Layout Editor is a breakdown in the logic. With the RH Crossover icon position A is identified as the Top LH corner and this is correctly shown as being on the Throat of the Turnout. As you say, going clockwise, A & B are on one route and C & D are on a separate route.

It is not possible to repeat this for the LH Crossover - using the Throat of the turnout as A - without placing A at the Top RH Corner and reversing the direction. Given that this may prove to be problematic to implement and the fact that the Blue is only to identify the 'Start Position A' in the sequence then it should not matter which connection is made first so long as the pairings are maintained.

With regard to the Turnout Name and Associated Turnout Name fields. In the Tool Bar of the Layout Editor when I select a Crossover I am allowed to enter a Name in the Turnout Name field but I cannot select the Associated Turnout field and enter data here. This is in line with the Notes that say there is usually only one turnout in the Turnout Table since both turnouts are operated as one, at the same time. However, this is a connection that JMRI need to be aware of. This is dealt with using the Turnout Editor where this Associated Turnout can be edited in. I was just asking that the Field in the Tool Bar of Layout Editor be changed so that the Alternative Turnout's Name can be added here too.

A final thank you for the Mac keystroke info. I'll try this when I get to the next Crossover/Slip/Double Crossover.

Dave





Locked Re: Extra slow panel file loading

 

Just because only a few folks are impacted seriously is no excuse for unconcern that some seemingly 'minor' changes may have seriously reduced performance.
Maybe. But the changes that were added also (probably) had some positive effect on somebody else, perhaps many many somebody elses. That¡¯s (likely) why those changes were made.

I understand that in an open source project such as JMRI, code wins. I.e. arguing for one idea or another is a useless waste of hot air unless one is actually willing to either code up the change he desires, or convince a developer to do it.
That¡¯s a false dichotomy. There are other alternatives. For example, figure out how to make a (repeatable) measurement of it, and then post the results for every test release. Not just when it¡¯s considered a problem, every release. That would make slow change visible so that people would (likely) pay attention.

Right now, a degradation of performance for 10 sensors would get a lot of attention, because there are a lot of layouts like that. But 1000 sensors is rare. If somebody expects attention to a rare configuration, perhaps they could put some effort into making that attention easier.

Bob
(Who has twice spent time creating big PRs to improve the performance of JMRI on that specific layout)

--
Bob Jacobsen
rgj1927@...


Locked Re: Reading and programming new BLI PRR T1 - PROBLEM

 

Jim:

I am using JMRI as a stand alone programmer.? I am not using it through a DCC system.? The setup consists solely of a piece of track, Digitrax PR3, and a computer with the JMRI software on it.?

I will need to check the current output of the power supply that I am using, but it is 18 V output.? I have had trouble with power supplies of lower output (14-15 V).? The problem seems to be that JMRI is not getting a response back from the decoder (Error 308).

I tried manually selecting the Paragon3 Steam definition, but that did not solve the problem.

Michael


Locked Re: CROSSOVERS

 

Dave,

It appears to me that you are assigning an attribute to position A that does not exist. A to D are track segment connection points and provide a handy means of identifying the routes through a cross-over or slip, such as A <--> B.

JMRI knows that the point ends for a left hand cross-over are at B and D. And are at A and C for a right hand cross-over.

On the tool bar, the "Additional Name" field is only active for slips. They require two turnouts. I don¡¯t know the reasoning behind the design. One thought is that requiring explicit actions in the Edit screen to select the additional turnout eliminates accidental turnout pairs.

Dave Sand

On Nov 27, 2018, at 2:23 PM, Dave Roberts <dccdaveroberts@...> wrote:

Dave,

Thank you for the explanation. I understand the convention being used to identify the attached Blocks and see the underlying logic.

What I am also seeing in the actual icons used for both RH and LH Crossovers in the Tool Bar of the Layout Editor is a breakdown in the logic. With the RH Crossover icon position A is identified as the Top LH corner and this is correctly shown as being on the Throat of the Turnout. As you say, going clockwise, A & B are on one route and C & D are on a separate route.

It is not possible to repeat this for the LH Crossover - using the Throat of the turnout as A - without placing A at the Top RH Corner and reversing the direction. Given that this may prove to be problematic to implement and the fact that the Blue is only to identify the 'Start Position A' in the sequence then it should not matter which connection is made first so long as the pairings are maintained.

With regard to the Turnout Name and Associated Turnout Name fields. In the Tool Bar of the Layout Editor when I select a Crossover I am allowed to enter a Name in the Turnout Name field but I cannot select the Associated Turnout field and enter data here. This is in line with the Notes that say there is usually only one turnout in the Turnout Table since both turnouts are operated as one, at the same time. However, this is a connection that JMRI need to be aware of. This is dealt with using the Turnout Editor where this Associated Turnout can be edited in. I was just asking that the Field in the Tool Bar of Layout Editor be changed so that the Alternative Turnout's Name can be added here too.

A final thank you for the Mac keystroke info. I'll try this when I get to the next Crossover/Slip/Double Crossover.

Dave


Locked Re: NCE Light-IT decoders used with JMRI for Signals - Issue is Programming Addresses and Outputs for Signal Heads

 

Dave, thanks so much. It all works perfectly now. My mainline and spur signals respond to the train movements. My next challenge will be signaling the crossovers. I may need more blocks defined. Cheers. Mike

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Dave Sand
Sent: Tuesday, November 27, 2018 2:28 PM
To: [email protected]
Subject: Re: [jmriusers] NCE Light-IT decoders used with JMRI for Signals - Issue is Programming Addresses and Outputs for Signal Heads

Mike,

In the signal head table, select Add.

Change "Double Output" to "DCC Signal Decoder" (you may need to scroll up).
Set System to NCE.
Type in the address that you assigned to a Light-It.
Check the "Offset Address" box.
If you entered user names for the virtual heads, leave the user name field blank.
Select Create.

If your layout connection is active and working, then changing the appearance in the table should change the lights on the head.

If the SSL was created using user names, then you can move the user name from the virtual head to the real head. If the virtual head did not have a user name, them you will need to re-create the SSL. This also applies to the panel icons.


Dave Sand



On Nov 27, 2018, at 12:27 PM, michelplouffe4748@... wrote:

Dave, thanks for the high level explanation. My problem is the values that I have to set in the decoder itself to set it to receive messages from JMRI, i.e. the address of the decoder and the cv values for each output. I am programming them via signal mode on my handheld. Secondly, once I have set those values in the decoder, how do I transfer that information to the JMRI tables. In other words, what corresponding values do I set in the signal head table to match the 3 outputs of the signal decoder? I really need an example of steps to take. Cheers. Mike from Canada

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Dave Sand
Sent: Tuesday, November 27, 2018 11:49 AM
To: [email protected]
Subject: Re: [jmriusers] NCE Light-IT decoders used with JMRI for Signals - Issue is Programming Addresses and Outputs for Signal Heads

Is the Light-It configured as a mobile, accessory or signal decoder? For signal head purposes, signal decoder is recommended.

When the signal head is defined, "DCC Signal Decoder" is selected, the hardware address is entered and "Offset Address" is selected. Depending on the connection type and command station, the "Offset Address¡± option may or may not be required.

BTW: Signal masts and signal mast logic work fine with Light-It. The Light-Its are driven by signal heads and the signal mast is defined as a "Signal Head Controlled Mast" with the proper signal heads assigned.


Dave Sand



On Nov 27, 2018, at 10:10 AM, michelplouffe4748@... wrote:

I am in the process of building a signal system for my HO Layout using NCE Light-It decoders. My system is a NCE Powerhouse Pro hooked up to a desktop computer via a serial cable I am running JMRI version 4.12 and have built a Panel with the track plan including "Internal" signals. I have programmed the signals with SSL and all works fine when I run an engine through the blocks on my physical layout. The signal heads on the panel give the correct aspect on the 3 color signal heads. Now, I am ready to replace one by one each "internal" signal head with a BLMA signal on the layout itself.To do this, I program the Light-It Decoder to the same address (IHXX) as the internal signal and set the 3 outputs (CV 137,138,139) on the decoder to show a steady on "value of 1" effect. At this point, I am lost as to how to set the signal head table for the Light-IT decoder in JMRI. I tried hooking up a BLMA signal on my workbench with the Light-It tied to the cab bus and programmed the same signal address in the decoder and the 3 outputs as I had in the Internal signal but it failed to replicate the virtual signal indication. Can someone take me through all the steps needed to program the Light-It decoder in JMRI. I am not using signal masts as I have a decoder for each signal head. Thanks. Cheers. Mike from Canada






Locked Re: Extra slow panel file loading

 

¿ªÔÆÌåÓý

Balazs,

If I understand this correctly JMRI is able to keep up with the layout OK. Even during initialization the new input buffer prevents dropping messages. The OPS question has to do with why loading of the panel files (tables?) takes a lot longer now than it used to for the same or similar files. I don't have files big enough to notice this, but apparently some change or changes have been degrading the JMRI performance by serious amounts. If the load times double or triple on a panel that loads in 5 seconds, then no one is going to scream and jump up and down. However on a system large enough to take 2 minutes and it suddenly changes to 5-6 minutes, then it is very easy to see. Just because only a few folks are impacted seriously is no excuse for unconcern that some seemingly 'minor' changes may have seriously reduced performance.

I remember not too long ago that some developer added a process that prechecked font styles to see if they were mono spaced or variable width. Instead of doing this one time and storing the results, it was (is?) done every time that JMRI is started. On my specific system this prevented me from operating properly for several minutes each and every time I restarted the system. What was even more frustrating is that this was apparently done to save time when doing some specific operation that as far as I know I have never even used.

I understand that in an open source project such as JMRI, code wins. I.e. arguing for one idea or another is a useless waste of hot air unless one is actually willing to either code up the change he desires, or convince a developer to do it. There is an unfortunate down side to this. If some one does add some new 'feature' that slows down JMRI, he is not accountable to anyone to not do that, or to find a better way to do that. I'm afraid, that as it stands now, if any change doesn't effect the author himself enough to bother him on his own layout, then nothing will happen to correct it.

Understand of course that this message itself is simply more hot air, because I'm not a programmer, and have no way to convince any of them one way or another. I'm not even capable of understanding what sorts of things are involved. I just need to take the word of those that have done the research and seen JMRI slow down from one release to another.

Dick :)

On 11/27/2018 3:01 PM, Balazs Racz wrote:



On Sun, Nov 25, 2018 at 8:48 PM Bob Jacobsen <rgj1927@...> wrote:
Very impressive group of components!

IIRC, when JMRI is connected to OpenLCB CAN, each new Sensor or Turnout will cause a few (3-4) messages on the wire. Each new OpenLCB-connected signal is probably a few more.? Even at 1000 messages/second, the file below looks like a full wire for 15 seconds or more.

Any thoughts on where JMRI needs work to stay ahead of that?? (Not talking about slow; asking about not able to keep up, i.e. dropping messages, etc)

Yeah, good point, we had quite a major problem about that a while ago. Right now JMRI performs infinite length input buffering ()?on the reader thread of the serial CAN adapter so that when the layout thread is behind in consuming the messages, we are still not losing data. This is good enough to catch bursts of traffic like startup, layout startup (with a similar number of messages), startup of another JMRI machine, GIE messages, CDI downloads and maybe firmware uploads, etc.??

It won't help if we have a permanently 100% loaded bus. At that point the only thing we can do is improve the performance of message processing inside JMRI so that it can keep up with the wire speed. That's probably going to be a major undertaking with far-reaching consequences that are hard to estimate right now: we may have to revise the threading model to take openlcb message processing off the AWT thread; we may have to add filtering and optimized lookup data structures to route messages; we may have to revise the TrafficController component and/or how the Sensor, Turnout, Mast objects interact with it.

This is all for incoming traffic.

For outgoing traffic, we will always be limited to producing traffic (to the network) roughly at the same speed as we are able to process that on the layout thread, unless we do some of that major surgery. I think the file above takes about 27 seconds to generate all outgoing startup events when writing to network (not throttled by a CAN bus). Exact stats are 56 olcb signal masts, 447 olcb turnouts, 1278 olcb sensors.

Balazs


?

Bob

> On Nov 24, 2018, at 3:16 AM, Balazs Racz <balazs.racz@...> wrote:
>
> Here are the statistics from Leo's file. Given that they have almost 30 panels, averaging about 300-500 kbytes, it's not super surprising that the file size is large.
> Here are the toplevel entries in the file, how many lines and bytes within them:
>
> [lines] [bytes] [toplevel tag]
> 9 369? ?</jmriversion>
> 4688 152618? ?</sensors>
> 13572 475930? ?</sensors>
> 199 8660? ?</turnouts>
> 514 22581? ?</turnouts>
> 4818 179016? ?</turnouts>
> 4669 129238? ?</memories>
> 4100 148110? ?</signalmasts>
> 14071 774815? ?</oblocks>
> 7167 557358? ?</warrants>
> 1080 43248? ?</signalmastlogics>
> 2129 123542? ?</logixs>
> 17092 1913210? ?</conditionals>
> 1365 93844? ?</paneleditor>
> 944 68485? ?</paneleditor>
> 1135 104049? ?</paneleditor>
> 1394 100462? ?</paneleditor>
> 1577 112003? ?</paneleditor>
> 8103 567587? ?</paneleditor>
> 8085 586349? ?</paneleditor>
> 9089 521530? ?</paneleditor>
> 1841 128889? ?</paneleditor>
> 4046 283386? ?</paneleditor>
> 6838 473988? ?</paneleditor>
> 22295 1347682? ?</paneleditor>
> 1136 93124? ?</paneleditor>
> 8723 581088? ?</paneleditor>
> 8372 519126? ?</paneleditor>
> 354 23946? ?</paneleditor>
> 600 40767? ?</paneleditor>
> 249 16619? ?</paneleditor>
> 2909 210890? ?</paneleditor>
> 18106 1054396? ?</paneleditor>
> 1573 117227? ?</paneleditor>
> 4229 276282? ?</paneleditor>
> 1597 122579? ?</paneleditor>
> 505 36567? ?</paneleditor>
> 5689 395440? ?</paneleditor>
> 4049 281057? ?</paneleditor>
> 5302 367983? ?</paneleditor>
> 2846 200725? ?</paneleditor>
> 20327 1205349? ?</paneleditor>
> 102 3864? ?</filehistory>
> 227490 lines 14464076 bytes
>
> As for the load time, I have observed extreme load times for openlcb layout files myself as well and fixed the openlcb load speed as of 4.13.5.
>
>
> On Wed, Oct 31, 2018 at 12:40 AM leo pesce <lpescester@...> wrote:
> Ken,
>
> A few thousands of (all together) sensors, turnouts, blocks and logix. About 2K external data points and many Ks of active icons.
>
> 99% of standard icons and a few custom ones.
>
> BTW, this is the Cumberland West of David Parks.
>
> LeoP
>
> On Tue, Oct 30, 2018 at 3:30 PM Ken Cameron <kcameron@...> wrote:
> LeoP,
>
> How many sensors, turnouts, blocks, and logix are there? Do you have a lot
> of custom graphic files, or just the system standard stuff?
>
> Yes that is a lot of panels. And you are right, presuming the file has not
> changed (size) over the period, it has jumped a bunch on time, and that's
> not right.
>
> -Ken Cameron, Member JMRI Dev Team
>
>
>
>
>
>
>
>
>
>
>
>
>

--
Bob Jacobsen
rgj1927@...







Locked Re: CROSSOVERS

 

Dave,

Thank you for the explanation. I understand the convention being used to identify the attached Blocks and see the underlying logic.

What I am also seeing in the actual icons used for both RH and LH Crossovers in the Tool Bar of the Layout Editor is a breakdown in the logic. With the RH Crossover icon position A is identified as the Top LH corner and this is correctly shown as being on the Throat of the Turnout. As you say, going clockwise, A & B are on one route and C & D are on a separate route.

It is not possible to repeat this for the LH Crossover - using the Throat of the turnout as A - without placing A at the Top RH Corner and reversing the direction. Given that this may prove to be problematic to implement and the fact that the Blue is only to identify the 'Start Position A' in the sequence then it should not matter which connection is made first so long as the pairings are maintained.

With regard to the Turnout Name and Associated Turnout Name fields. In the Tool Bar of the Layout Editor when I select a Crossover I am allowed to enter a Name in the Turnout Name field but I cannot select the Associated Turnout field and enter data here. This is in line with the Notes that say there is usually only one turnout in the Turnout Table since both turnouts are operated as one, at the same time. However, this is a connection that JMRI need to be aware of. This is dealt with using the Turnout Editor where this Associated Turnout can be edited in. I was just asking that the Field in the Tool Bar of Layout Editor be changed so that the Alternative Turnout's Name can be added here too.

A final thank you for the Mac keystroke info. I'll try this when I get to the next Crossover/Slip/Double Crossover.

Dave


Locked Re: Extra slow panel file loading

 



On Sun, Nov 25, 2018 at 8:48 PM Bob Jacobsen <rgj1927@...> wrote:
Very impressive group of components!

IIRC, when JMRI is connected to OpenLCB CAN, each new Sensor or Turnout will cause a few (3-4) messages on the wire. Each new OpenLCB-connected signal is probably a few more.? Even at 1000 messages/second, the file below looks like a full wire for 15 seconds or more.

Any thoughts on where JMRI needs work to stay ahead of that?? (Not talking about slow; asking about not able to keep up, i.e. dropping messages, etc)

Yeah, good point, we had quite a major problem about that a while ago. Right now JMRI performs infinite length input buffering ()?on the reader thread of the serial CAN adapter so that when the layout thread is behind in consuming the messages, we are still not losing data. This is good enough to catch bursts of traffic like startup, layout startup (with a similar number of messages), startup of another JMRI machine, GIE messages, CDI downloads and maybe firmware uploads, etc.??

It won't help if we have a permanently 100% loaded bus. At that point the only thing we can do is improve the performance of message processing inside JMRI so that it can keep up with the wire speed. That's probably going to be a major undertaking with far-reaching consequences that are hard to estimate right now: we may have to revise the threading model to take openlcb message processing off the AWT thread; we may have to add filtering and optimized lookup data structures to route messages; we may have to revise the TrafficController component and/or how the Sensor, Turnout, Mast objects interact with it.

This is all for incoming traffic.

For outgoing traffic, we will always be limited to producing traffic (to the network) roughly at the same speed as we are able to process that on the layout thread, unless we do some of that major surgery. I think the file above takes about 27 seconds to generate all outgoing startup events when writing to network (not throttled by a CAN bus). Exact stats are 56 olcb signal masts, 447 olcb turnouts, 1278 olcb sensors.

Balazs


?

Bob

> On Nov 24, 2018, at 3:16 AM, Balazs Racz <balazs.racz@...> wrote:
>
> Here are the statistics from Leo's file. Given that they have almost 30 panels, averaging about 300-500 kbytes, it's not super surprising that the file size is large.
> Here are the toplevel entries in the file, how many lines and bytes within them:
>
> [lines] [bytes] [toplevel tag]
> 9 369? ?</jmriversion>
> 4688 152618? ?</sensors>
> 13572 475930? ?</sensors>
> 199 8660? ?</turnouts>
> 514 22581? ?</turnouts>
> 4818 179016? ?</turnouts>
> 4669 129238? ?</memories>
> 4100 148110? ?</signalmasts>
> 14071 774815? ?</oblocks>
> 7167 557358? ?</warrants>
> 1080 43248? ?</signalmastlogics>
> 2129 123542? ?</logixs>
> 17092 1913210? ?</conditionals>
> 1365 93844? ?</paneleditor>
> 944 68485? ?</paneleditor>
> 1135 104049? ?</paneleditor>
> 1394 100462? ?</paneleditor>
> 1577 112003? ?</paneleditor>
> 8103 567587? ?</paneleditor>
> 8085 586349? ?</paneleditor>
> 9089 521530? ?</paneleditor>
> 1841 128889? ?</paneleditor>
> 4046 283386? ?</paneleditor>
> 6838 473988? ?</paneleditor>
> 22295 1347682? ?</paneleditor>
> 1136 93124? ?</paneleditor>
> 8723 581088? ?</paneleditor>
> 8372 519126? ?</paneleditor>
> 354 23946? ?</paneleditor>
> 600 40767? ?</paneleditor>
> 249 16619? ?</paneleditor>
> 2909 210890? ?</paneleditor>
> 18106 1054396? ?</paneleditor>
> 1573 117227? ?</paneleditor>
> 4229 276282? ?</paneleditor>
> 1597 122579? ?</paneleditor>
> 505 36567? ?</paneleditor>
> 5689 395440? ?</paneleditor>
> 4049 281057? ?</paneleditor>
> 5302 367983? ?</paneleditor>
> 2846 200725? ?</paneleditor>
> 20327 1205349? ?</paneleditor>
> 102 3864? ?</filehistory>
> 227490 lines 14464076 bytes
>
> As for the load time, I have observed extreme load times for openlcb layout files myself as well and fixed the openlcb load speed as of 4.13.5.
>
>
> On Wed, Oct 31, 2018 at 12:40 AM leo pesce <lpescester@...> wrote:
> Ken,
>
> A few thousands of (all together) sensors, turnouts, blocks and logix. About 2K external data points and many Ks of active icons.
>
> 99% of standard icons and a few custom ones.
>
> BTW, this is the Cumberland West of David Parks.
>
> LeoP
>
> On Tue, Oct 30, 2018 at 3:30 PM Ken Cameron <kcameron@...> wrote:
> LeoP,
>
> How many sensors, turnouts, blocks, and logix are there? Do you have a lot
> of custom graphic files, or just the system standard stuff?
>
> Yes that is a lot of panels. And you are right, presuming the file has not
> changed (size) over the period, it has jumped a bunch on time, and that's
> not right.
>
> -Ken Cameron, Member JMRI Dev Team
>
>
>
>
>
>
>
>
>
>
>
>
>

--
Bob Jacobsen
rgj1927@...







Locked Re: Reading and programming new BLI PRR T1 - PROBLEM

 

JMRI does not fall into the category of needing "NMRA Compliance".

It's your decoders and DCC system that need "NMRA Compliance". JMRI depends on the hardware being compliant. The known cases of issues programming decoders with JMRI have been traced to either the decoder or DCC system failing to adhere to "NMRA Compliance" timing standards. JMRI trusts the hardware to take care of this.

Unfortunately "NMRA Compliance" doesn't adequately cover modern Sound Decoders and that is an issue unrelated to JMRI.
--
Dave in Australia

On 28 Nov 2018, at 4:28 AM, Classic Auto Portraits <classicautoportraits@...> wrote:

While JMRI is excellent software, manufacturers such as BLI will point out that JMRI is not NMRA compliant. I've not taken the time to research what "NMRA Compliant" is...


Locked Re: Reading and programming new BLI PRR T1 - PROBLEM

 

On Tue, Nov 27, 2018 at 10:28 AM, Classic Auto Portraits wrote:



While JMRI is excellent software, manufacturers such as BLI will point
out that JMRI is not NMRA compliant. I've not taken the time to research
what "NMRA Compliant" is...

Regards,
Robert
JMRI doesn't need to be NMRA compliant. It's just a software package that supports your DCC system which hopefully is.

BLI decoders are some of the most finicky to program and I personally rate them below QSI. BLI should go back to just making locomotives and let the big boys supply decoders for them.

--
Peter Ulvestad

JMRI Users Group Moderator - ( )
Tam Valley Group Moderator - ( )
Sprog-DCC Group Moderator - ( )
Edmonton Model Railroad Association -