¿ªÔÆÌåÓý

Date

Locked Re: Layout Editor - Is it possible to copy a section of an existing panel and place it on a new panel #layouteditor

 

¿ªÔÆÌåÓý

Guys,
You need to remove the word "save" from your vocabulary. It has been replaced with the word "store".

Ken




On 4/5/2020 10:23 AM, whmvd wrote:

Don,

But:
1) can you load both panels at the same time (without errors in the log) and operate the layout through both? What I thought I knew about PanelPro makes me think that that's not going to go smoothly, with loads of duplicate definitions.
2) can you save them independently? (that, I think, is totally impossible).
3) can you recover from what happened at 2)?

I would distrust this very, very much, but I hope to be wrong - and learn something.

Wouter


On Sun, 5 Apr 2020 at 15:07, Don Weigt <dweigt47@...> wrote:
Brendan,

There probably are many ways to make smaller panels. There may be a preferred way using Panel Editor. Here's a "generic" way.

I just now went into the Windows "folder" (directory) where my panels are stored, made a test copy of it there, and renamed it for one town on the layout. Then I started Layout Editor and tried Open Panels. The renamed copy was listed.

When I opened the copy, it reported a few errors. These were related to an incomplete area at one end of the panel. The messages were a bit confusing, as they said definitions didn't match between two files of the same name. I had to use Options/Rename Panel, to make the displayed name at the top of the open test panel match the file's name in the folder. All the related data for turnouts, detectors, and LEDs seemed to be attached.

Then, I saved the test panel the usual way, and it was ready for editing, including deleting portions that weren't needed for showing and operating this one town. After deleting more than half the original panel's objects, then saving the copy, I "deleted" the file to close it, and quit JMRI. When I restarted JMRI and reopened the test panel, it opened without errors.

Don Weigt
Connecticut


Locked Re: Using VSDecoder with multiple configuration profiles #vsdecoder

 

The error appeared as soon as I pressed ¡®Add Decoder¡¯ on the Manager screen.
--
Mike Heintzman
Modeling the P&PU since 1953


Locked Re: Layout Editor - Is it possible to copy a section of an existing panel and place it on a new panel #layouteditor

 

On Sun, Apr 5, 2020 at 11:25 AM, Ken Cameron wrote:
1. Open the panel file, edit the LE pane name, save it as a new file name.
2. Edit the LE pane name again, to another new name, save panel with a
different new name.
3. Exit JMRI.
4. Start JMRI and load original panel file.
5. Load the first new named file.
6. Load the second new named file.
7. Check that you have three LE panes with different names.
8. Save this panel file to a new name.
9. Start cutting out all the parts from the second two LE panes of the parts
they don't need.
10. Save this to another new name.
11. Exit JMRI and reload with the newest file name.
Ken,? to try to answer the original poster, I was experimenting with edit, save, load files, but I had errors. I had missed the critical step of changing the TITLE of the (sub)panel before storing the panel as a new FILENAME (in Layout Editor, it it "Options/Edit Title"). Thanks for clarifying the steps.? Should work well now.

Phil in gorgeous Young Harris, Georgia, USA


Locked Re: Layout Editor - Is it possible to copy a section of an existing panel and place it on a new panel #layouteditor

 

Woody:

Errrm.... no. While I totally agree that Notepad isn't up to the task of serious XML editing, that is not a reason.

Wouter


On Sun, 5 Apr 2020 at 16:33, Woody Hodge <dhodge@...> wrote:
Brendan,

Do Not use Windows Notepad on the XML file, it messes up the CR/LF (carriage return / line feed) characters which will make it unusable.? There are other free editors that you can use that will not do that.? I use Notepad++

Woody


Locked Re: Controlling signal heads #merg #signalmasts

 

Hi Pete,

Setting a CBUS Turnout to Thrown sends the CBUS ON Event,
setting a CBUS Turnout to Closed sends the CBUS OFF Event.

In the edit Signal Mast window, on the Right-hand side of each Turnout select dropdown is the Set State dropdown,
which can be changed between Thrown / Closed.

I've got all of mine set to Thrown, thereby sending the appropriate On Event when the Signal Mast aspect changes.

The state can be inverted at many points in the chain, ( there are at least 7 ways of doing this just in JMRI !! )
though I prefer to set it at event source wherever possible.
If you really need to invert a CBUS Turnout, select that option in the Turnout Table.

Hoping the CANLED integration is going well,

Steve.


Locked Re: Layout Editor - Is it possible to copy a section of an existing panel and place it on a new panel #layouteditor

 

Brendan,

Do Not use Windows Notepad on the XML file, it messes up the CR/LF (carriage return / line feed) characters which will make it unusable.? There are other free editors that you can use that will not do that.? I use Notepad++

Woody


Locked Re: Layout Editor - Is it possible to copy a section of an existing panel and place it on a new panel #layouteditor

 

To get around the duplicate name errors and to keep track of things, you
could:

1. Open the panel file, edit the LE pane name, save it as a new file name.
2. Edit the LE pane name again, to another new name, save panel with a
different new name.
3. Exit JMRI.
4. Start JMRI and load original panel file.
5. Load the first new named file.
6. Load the second new named file.
7. Check that you have three LE panes with different names.
8. Save this panel file to a new name.
9. Start cutting out all the parts from the second two LE panes of the parts
they don't need.
10. Save this to another new name.
11. Exit JMRI and reload with the newest file name.

See how this works out. Key is keeping the names different for the panes.
For the sake of JMRI I try to make sure I only cut out parts in the two
secondary panes. While I've done this using an XML editor, this is the
better way than copying part of the file and editing the names in the
layoutpanel parts. All the extra in between files are to make it easy to
step back one step if something goes wrong. I've had work sessions where
I've created over 20 copies to track my changes. Yes a lot of save, exit,
restart cycles. But it gives the least amount of lost work.

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


Locked Re: Layout Editor - Is it possible to copy a section of an existing panel and place it on a new panel #layouteditor

 

Wouter,

Each panel in a xml file is self contained, but is depends on shared data. ?The icons and other panel items "refer" to the shared data.

There is one area where a panel creates shared data. ?When a block is assigned to a track component, a "LayoutBlock" is created if necessary. ?It adds additional capability to blocks, such as occupied track color. ?The block assignment process also creates or updates a block "path". ?The path data is used to create layout block routing which is the basis for signal mast logic, entry exit, Dispatcher, etc. ?This requires that sub-panels have the exact same track and block arrangements for the duplicated trackage.


Dave Sand



----- Original message -----
From: whmvd <vandoornw@...>
Subject: Re: [jmriusers] Layout Editor - Is it possible to copy a section of an existing panel and place it on a new panel
Date: Sunday, April 05, 2020 9:23 AM

Don,

But:
1) can you load both panels at the same time (without errors in the log) and operate the layout through both? What I thought I knew about PanelPro makes me think that that's not going to go smoothly, with loads of duplicate definitions.
2) can you save them independently? (that, I think, is totally impossible).
3) can you recover from what happened at 2)?

I would distrust this very, very much, but I hope to be wrong - and learn something.

Wouter


On Sun, 5 Apr 2020 at 15:07, Don Weigt <dweigt47@...> wrote:
Brendan,

There probably are many ways to make smaller panels. There may be a preferred way using Panel Editor. Here's a "generic" way.

I just now went into the Windows "folder" (directory) where my panels are stored, made a test copy of it there, and renamed it for one town on the layout. Then I started Layout Editor and tried Open Panels. The renamed copy was listed.

When I opened the copy, it reported a few errors. These were related to an incomplete area at one end of the panel. The messages were a bit confusing, as they said definitions didn't match between two files of the same name. I had to use Options/Rename Panel, to make the displayed name at the top of the open test panel match the file's name in the folder. All the related data for turnouts, detectors, and LEDs seemed to be attached.

Then, I saved the test panel the usual way, and it was ready for editing, including deleting portions that weren't needed for showing and operating this one town. After deleting more than half the original panel's objects, then saving the copy, I "deleted" the file to close it, and quit JMRI. When I restarted JMRI and reopened the test panel, it opened without errors.

Don Weigt
Connecticut





Locked Re: Turnouts still displaying block occupancy from reassigned block detectors

 

John,

Looked at the panel file. It seems somehow you have some normal left or
right hand turnouts but they have block name entries for b, c, and d which
would be only correct for crossovers. Was the panel file ever edited by hand
outside of JMRI? That's the simplest way for this to happen. Like the type=
got changed but the extra block entries did not get removed.

Inside JMRI you'd have to delete the one type of turnout to be able to
create the other type of turnout. AFAIK you can't change the turnout type.
If it started life as a left hand, it stays that, etc... even though you can
drag things around to make it draw like a right hand. Slips and crossovers
are even worse as the number of parts that change the drop and add is the
normal way.

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


Locked Re: Reading all CV's and decoder misidentification #definitions

 

Thanks Dave, Thomas.

Jan


Locked Re: NX Entry exit points given ttlExpired error message on 1 entry to may main yard #entryexit #layouteditor

 

Brendan,

I am still working on this problem.

The issue has nothing to do the NX. ?It is the victim.

The issue is layout block routing itself. ?The reverse loops can cause gaps in the block routing lists. ?Depending on the gaps and where the NX sensors are placed, the NX allocation process can refuse to allocated a route or loop until the limit is reached (ttlExpired).

One trick that appears to work is putting a short track segment without a block assignment in each reverse loop track. ?From a block routing perspective this make them look like stub end tracks. ?They will show up a "unblocked" tracks in the LE Check menu. ?You can then use NX to get trains in and out but not between arrive and depart.


Dave Sand



----- Original message -----
From: Brendan Dennis <brendan@...>
Subject: Re: [jmriusers] NX Entry exit points given ttlExpired error message on 1 entry to may main yard #nx #layouteditor
Date: Thursday, April 02, 2020 8:30 PM

Dave,

Thanks for the update.
I will update the cross overs in Whitehall.

I also wondered if the issue was being caused by the nature of the staging loops at the end.

From a routing point of view, is there a way to stop the system seeing the continuous loop in and out of staging?

I will never set a route to enter and exit staging (on either north or south staging) in the same route..
I guess I could separate the loops and put end points on top of each other to make it look (according to JMRI) that the staging is a set of 10 stub end tracks rather than 5 x return loops..
While I think this will work, I would like to use train tracking at some point and this would mess up that process as a train will get to a end point and then cant make the jump to the next track along in the loop to then be able to continue later..
--

Regards
Brendan Dennis
Melbourne, Australia.



Locked Re: Layout Editor - Is it possible to copy a section of an existing panel and place it on a new panel #layouteditor

 

Brendan,

With a LOT of XML work, you could probably create a subset of a panel. ?The odds are failure a very high. ?While the data is not complicated, there are a lot of relationships.

Given the size of your layout, I would add north and south staging panels and draw them from scratch. ?You have to make sure that the track work and names are consistent. ?The only change is that the far end of the approach track gets an end bumper instead of an anchor point.

It would be possible to load the xml file 3 times. ?This will generate duplicate panel name errors. ?After accepting the errors and loading is done, rename to the two extra panels and start deleting unused content.

Dave Sand


----- Original message -----
From: Brendan Dennis <brendan@...>
Subject: [jmriusers] Layout Editor - Is it possible to copy a section of an existing panel and place it on a new panel
Date: Sunday, April 05, 2020 4:44 AM

Hello Guys,
Per an earlier post, I have progressed well in developing a JMRI Panel using Layout editor.
This panel is the whole layout. I now want to create sub panels that I will display on 2 old iPAD's that will be placed at North and south staging.
I want the panels on the iPAD's to just show the staging and approach for the staging yard they are located at.

Can I simply copy the relevant parts of the layout on my master panel and paste them into a second panel window?
Or
Do I need to draw them again from scratch?
I hope I can simply do a copy.. But I suspect I cant..

Alternatively, I can duplicate the whole panel into another Window and just save the bits I want.

Im also happy to have a go in Notepad to just find the bits I need in the XML file and place them in the right new section?

Using the latest test version of JMRI (4.19.4) on Windows 10 using Chrome as a browser on the iPAD's.

Thanks in advance..
--

Regards
Brendan Dennis
Melbourne, Australia.



Locked Re: Layout Editor - Is it possible to copy a section of an existing panel and place it on a new panel #layouteditor

 

Don,

But:
1) can you load both panels at the same time (without errors in the log) and operate the layout through both? What I thought I knew about PanelPro makes me think that that's not going to go smoothly, with loads of duplicate definitions.
2) can you save them independently? (that, I think, is totally impossible).
3) can you recover from what happened at 2)?

I would distrust this very, very much, but I hope to be wrong - and learn something.

Wouter


On Sun, 5 Apr 2020 at 15:07, Don Weigt <dweigt47@...> wrote:
Brendan,

There probably are many ways to make smaller panels. There may be a preferred way using Panel Editor. Here's a "generic" way.

I just now went into the Windows "folder" (directory) where my panels are stored, made a test copy of it there, and renamed it for one town on the layout. Then I started Layout Editor and tried Open Panels. The renamed copy was listed.

When I opened the copy, it reported a few errors. These were related to an incomplete area at one end of the panel. The messages were a bit confusing, as they said definitions didn't match between two files of the same name. I had to use Options/Rename Panel, to make the displayed name at the top of the open test panel match the file's name in the folder. All the related data for turnouts, detectors, and LEDs seemed to be attached.

Then, I saved the test panel the usual way, and it was ready for editing, including deleting portions that weren't needed for showing and operating this one town. After deleting more than half the original panel's objects, then saving the copy, I "deleted" the file to close it, and quit JMRI. When I restarted JMRI and reopened the test panel, it opened without errors.

Don Weigt
Connecticut


Locked Re: Layout Editor - Is it possible to copy a section of an existing panel and place it on a new panel #layouteditor

 

Brendan,

There probably are many ways to make smaller panels. There may be a preferred way using Panel Editor. Here's a "generic" way.

I just now went into the Windows "folder" (directory) where my panels are stored, made a test copy of it there, and renamed it for one town on the layout. Then I started Layout Editor and tried Open Panels. The renamed copy was listed.

When I opened the copy, it reported a few errors. These were related to an incomplete area at one end of the panel. The messages were a bit confusing, as they said definitions didn't match between two files of the same name. I had to use Options/Rename Panel, to make the displayed name at the top of the open test panel match the file's name in the folder. All the related data for turnouts, detectors, and LEDs seemed to be attached.

Then, I saved the test panel the usual way, and it was ready for editing, including deleting portions that weren't needed for showing and operating this one town. After deleting more than half the original panel's objects, then saving the copy, I "deleted" the file to close it, and quit JMRI. When I restarted JMRI and reopened the test panel, it opened without errors.

Don Weigt
Connecticut


Locked Re: car numbers---setup #operationspro

 

On Sat, Apr 4, 2020 at 10:49 AM, ntrainman2001 wrote:
Hi everyone, Just beginning to st up JMRI and was wondering if you need to actually put in car numbers or just use the type of car. I am running N scale and would rather just? put a type of car instead of looking for a specific car number. Thanks in advance, Mike
To reiterate what Dan said, yes you need numbers in JMRI.? However, as he pointed out, to make it simple, the numbers stored in JMRI do not have to be the number on the car. So for example, 20 boxcars could merely be numbered 1 through 20 regardless of the number on the car (and would be easy to input into JMRI by adding car then changing the car number, then saving car, etc)

Also to reinforce what Dan pointed out, the color and road name are in JMRI, but can be optionally left off of the Manifests and Switchlists if not accurate.

Dan has done an excellent job with making this work, and has added so many features and options, allowing it to be used almost any way needed.

Phil in gorgeous Young Harris, Georgia, USA


Locked Re: Turnouts still displaying block occupancy from reassigned block detectors

John
 

Thank you Dave,

I had tried deleting a turnout, but had not tried the trick you mentioned; I will give that a try.

The number of turnout block assignments may be explained as LT201, LT202, and LT212 are crossovers and LT203 and LT205 are turnouts set up to function? as a crossover.

John


On Sat, Apr 4, 2020 at 6:20 PM Dave Sand <ds@...> wrote:
John,

I have identified the source of the problem.

Turnouts have one block but cross-overs and slips can have up to 4 blocks. ?

Since I don't know the history of the panel and its changes I cannot say why several of your turnouts have the new block name with 3 entries for the old blockname.? This cause the drawing process to create strange looking turnouts when one of the blocks is occupied.

There are two ways to fix the block problem.? The first one is to edit the xml file.? This generally not recommended.? The other method is to delete the bad turnouts and create new ones. ?

There is a trick to inserting the new turnout.? After deleting the old turnout, move the anchor points away from the area.? Add the new turnout and then draw lines from the anchor points to the new turnout connections.? Right click the anchor point and select "Merge Adjacent Tracks".? Then assign the turnout and block to the new turnout.? This is a lot easier than redrawing the whole panel.

Note: ?You SIDING block is not contiguous.? You should have separate blocks for the three areas.? The layout editor Tools >> Checks menu items help with eliminating inconsistent items that can cause problems later on.

Dave Sand



----- Original message -----
From: John <gross144john@...>
Subject: Re: [jmriusers] Turnouts still displaying block occupancy from reassigned block detectors
Date: Saturday, April 04, 2020 3:57 PM

Thanks Inobu, much appreciated. I hate to lose all that work, but it may be inevitable. As you say, one hour by hand, 2 by Excel.

John

On Fri, Apr 3, 2020 at 10:30 AM Inobu One via <one2beros=[email protected]> wrote:
John,

Just start over. Sometime things get written to the xml files and you cannot clear all of them out, leaving remnants of the old configuration. The time to clean up
and reconciliation ends up being longer than starting over. Its just like spending 2 hours to get an Excel formula to work when you could have done it by hand
in a hour.

Inobu

?





Locked Layout Editor - Is it possible to copy a section of an existing panel and place it on a new panel #layouteditor

 

Hello Guys,
Per an earlier post, I have progressed well in developing a JMRI Panel using Layout editor.
This panel is the whole layout. I now want to create sub panels that I will display on 2 old iPAD's that will be placed at North and south staging.
I want the panels on the iPAD's to just show the staging and approach for the staging yard they are located at.

Can I simply copy the relevant parts of the layout on my master panel and paste them into a second panel window?
Or
Do I need to draw them again from scratch?
I hope I can simply do a copy.. But I suspect I cant..

Alternatively, I can duplicate the whole panel into another Window and just save the bits I want.

Im also happy to have a go in Notepad to just find the bits I need in the XML file and place them in the right new section?

Using the latest test version of JMRI (4.19.4) on Windows 10 using Chrome as a browser on the iPAD's.

Thanks in advance..
--

Regards
Brendan Dennis
Melbourne, Australia.


Locked Re: Using VSDecoder with multiple configuration profiles #vsdecoder

 

You are welcome, Mike.

I also have experience in "missing the obvious" from time to time. Good to hear it's working now. Thanks for the feedback.

On the UncaughtExceptionHandler ERROR.
I assume the error is gone now. When I go through the "Add Decoder" process in VSD and enter an invalid DCC address (e.g. a letter), I get a similar but not the same ERROR. Do you remember in which action the error occurred?

Klaus


Am 04.04.2020 um 17:50 schrieb Mike Heintzman:

Thanks Klaus. The process you described is what I was doing but no decoders were being added. ?I think that sometimes just writing the problem down and a good nights sleep helps solve the problem. After days of trying to figure this out I found that I had the second configuration profile set to ¡®Edit¡¯ instead of ¡®Program on Main¡¯ or ¡®.. Programming Track¡¯. Once I switched it to POPT it worked perfectly, which makes complete sense when you think about it. You¡¯re not running trains in Edit. So after writing ¡®Ich bin ein idiot¡¯ 100 times on the blackboard, I¡¯m good to go.
Thanks for your suggestions.
--
Mike Heintzman
Modeling the P&PU since 1953


Locked Re: Turnouts still displaying block occupancy from reassigned block detectors

 

John,

I have identified the source of the problem.

Turnouts have one block but cross-overs and slips can have up to 4 blocks. ?

Since I don't know the history of the panel and its changes I cannot say why several of your turnouts have the new block name with 3 entries for the old blockname. ?This cause the drawing process to create strange looking turnouts when one of the blocks is occupied.

There are two ways to fix the block problem. ?The first one is to edit the xml file. ?This generally not recommended. ?The other method is to delete the bad turnouts and create new ones. ?

There is a trick to inserting the new turnout. ?After deleting the old turnout, move the anchor points away from the area. ?Add the new turnout and then draw lines from the anchor points to the new turnout connections. ?Right click the anchor point and select "Merge Adjacent Tracks". ?Then assign the turnout and block to the new turnout. ?This is a lot easier than redrawing the whole panel.

Note: ?You SIDING block is not contiguous. ?You should have separate blocks for the three areas. ?The layout editor Tools >> Checks menu items help with eliminating inconsistent items that can cause problems later on.

Dave Sand



----- Original message -----
From: John <gross144john@...>
Subject: Re: [jmriusers] Turnouts still displaying block occupancy from reassigned block detectors
Date: Saturday, April 04, 2020 3:57 PM

Thanks Inobu, much appreciated. I hate to lose all that work, but it may be inevitable. As you say, one hour by hand, 2 by Excel.

John

On Fri, Apr 3, 2020 at 10:30 AM Inobu One via <one2beros=[email protected]> wrote:
John,

Just start over. Sometime things get written to the xml files and you cannot clear all of them out, leaving remnants of the old configuration. The time to clean up
and reconciliation ends up being longer than starting over. Its just like spending 2 hours to get an Excel formula to work when you could have done it by hand
in a hour.

Inobu

?





Locked Re: Error 303

 

¿ªÔÆÌåÓý

Richard,

?

I had focused on getting your PR3? programming track working since you had indicated it worked before.?

?

¡°Blast¡¯ programming is very effective for setting? the address.? However, ¡°You will not be able to read back CVs using Blast Mode Programming.¡±

?

Not to worry.

?

Once the address is set, you can use DecoderPro to complete all further programming using ¡®Programming on the Main¡¯ (aka POM).? POM is fast and reliable; and with DecoderPro maintaining a record of your CV settings you don¡¯t need to worry about the lack of CV ¡®read-back.¡¯

?

FWIW,? I rarely use the programming track; and if I do it is only to set an address.? I complete nearly 100% of my programming using POM.

?

The exception is LokSound decoders which ¡®must¡¯ be read first because there they don¡¯t use a standard template for sound project development; each project is unique.? I use a LokProgrammer to read my LokSound decoders; then export the CV file then import it into DecoderPro.?

?

Good luck.? Let us know if you need any more help.

?

Ross

?

From: [email protected] <[email protected]> On Behalf Of rprdds24@...
Sent: Saturday, April 4, 2020 5:35 PM
To: [email protected]
Subject: Re: [jmriusers] Error 303

?

Ross,
I checked the comm port and everything was as described. I even checked that the drivers were up to date.
The? preferences were spot-on. The defaults had no Internals checked. As for LocoNet, all were checked except Command Station.? Nothing I could do could get it to check.
The PS14 is 14.9 volts.
I had experienced the problem with BLI and contacted Digitrax and they told me to use the blast technique. This is the link to the article:

Thank-you,
--
Richard Richter