¿ªÔÆÌåÓý

Date

Locked Re: UNWANTED BLOCKS & TURNOUTS IN LISTING

 

Dave,

I assume the log listing was before removing the import jmri_bindings line from the script.

Try it after removing that line from the script.

If that does not work, you need to create a dummy connection entry in Preferences. I use Digitrax with LocoNet Simulator.

Dave Sand

On Dec 31, 2018, at 1:05 PM, Dave Roberts <dccdaveroberts@...> wrote:

Dave,

The System Console file is on its way to you.

Dave


On 31 Dec 2018, at 18:50, Dave Sand <ds@...> wrote:

Dave,

You can delete the line that says "import jmri bindings¡±

The JMRI system console has a copy to clipboard button. Use that to copy the console messages and paste them into an email.

Dave Sand


On Dec 31, 2018, at 12:39 PM, Dave Roberts <dccdaveroberts@...> wrote:

Dave & John,

I have just cleared the System Console screen and re-run the Script. It is saying that it is unable to run the script at Line 2.

Do you want me to upload the Console File?

Dave


On 31 Dec 2018, at 18:32, Dave Roberts via Groups.Io <dccdaveroberts@...> wrote:

Dave & John,

According to the Console it is because there is no Command Station in my version. It is using Internal Names only with nothing set in the Preferences.

Dave


On 31 Dec 2018, at 18:28, Dave Sand <ds@...> wrote:

Dave,

On my MacBook Air using you panels takes less than a second.

Dave Sand

On Dec 31, 2018, at 12:17 PM, Dave Roberts <dccdaveroberts@...> wrote:

Hi John,

Just loaded Dave Sand¡¯s version and trying it now. As a point of interest how long should it take for the Script to complete its work?
I¡¯ll let you know how I get on.

Dave


On 31 Dec 2018, at 18:13, john Wragg <teamwragg@...> wrote:

Hi Dave
Odd. Is there nothing on the JMRI console?
Did the changes Dave Sands made make a difference?

Dave Sands
Thanks for looking at the script. I learned something new about panels and their relationship to the tables

John


Locked Re: UNWANTED BLOCKS & TURNOUTS IN LISTING

 

Hi Dave (Sand)
Thanks for the explanation. I guess this accounts for layout items getting additional block names in the xml. eg blockbname, blockcname etc if I use the block table to rename?
Working out the blocks for the script was a challenge and I guess I plumped for the wrong method which worked (on the surface) with my simpler panels

A tick in the "I learned something new today" box :)

Thanks
John


Locked Re: Running JMRI "off-line"

 

There are simulator settings for most if not all Command stations. I use LocoNet simulator at home with the club files and use file sharing through dropbox so when I modify them at home or at the club they update at the other.




--
Peter Ulvestad

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


Locked Re: Running JMRI "off-line"

 

¿ªÔÆÌåÓý

Change your port setting to be a Virtual DigiTrax port (simulator). That is machine specific so you can still take your panel/roster files back and forth without having to reconfigure the system.

?

Jim Duncan

?

From: [email protected] [mailto:[email protected]] On Behalf Of Jerry Michels
Sent: Monday, December 31, 2018 12:52 PM
To: [email protected]
Subject: [jmriusers] Running JMRI "off-line"

?

I hope I am not rehashing an old topic.? At the Amarillo Railroad Museum we are running DecoderPro and PanePro.? I would like to be able to run the programs at home to do data entry such as car and locomotive rosters, layout specifications such as locations and capacities.? Can this be done? I have tried it and it looks for a serial port.

?

Jerry Michels

Amarillo Railroad Museum


Locked Re: UNWANTED BLOCKS & TURNOUTS IN LISTING

 

¿ªÔÆÌåÓý

Dave,

The System Console file is on its way to you.

Dave


On 31 Dec 2018, at 18:50, Dave Sand <ds@...> wrote:

Dave,

You can delete the line that says "import jmri bindings¡±

The JMRI system console has a copy to clipboard button. ?Use that to copy the console messages and paste them into an email.

Dave Sand


On Dec 31, 2018, at 12:39 PM, Dave Roberts <dccdaveroberts@...> wrote:

Dave & John,

I have just cleared the System Console screen and re-run the Script. It is saying that it is unable to run the script at Line 2.

Do you want me to upload the Console File?

Dave


On 31 Dec 2018, at 18:32, Dave Roberts via Groups.Io <dccdaveroberts@...> wrote:

Dave & John,

According to the Console it is because there is no Command Station in my version. It is using Internal Names only with nothing set in the Preferences.

Dave


On 31 Dec 2018, at 18:28, Dave Sand <ds@...> wrote:

Dave,

On my MacBook Air using you panels takes less than a second.

Dave Sand

On Dec 31, 2018, at 12:17 PM, Dave Roberts <dccdaveroberts@...> wrote:

Hi John,

Just loaded Dave Sand¡¯s version and trying it now. As a point of interest how long should it take for the Script to complete its work?
I¡¯ll let you know how I get on.

Dave


On 31 Dec 2018, at 18:13, john Wragg <teamwragg@...> wrote:

Hi Dave
Odd. Is there nothing on the JMRI console?
Did the changes Dave Sands made make a difference?

Dave Sands
Thanks for looking at the script. I learned something new about panels and their relationship to the tables

John











Locked Running JMRI "off-line"

 

I hope I am not rehashing an old topic.? At the Amarillo Railroad Museum we are running DecoderPro and PanePro.? I would like to be able to run the programs at home to do data entry such as car and locomotive rosters, layout specifications such as locations and capacities.? Can this be done? I have tried it and it looks for a serial port.

Jerry Michels
Amarillo Railroad Museum


Locked Re: UNWANTED BLOCKS & TURNOUTS IN LISTING

 

Dave,

You can delete the line that says "import jmri bindings¡±

The JMRI system console has a copy to clipboard button. Use that to copy the console messages and paste them into an email.

Dave Sand

On Dec 31, 2018, at 12:39 PM, Dave Roberts <dccdaveroberts@...> wrote:

Dave & John,

I have just cleared the System Console screen and re-run the Script. It is saying that it is unable to run the script at Line 2.

Do you want me to upload the Console File?

Dave


On 31 Dec 2018, at 18:32, Dave Roberts via Groups.Io <dccdaveroberts@...> wrote:

Dave & John,

According to the Console it is because there is no Command Station in my version. It is using Internal Names only with nothing set in the Preferences.

Dave


On 31 Dec 2018, at 18:28, Dave Sand <ds@...> wrote:

Dave,

On my MacBook Air using you panels takes less than a second.

Dave Sand

On Dec 31, 2018, at 12:17 PM, Dave Roberts <dccdaveroberts@...> wrote:

Hi John,

Just loaded Dave Sand¡¯s version and trying it now. As a point of interest how long should it take for the Script to complete its work?
I¡¯ll let you know how I get on.

Dave


On 31 Dec 2018, at 18:13, john Wragg <teamwragg@...> wrote:

Hi Dave
Odd. Is there nothing on the JMRI console?
Did the changes Dave Sands made make a difference?

Dave Sands
Thanks for looking at the script. I learned something new about panels and their relationship to the tables

John


Locked Re: PanelPro icon sets question

Nick
 

Spuds,

Thanks for the response. My REAL question is how do I get rid of it ? I do not use Logix or signal masts . All I want is to create a simple model railroad signal set like the on in signal masts . It only has 4 icons. I do not want 8, or 10 "selections" that need to be "scrolled" through until I can get to the one I want on the panel. When I try to create a set, the only "choices" I get provide 8-10 blanks with red X's to place my icons into. Any unused box will bring up the red X if not changed. All I want is a set with 4 boxes so I can use the 3 basic aspects, Red, Yellow, Green, period.

Is there any way I can accomplish that in signal heads ?

Thanks,
Nick Kulp
?
"Laws that forbid the carrying of arms...disarm only those who are neither inclined nor determined to commit crimes...Such laws make things worse for the assaulted and better for the assailants; they serve rather to encourage than to prevent homicides, for an unarmed man may be attacked with greater confidence than an armed man."

-Thomas Jefferson




From: Spuds McCat <spudsmccat@...>
To: [email protected]
Sent: Monday, December 31, 2018 12:21 PM
Subject: Re: [jmriusers] PanelPro icon sets question

The red x is caused by lack of logic. It's telling you that that head has no clue what it should be displaying.?

On Sun, Dec 30, 2018, 10:48 Nick via Groups.Io <cornwall9=[email protected] wrote:
Friends,

After being away from panel creation for a LONG time, I have been helping a friend prep his layout for signaling. Getting signals set up is not a problem. I can actually still do that. I like some of the changes in the way things work but I have a question about Panel Editor.

He uses Digitrax, Windows 7 64-bit PRO, Locobuffer USB, and it has worked a long time without problems.

In one location, he has a simple signal set up that his dispatcher can "clear" for train movement by clicking on the signal on the panel and it will return to Red when the train trips a sensor past the yard entrance. It is simple and uncomplicated.

Previously, he was using a very old version of JMRI, (Version 3.11 I think) Before the new JAVA update. Since I was using a later version that offered more options and a better CMRI interface, I suggested that he update his to the newest 4.15 just released. He had to update JAVA, then update JMRI. Naturally, this created havoc. The new file system completely bollixed his panel and that took a little time to repair. After we solved that problem (error messages about turnouts out of range LT3005 which didn't exist) , we started to experiment with creating CMRI signal heads. He will be using PRR Position lights with only ONE head and 3 aspects .

To keep things simple, all signal HEADS will be the same configuration. Triple Output, Steady, with the signal lit.

Our problem is that when we try to create an icon set with limited icons (He HATES the RED X when the panel comes up), I cannot figure out how to eliminate the "fancy" settings like flashing or dark so that only the icons we want are in the set. Currently when we want to add signals, there are 8-10 icons needed. We don't want to build signal masts. The signals will be ultra simple, ABS. The dispatcher only controls routes, not signals. This might change in the distant future, but for now. the KISS method will be what we want.

How can we eliminate the extra aspects when we create our icon set ? I apologize for the lengthy question but this is the first time I have been unable to keep abreast of simple signaling problems. Any help will be appreciated.

Regards and Happy New Year,
Nick Kulp



Locked Re: UNWANTED BLOCKS & TURNOUTS IN LISTING

 

John,

Most of the LE references are direct, such as turnouts and sensors.

The block references are indirect using the internal "layout block" table. The LE ¡°block" name maps to the "layout block¡± table userName which maps to the ¡°block¡± table userName. The layout block object uses a count field of LE references. When the count is zero, the layout block is not saved in the panel xml file.

On my TODO list is investigating the potential errors caused by the indirect structure. The main one that occurs in renaming a block in the block table can have unpredictable results. I no longer create blocks using the block table. I create them as needed using the Edit context menu. This automatically creates the layout block and the block table entry. If I need to rename a block, I create a new one using the Edit approach and later delete the old one.

The method that you used is designed to create layout blocks during panel loading. Dave Roberts has 9 panels which resulted in 7 errors per block since only two of the panels referred to each name.


Dave Sand

On Dec 31, 2018, at 12:13 PM, john Wragg <teamwragg@...> wrote:

Hi Dave
Odd. Is there nothing on the JMRI console?
Did the changes Dave Sands made make a difference?

Dave Sands
Thanks for looking at the script. I learned something new about panels and their relationship to the tables

John


Locked Re: Update JMRI Being Treated as First Time User?

 

Thanks for getting back to me Ken.? None of your ideas seem to be the case.? I only launch with the Decoder Pro icon, I don't use Panel Pro (operations).? With regard to connections, have never seen things like "connect stuff".

I 'played the new user game' yesterday and created a new loco listing.? On programming track and later in OPS mode, was able to read/identify the loco decoder, change the loco ID from '03' to desired long address and set desired profile.? Saved and shut down.? Today, tried to start DP, not connected to LocoNet, using icon and again launched with the New User routine!

I can find my roster in:? Documents and Settings - Tom Peterman.PC1610....... - JMRI - My JMRI Railroad - roster

Don't know where to go?
Thanks,
Tom


Locked Re: UNWANTED BLOCKS & TURNOUTS IN LISTING

 

¿ªÔÆÌåÓý

Dave & John,

I have just cleared the System Console screen and re-run the Script. It is saying that it is unable to run the script at Line 2.

Do you want me to upload the Console File?

Dave


On 31 Dec 2018, at 18:32, Dave Roberts via Groups.Io <dccdaveroberts@...> wrote:

Dave & John,

According to the Console it is because there is no Command Station in my version. It is using Internal Names only with nothing set in the Preferences.

Dave
??

On 31 Dec 2018, at 18:28, Dave Sand <ds@...> wrote:

Dave,

On my MacBook Air using you panels takes less than a second.

Dave Sand

On Dec 31, 2018, at 12:17 PM, Dave Roberts <dccdaveroberts@...> wrote:

Hi John,

Just loaded Dave Sand¡¯s version and trying it now. As a point of interest how long should it take for the Script to complete its work?
I¡¯ll let you know how I get on.

Dave


On 31 Dec 2018, at 18:13, john Wragg <teamwragg@...> wrote:

Hi Dave
Odd. Is there nothing on the JMRI console?
Did the changes Dave Sands made make a difference?

Dave Sands
Thanks for looking at the script. I learned something new about panels and their relationship to the tables

John







Locked Re: UNWANTED BLOCKS & TURNOUTS IN LISTING

 

¿ªÔÆÌåÓý

Dave & John,

According to the Console it is because there is no Command Station in my version. It is using Internal Names only with nothing set in the Preferences.

Dave
??

On 31 Dec 2018, at 18:28, Dave Sand <ds@...> wrote:

Dave,

On my MacBook Air using you panels takes less than a second.

Dave Sand

On Dec 31, 2018, at 12:17 PM, Dave Roberts <dccdaveroberts@...> wrote:

Hi John,

Just loaded Dave Sand¡¯s version and trying it now. As a point of interest how long should it take for the Script to complete its work?
I¡¯ll let you know how I get on.

Dave


On 31 Dec 2018, at 18:13, john Wragg <teamwragg@...> wrote:

Hi Dave
Odd. Is there nothing on the JMRI console?
Did the changes Dave Sands made make a difference?

Dave Sands
Thanks for looking at the script. I learned something new about panels and their relationship to the tables

John






Locked Re: UNWANTED BLOCKS & TURNOUTS IN LISTING

 

Dave,

On my MacBook Air using you panels takes less than a second.

Dave Sand

On Dec 31, 2018, at 12:17 PM, Dave Roberts <dccdaveroberts@...> wrote:

Hi John,

Just loaded Dave Sand¡¯s version and trying it now. As a point of interest how long should it take for the Script to complete its work?
I¡¯ll let you know how I get on.

Dave


On 31 Dec 2018, at 18:13, john Wragg <teamwragg@...> wrote:

Hi Dave
Odd. Is there nothing on the JMRI console?
Did the changes Dave Sands made make a difference?

Dave Sands
Thanks for looking at the script. I learned something new about panels and their relationship to the tables

John


Locked Re: UNWANTED BLOCKS & TURNOUTS IN LISTING

 

Hi Dave
Probably only 10 or 15 secs at the most. Unless you have extremely large tables. On my panels it is almost instantaneous
john


Locked Re: UNWANTED BLOCKS & TURNOUTS IN LISTING

 

¿ªÔÆÌåÓý

Hi John,

Just loaded Dave Sand¡¯s version and trying it now. As a point of interest how long should it take for the Script to complete its work?
I¡¯ll let you know how I get on.

Dave


On 31 Dec 2018, at 18:13, john Wragg <teamwragg@...> wrote:

Hi Dave
Odd. Is there nothing on the JMRI console?
Did the changes Dave Sands made make a difference?

Dave Sands
Thanks for looking at the script. I learned something new about panels and their relationship to the tables

John


Locked Re: UNWANTED BLOCKS & TURNOUTS IN LISTING

 

Hi Dave
Odd. Is there nothing on the JMRI console?
Did the changes Dave Sands made make a difference?

Dave Sands
Thanks for looking at the script. I learned something new about panels and their relationship to the tables

John


Locked Re: UNWANTED BLOCKS & TURNOUTS IN LISTING

 

¿ªÔÆÌåÓý

Dave,

Thank you for that. It is much appreciated. May I take this opportunity to wish you a Happy and Peaceful New Year.

Dave


On 31 Dec 2018, at 17:58, Dave Sand <ds@...> wrote:

Dave,

Try using the modified version of the script that I uploaded. ?The CSV files are created in the user files location (the panel file location) and it correctly handles checking blocks for use within panels.

Dave Sand



On Dec 31, 2018, at 9:18 AM, Dave Roberts <dccdaveroberts@...> wrote:

John,

I have followed your instructions but nothing appears to have happened.

(1) I have created a backup copy of the SDR file and am using a copy of ???the original file to test the Script on.
(2) I opened the new duplicated file. It is showing no errors as it loaded the Master Panel and all of the Sub-Panels.
(3) I Went into JMRI Panel Pro and selected the ¡°Panels¡± menu and then selected ¡°Run Scripts¡±.
(4) I Browsed to file location and selected the print file to open.

Nothing appears to have happened. I have checked for the creation of any new .csv files but found nothing on the computer. I cannot figure out what I am doing wrong. There is no indication that anything has happened at all.

Your help and guidance would be greatly appreciated at this point.

Dave

On 31 Dec 2018, at 09:51, Dave Roberts via Groups.Io <dccdaveroberts@...> wrote:

John,

I have read through the program listing for ¡°Tables print.py¡± and as far as I can remember from my programming days, many, many years ago now, it would appear that the only line I need to change is:

self.path = ¡°C:/Users/teamw_000/Documents/Great Central/Electronics/spreadsheets/"

To suit my requirements this should read:

self.path = ¡°C:/Users/SDR/Documents/spreadsheets/¡°

Since you are well into signalling, I imagine that during the process of signalling set up, several mistakes were made that ended up with Names no longer required or misspelt etc that were never used in the Master xml file. Is there any way to identify these records so that they can be deleted safely?

Dave

On 31 Dec 2018, at 08:59, Dave Roberts via Groups.Io <dccdaveroberts@...> wrote:

Good Morning John,

Thanks for the update. Dave Sand has confirmed that with regard to both the Turnout and Block Tables, that any entry with just two connection showing is the default set when the record was created. I am hoping that others with a detailed knowledge of the other Tables will jump in and confirm the default settings for the other Tables so that unused records can be deleted as not being used by the Master xml file.

Dave


On 31 Dec 2018, at 01:32, john Wragg <teamwragg@...> wrote:

Hi Dave
I thought I had better check out the script as I hadn't used it for about a year and wrote it for my own use (You don't have to worry about such niceties as testing:) ). I found a bug with blocks with no named sensor (all mine had named sensors) I have uploaded a fixed version. You should use that.

If you find any more then give me a shout

John








Locked Re: UNWANTED BLOCKS & TURNOUTS IN LISTING

 

Dave,

Try using the modified version of the script that I uploaded. The CSV files are created in the user files location (the panel file location) and it correctly handles checking blocks for use within panels.

Dave Sand

On Dec 31, 2018, at 9:18 AM, Dave Roberts <dccdaveroberts@...> wrote:

John,

I have followed your instructions but nothing appears to have happened.

(1) I have created a backup copy of the SDR file and am using a copy of the original file to test the Script on.
(2) I opened the new duplicated file. It is showing no errors as it loaded the Master Panel and all of the Sub-Panels.
(3) I Went into JMRI Panel Pro and selected the ¡°Panels¡± menu and then selected ¡°Run Scripts¡±.
(4) I Browsed to file location and selected the print file to open.

Nothing appears to have happened. I have checked for the creation of any new .csv files but found nothing on the computer. I cannot figure out what I am doing wrong. There is no indication that anything has happened at all.

Your help and guidance would be greatly appreciated at this point.

Dave

On 31 Dec 2018, at 09:51, Dave Roberts via Groups.Io <dccdaveroberts@...> wrote:

John,

I have read through the program listing for ¡°Tables print.py¡± and as far as I can remember from my programming days, many, many years ago now, it would appear that the only line I need to change is:

self.path = ¡°C:/Users/teamw_000/Documents/Great Central/Electronics/spreadsheets/"

To suit my requirements this should read:

self.path = ¡°C:/Users/SDR/Documents/spreadsheets/¡°

Since you are well into signalling, I imagine that during the process of signalling set up, several mistakes were made that ended up with Names no longer required or misspelt etc that were never used in the Master xml file. Is there any way to identify these records so that they can be deleted safely?

Dave

On 31 Dec 2018, at 08:59, Dave Roberts via Groups.Io <dccdaveroberts@...> wrote:

Good Morning John,

Thanks for the update. Dave Sand has confirmed that with regard to both the Turnout and Block Tables, that any entry with just two connection showing is the default set when the record was created. I am hoping that others with a detailed knowledge of the other Tables will jump in and confirm the default settings for the other Tables so that unused records can be deleted as not being used by the Master xml file.

Dave


On 31 Dec 2018, at 01:32, john Wragg <teamwragg@...> wrote:

Hi Dave
I thought I had better check out the script as I hadn't used it for about a year and wrote it for my own use (You don't have to worry about such niceties as testing:) ). I found a bug with blocks with no named sensor (all mine had named sensors) I have uploaded a fixed version. You should use that.

If you find any more then give me a shout

John


Locked Re: Decoder Pro problems

 

Mark,?
I just reread your original post from a few days ago and see you are connected through a PR4. Ignore my last question about what system you are using.

I have nothing more I can contribute to this thread. I trust others will be able to help you.

Good luck.

Tom Wilson
Colorado Springs, CO


On Mon, Dec 31, 2018, 10:46 AM Tom Wilson via Groups.Io <thomasthetrainengine=[email protected] wrote:
Mark,
What DCC system are you using to interface to JMRI? That is confusing from your description of your problem. If you are interfacing through your already determined to be damaged Digitrax system, Jmri will not be able to overcome the damaged hardware to do anything for you. It would be helpful to all who are trying to help you to know what you have connected that is supplying your program track with a signal.? ?Jmri, in and of itself cannot do this. It needs an operating DCC system or specialized programming hardware to do anything for a decoder.?

Tom Wilson
Colorado Springs, CO

On Mon, Dec 31, 2018, 6:38 AM <mvdeschane@... wrote:
I have attempted to change the direction of travel on the loco (SW1200) on my Program Track.? Then, I placed the loco on my layout and nothing worked!? Used Digitrax SoundLoader to do a Factory Reset, then changed address to 106.? Placed on layout and everything O.K.? Placed on the Program Track again with JMRI Running; but, did not attempt to do anything and the loco was still functional!

I'm sorry, I changed the subject for the last two responses and then realized this placed these responses in there own thread.? Please disregard those thread!!!?


Locked Re: Decoder Pro problems

 

Mark,
What DCC system are you using to interface to JMRI? That is confusing from your description of your problem. If you are interfacing through your already determined to be damaged Digitrax system, Jmri will not be able to overcome the damaged hardware to do anything for you. It would be helpful to all who are trying to help you to know what you have connected that is supplying your program track with a signal.? ?Jmri, in and of itself cannot do this. It needs an operating DCC system or specialized programming hardware to do anything for a decoder.?

Tom Wilson
Colorado Springs, CO


On Mon, Dec 31, 2018, 6:38 AM <mvdeschane@... wrote:
I have attempted to change the direction of travel on the loco (SW1200) on my Program Track.? Then, I placed the loco on my layout and nothing worked!? Used Digitrax SoundLoader to do a Factory Reset, then changed address to 106.? Placed on layout and everything O.K.? Placed on the Program Track again with JMRI Running; but, did not attempt to do anything and the loco was still functional!

I'm sorry, I changed the subject for the last two responses and then realized this placed these responses in there own thread.? Please disregard those thread!!!?