¿ªÔÆÌåÓý

Date

Locked Re: UNWANTED BLOCKS & TURNOUTS IN LISTING

 

Ron,

Jython compilation errors are displayed on the JMRI system console.

Dave Sand

On Dec 30, 2018, at 1:57 PM, Ron Atherton <akskron@...> wrote:

Dave,

I could use the Excel script also. I have become the Computer Guy for a Group that did not understand JMRI (not that I fully understand it myself) or how software of any type works.

The JMRI tables have MANY unused or incorrect turnouts, blocks, etc. that so far I have been unable to delete. If I could list stuff in Excel it might help me "clean up" the mess.

They tired to get it right but their lack of programming knowledge and how to write software was a major problem.

We have over 30 of 60 signals in and working on a layout with 35 blocks and over 40 turnouts controlled by either wireless throttles and/or JMRI.

I have programmed in Fortran for many years but had worked with Excel mostly for last 15 years for Sales and Marketing data until I retired.

Writing script in Jython is a new challenge for me but so far I am winning, most of the time. Fortran used a compiler that usually let you know that you made an error on how you wrote a command. Jython just will not run with "bad" script and then the guessing starts. LOL

Thanks

Ron Atherton



Sent from my U.S.Cellular? Smartphone

-------- Original message --------
From: Dave Roberts <dccdaveroberts@...>
Date: 12/30/18 12:37 PM (GMT-06:00)
To: [email protected]
Subject: Re: [jmriusers] UNWANTED BLOCKS & TURNOUTS IN LISTING

Dave,

Thanks for the confirmation. I am pleased to report that the ¡°CHECK¡± tool is reporting no errors on any panel - Master and Sub-Panels (Lovations).

I am waiting for John Wragg to get back to me with a copy of his Jython Script to permit the Table Printouts to be converted into Excel format so that they can be printed out.

Apparently, his script will identify those entries that are not used within the active xml files to make things a little easier. At least my Naming scheme has come into its own. It will be a great help in this case.

Dave


On 30 Dec 2018, at 17:59, Dave Sand <ds@...> wrote:

Dave,

I believe the two connection rule applies to other table types, including turnouts. Whenever making changes like this, save often and stop/start JMRI and look for errors in the system console.

Dave Sand


On Dec 30, 2018, at 11:40 AM, Dave Roberts <dccdaveroberts@...> wrote:

Dave,
Thanks for the confirmation regarding the Blocks. What about the Turnouts?
Dave

- Dave

On 30 Dec 2018, at 16:59, Dave Sand <ds@...> wrote:

Dave,

Blocks with only 2 connections are not active and can be deleted.

Dave Sand



On Dec 30, 2018, at 1:56 AM, Dave Roberts <dccdaveroberts@...> wrote:

Cliff,

So kind of you to reply and thank you. Like you, my layout developed over some ten years and grew alongside JMRI. As part of the learning curve that we all go through I created several Turnouts and Blocks using the INTERNAL Name. Many had mistakes in the name, usually me adding in an extra space here and there. These are very difficult to distinguish between too!

Sometimes it was when I renamed an existing block I would add number after it and then create a new second, sequentially numbered Block. The original block was still there in the listing. This was before the time when I could have just renamed it and saved it.

I was developing my Naming System and Turnouts proved a bit of a problem until I settled on my current Naming scheme which now sorts all items for a particular Location into one contiguous block of names.

However, I am left with several entries that are not used within the xml file as part of any part of the layout. I was hoping that as part of the Rename the Layout idea that JMRI could be made to just include those names that are actively used on the layout and leave the rest behind.

At present, by using my Naming Scheme, I can break all the Table records into Named Blocks of records and attempt a deletion there. It is easier than having to plough through every entry on the various Tables Listings.

The problem is identifying those not currently used. At the moment it would appear that the unused entries only have two connections but I am not sure if this is the default when they are created? Is so, then deleting all those with only the original two connections would appear to be the way to go but having spent many hours removing all errors between the Master, (Whole Layout) file Panel and the various Location Sub-Panels using the CHECK Tool option for all four of the areas specified, I need to be sure that I can get rid of all of the unwanted entries and so slim down the file to prevent any further errors arising in the future.

That is why I put out my request for further information to check if there has been any further developments over the past five years before I embark on what could be a potential nightmare scenario for me.

May I wish you a Happy and Peaceful New Year.

Dave


On 30 Dec 2018, at 00:19, Cliff Anderson <cliffaa@...> wrote:

Dave,

On Sat, Dec 29, 2018 at 01:03 PM, Dave Roberts wrote:

I have read the last conversation from Cliff in 2014 but has there been any progress in finding a way to remove unwanted/unused list items from the tables?

Perhaps you are referring to messages #103133 & #103134 from February 2014?

If so, it took me some time to recover them and even so I have only a dim memory of that thread after almost five years. Certainly, I have no recollection of further information and normal use of search mechanisms within the JMRI and this Groups sites have not been productive. My practice with the use of adding Blocks has become more careful to define a new block, but that does not help others much.

If these are not what you are alluding too, perhaps further clarification would be in order.

In either case, someone who uses the Layout Editor a lot more than I do would be better prepared to follow up on your request.

Cliff in Baja SoCal



Locked Re: UNWANTED BLOCKS & TURNOUTS IN LISTING

 

¿ªÔÆÌåÓý

Dave,

I could use the Excel script also. I have become the Computer Guy for a Group that did not understand JMRI (not that I fully understand it myself) or how software of any type works.

The JMRI tables have MANY unused or incorrect turnouts, blocks, etc. that so far I have been unable to delete. If I could list stuff in Excel it might help me "clean up" the mess.

They tired to get it right but their lack of programming knowledge and how to write software was a major problem.?

We have over 30 of 60 signals in and working on a layout with 35 blocks and over 40 turnouts controlled by either wireless throttles and/or JMRI.

I have programmed in Fortran for many years but had worked with Excel mostly for last 15 years for Sales and Marketing data until I retired.

Writing script in Jython is a new challenge for me but so far I am winning, most of the time. Fortran used a compiler that usually let you know that you made an error on how you wrote a command. Jython just will not run with "bad" script and then the guessing starts. LOL

Thanks

Ron Atherton?



Sent from my U.S.Cellular? Smartphone

¿ªÔÆÌåÓý

-------- Original message --------
From: Dave Roberts <dccdaveroberts@...>
Date: 12/30/18 12:37 PM (GMT-06:00)
Subject: Re: [jmriusers] UNWANTED BLOCKS & TURNOUTS IN LISTING

Dave,

Thanks for the confirmation. I am pleased to report that the ¡°CHECK¡± tool is reporting no errors on any panel - Master and Sub-Panels (Lovations).

I am waiting for John Wragg to get back to me with a copy of his Jython Script to permit the Table Printouts to be converted into Excel format so that they can be printed out.

Apparently, his script will identify those entries that are not used within the active xml files to make things a little easier. At least my Naming scheme has come into its own. It will be a great help in this case.

Dave


On 30 Dec 2018, at 17:59, Dave Sand <ds@...> wrote:

Dave,

I believe the two connection rule applies to other table types, including turnouts. ?Whenever making changes like this, save often and stop/start JMRI and look for errors in the system console.

Dave Sand


On Dec 30, 2018, at 11:40 AM, Dave Roberts <dccdaveroberts@...> wrote:

Dave,
Thanks for the confirmation regarding the Blocks. What about the Turnouts?
Dave

- Dave

On 30 Dec 2018, at 16:59, Dave Sand <ds@...> wrote:

Dave,

Blocks with only 2 connections are not active and can be deleted.

Dave Sand



On Dec 30, 2018, at 1:56 AM, Dave Roberts <dccdaveroberts@...> wrote:

Cliff,

So kind of you to reply and thank you. Like you, my layout developed over some ten years and grew alongside JMRI. As part of the learning curve that we all go through I created several Turnouts and Blocks using the INTERNAL Name. Many had mistakes in the name, usually me adding in an extra space here and there. These are very difficult to distinguish between too!

Sometimes it was when I renamed an existing block I would add number after it and then create a new second, sequentially numbered Block. The original block was still there in the listing. This was before the time when I could have just renamed it and saved it.

I was developing my Naming System and Turnouts proved a bit of a problem until I settled on my current Naming scheme which now sorts all items for a particular Location into one contiguous block of names.

However, I am left with several entries that are not used within the xml file as part of any part of the layout. I was hoping that as part of the Rename the Layout idea that JMRI could be made to just include those names that are actively used on the layout and leave the rest behind.

At present, by using my Naming Scheme, I can break all the Table records into Named Blocks of records and attempt a deletion there. It is easier than having to plough through every entry on the various Tables Listings.

The problem is identifying those not currently used. At the moment it would appear that the unused entries only have two connections but I am not sure if this is the default when they are created? Is so, then deleting all those with only the original two connections would appear to be the way to go but having spent many hours removing all errors between the Master, (Whole Layout) file Panel and the various Location Sub-Panels using the CHECK Tool option for all four of the areas specified, I need to be sure that I can get rid of all of the unwanted entries and so slim down the file to prevent any further errors arising in the future.

That is why I put out my request for further information to check if there has been any further developments over the past five years before I embark on what could be a potential nightmare scenario for me.

May I wish you a Happy and Peaceful New Year.

Dave


On 30 Dec 2018, at 00:19, Cliff Anderson <cliffaa@...> wrote:

Dave,

On Sat, Dec 29, 2018 at 01:03 PM, Dave Roberts wrote:

I have read ?the last conversation from Cliff in 2014 but has there been any progress in finding a way to remove unwanted/unused list items from the tables?

Perhaps you are referring to messages #103133 & #103134 from February 2014?

If so, it took me some time to recover them and even so I have only a dim memory of that thread after almost five years. Certainly, I have no recollection of further information and normal use of search mechanisms within the JMRI and this Groups sites have not been productive. My practice with the use of adding Blocks has become more careful to define a new block, but that does not help others much.

If these are not what you are alluding too, perhaps further clarification would be in order.

In either case, someone who uses the Layout Editor a lot more than I do would be better prepared to follow up on your request.

Cliff in Baja SoCal













Locked Re: NMRA/JMRI/Arduino

 

Graham,

How about a Google search "Arduino model trains".

Just did a search, yup, loads of info out there.

John

---------- Original Message ----------
From: SettleDown <wgrushton@...>
Date: December 30, 2018 at 1:39 PM


Hi Guys

Just seen this topic, which is of interest as I'm hoping to look into using
Arduinos to control sound and other functions around my layout.? Is there a
way to get hold of the article that you (@JerryG) wrote other than purchasing
the NRMA mag ?

Regards

Graham - @SettleDown



Locked Re: NMRA/JMRI/Arduino

SettleDown
 

Hi Guys

Just seen this topic, which is of interest as I'm hoping to look into using Arduinos to control sound and other functions around my layout.? Is there a way to get hold of the article that you (@JerryG) wrote other than purchasing the NRMA mag ?

Regards

Graham - @SettleDown


Locked PanelPro icon sets question

Nick
 

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

 

¿ªÔÆÌåÓý

Dave,

Thanks for the confirmation. I am pleased to report that the ¡°CHECK¡± tool is reporting no errors on any panel - Master and Sub-Panels (Lovations).

I am waiting for John Wragg to get back to me with a copy of his Jython Script to permit the Table Printouts to be converted into Excel format so that they can be printed out.

Apparently, his script will identify those entries that are not used within the active xml files to make things a little easier. At least my Naming scheme has come into its own. It will be a great help in this case.

Dave


On 30 Dec 2018, at 17:59, Dave Sand <ds@...> wrote:

Dave,

I believe the two connection rule applies to other table types, including turnouts. ?Whenever making changes like this, save often and stop/start JMRI and look for errors in the system console.

Dave Sand


On Dec 30, 2018, at 11:40 AM, Dave Roberts <dccdaveroberts@...> wrote:

Dave,
Thanks for the confirmation regarding the Blocks. What about the Turnouts?
Dave

- Dave

On 30 Dec 2018, at 16:59, Dave Sand <ds@...> wrote:

Dave,

Blocks with only 2 connections are not active and can be deleted.

Dave Sand



On Dec 30, 2018, at 1:56 AM, Dave Roberts <dccdaveroberts@...> wrote:

Cliff,

So kind of you to reply and thank you. Like you, my layout developed over some ten years and grew alongside JMRI. As part of the learning curve that we all go through I created several Turnouts and Blocks using the INTERNAL Name. Many had mistakes in the name, usually me adding in an extra space here and there. These are very difficult to distinguish between too!

Sometimes it was when I renamed an existing block I would add number after it and then create a new second, sequentially numbered Block. The original block was still there in the listing. This was before the time when I could have just renamed it and saved it.

I was developing my Naming System and Turnouts proved a bit of a problem until I settled on my current Naming scheme which now sorts all items for a particular Location into one contiguous block of names.

However, I am left with several entries that are not used within the xml file as part of any part of the layout. I was hoping that as part of the Rename the Layout idea that JMRI could be made to just include those names that are actively used on the layout and leave the rest behind.

At present, by using my Naming Scheme, I can break all the Table records into Named Blocks of records and attempt a deletion there. It is easier than having to plough through every entry on the various Tables Listings.

The problem is identifying those not currently used. At the moment it would appear that the unused entries only have two connections but I am not sure if this is the default when they are created? Is so, then deleting all those with only the original two connections would appear to be the way to go but having spent many hours removing all errors between the Master, (Whole Layout) file Panel and the various Location Sub-Panels using the CHECK Tool option for all four of the areas specified, I need to be sure that I can get rid of all of the unwanted entries and so slim down the file to prevent any further errors arising in the future.

That is why I put out my request for further information to check if there has been any further developments over the past five years before I embark on what could be a potential nightmare scenario for me.

May I wish you a Happy and Peaceful New Year.

Dave


On 30 Dec 2018, at 00:19, Cliff Anderson <cliffaa@...> wrote:

Dave,

On Sat, Dec 29, 2018 at 01:03 PM, Dave Roberts wrote:

I have read ?the last conversation from Cliff in 2014 but has there been any progress in finding a way to remove unwanted/unused list items from the tables?

Perhaps you are referring to messages #103133 & #103134 from February 2014?

If so, it took me some time to recover them and even so I have only a dim memory of that thread after almost five years. Certainly, I have no recollection of further information and normal use of search mechanisms within the JMRI and this Groups sites have not been productive. My practice with the use of adding Blocks has become more careful to define a new block, but that does not help others much.

If these are not what you are alluding too, perhaps further clarification would be in order.

In either case, someone who uses the Layout Editor a lot more than I do would be better prepared to follow up on your request.

Cliff in Baja SoCal













Locked Re: Buffer Signal Mast

 

Thanks both for the advice.
I will have a play tomorrow and let you know how it goes.


Locked Re: UNWANTED BLOCKS & TURNOUTS IN LISTING

 

Dave,

I believe the two connection rule applies to other table types, including turnouts. Whenever making changes like this, save often and stop/start JMRI and look for errors in the system console.

Dave Sand

On Dec 30, 2018, at 11:40 AM, Dave Roberts <dccdaveroberts@...> wrote:

Dave,
Thanks for the confirmation regarding the Blocks. What about the Turnouts?
Dave

Sent from my iPhone - Dave

On 30 Dec 2018, at 16:59, Dave Sand <ds@...> wrote:

Dave,

Blocks with only 2 connections are not active and can be deleted.

Dave Sand



On Dec 30, 2018, at 1:56 AM, Dave Roberts <dccdaveroberts@...> wrote:

Cliff,

So kind of you to reply and thank you. Like you, my layout developed over some ten years and grew alongside JMRI. As part of the learning curve that we all go through I created several Turnouts and Blocks using the INTERNAL Name. Many had mistakes in the name, usually me adding in an extra space here and there. These are very difficult to distinguish between too!

Sometimes it was when I renamed an existing block I would add number after it and then create a new second, sequentially numbered Block. The original block was still there in the listing. This was before the time when I could have just renamed it and saved it.

I was developing my Naming System and Turnouts proved a bit of a problem until I settled on my current Naming scheme which now sorts all items for a particular Location into one contiguous block of names.

However, I am left with several entries that are not used within the xml file as part of any part of the layout. I was hoping that as part of the Rename the Layout idea that JMRI could be made to just include those names that are actively used on the layout and leave the rest behind.

At present, by using my Naming Scheme, I can break all the Table records into Named Blocks of records and attempt a deletion there. It is easier than having to plough through every entry on the various Tables Listings.

The problem is identifying those not currently used. At the moment it would appear that the unused entries only have two connections but I am not sure if this is the default when they are created? Is so, then deleting all those with only the original two connections would appear to be the way to go but having spent many hours removing all errors between the Master, (Whole Layout) file Panel and the various Location Sub-Panels using the CHECK Tool option for all four of the areas specified, I need to be sure that I can get rid of all of the unwanted entries and so slim down the file to prevent any further errors arising in the future.

That is why I put out my request for further information to check if there has been any further developments over the past five years before I embark on what could be a potential nightmare scenario for me.

May I wish you a Happy and Peaceful New Year.

Dave


On 30 Dec 2018, at 00:19, Cliff Anderson <cliffaa@...> wrote:

Dave,

On Sat, Dec 29, 2018 at 01:03 PM, Dave Roberts wrote:

I have read the last conversation from Cliff in 2014 but has there been any progress in finding a way to remove unwanted/unused list items from the tables?

Perhaps you are referring to messages #103133 & #103134 from February 2014?

If so, it took me some time to recover them and even so I have only a dim memory of that thread after almost five years. Certainly, I have no recollection of further information and normal use of search mechanisms within the JMRI and this Groups sites have not been productive. My practice with the use of adding Blocks has become more careful to define a new block, but that does not help others much.

If these are not what you are alluding too, perhaps further clarification would be in order.

In either case, someone who uses the Layout Editor a lot more than I do would be better prepared to follow up on your request.

Cliff in Baja SoCal



Locked Re: Decoder Pro problems

 

¿ªÔÆÌåÓý

Mark,

Your report below has some encouraging things in it, so sorting what is actually wrong shouldn¡¯t take too long.

?

Your hardware clearly works, as SoundLoader does its stuff to the PR4.? ?That¡¯s a good thing to know before proceeding further.?

It would help if your loco doesn¡¯t have address 3, ?if necessary change it in SoundLoader, or change it with a throttle on the command station to a known new address, and confirm it runs on the layout on that address before proceeding.?

?

Now look into JMRI/DecoderPro.?? Take your loco which you know is good on the layout, and put it on the programming track.? Can you read the address of that loco in DecoderPro ??

?

If ¡°no¡±, then look at the preferences and defaults settings for DecoderPro.?? Are they set to the correct arrangement (ie. Which programming track ¨C the one on the PR4, or the one on your command station (Zephyr or Chief) ?? ), are the defaults not set to ¡°internal¡± (a problem which has been causing issues for a while in JMRI, supposed to be fixed in the new 4.14 release. )? ???? Correct any of these issues, and retry reading the address on the loco.?

?

If the decoder read was correct, then try making a *single change* to the decoder, which you can then move to the layout and see the effect immediately.? For example, make a change in the acceleration rate, or change one lighting effect, or reverse the default direction of running (so it now appears to be backwards).?? Confirm that reads and writes to the decoder, then confirm the change is effective on the layout.?? If it fails, then a lot of details will be needed to help diagnose what is going wrong.

?

?

?

-????????? Nigel

?

From: [email protected] [mailto:[email protected]] On Behalf Of mvdeschane@...
Sent: 30 December 2018 12:53
To: [email protected]
Subject: Re: [jmriusers] Decoder Pro problems

?

I do also have Digitrax's SoundLoader software and that works just fine.? When I attempt to load a working; but, new loco to the JMRI Decoder Pro, I go through all the pages of information and change what I want to change.? Take the loco to my layout and nothing happens, no lights, no movement.? Bring the loco back to the programming track and look at the parameters and I can see that changes have been made, correct address and everything.? I have Uninstalled the software, thinking that I might have screwed it up by opening the program without the programming track and PR-4 being connected, via the USB and power cord hooked up.? Then re-loaded JMRI Decoder Pro software and it did not fix anything.? I go to the SoundLoader program, do a factory reset and change the address to the Loco's number and can get everything to work again.

Mark? Oh, by the way, I live in Central Minnesota.? I have no idea if there are even other model Railroaders around, let alone whether anyone uses JMRI Decoder Pro.?


Locked Re: NMRA/JMRI/Arduino

 

Jerry G, Thanks.? I would be interested in this article and future articles.? So let me/us know where you publish next.? As far as the NMRA, which I a member, I hadn't realized they weren't releasing all their content from their physical publications.? I thought I was saving them money and trees by not getting the hard-copies.? Disappointing.

Chris??


Locked Re: VSDecoder: Problems with xml and sound #vsdecoder #rpi #ubuntu

 

Hi Graham,


Thanks for the feedback, much appreciated.


Problem 1. Regarding the parse error - no, it's not that important.

The content of VSDecoderPreferences.xml is fine and it's doing the job. The error means, that JMRI cannot parse the file due to a missing parsing source (a XSD file or DTD file).

On my Windows 7 system I do not get the error, except I do a XML file validation (Debug menu >> Validate XML File). Should be the same on your Windows Laptop.


Problem 2.
JMRI roster has a Media table. VSD can save the name and the path of a VSD file on the Media table. In the VSDecoder Manager then you select the roster and click "Ok".


Problem 3. Thanks for sharing this setup! Looks good :)


Klaus


Am 30.12.2018 um 14:23 schrieb SettleDown:

Hi Klaus
I did get some time this afternoon to take a look at your suggestions.? Here's the feedback..
Problem 1. There were no other instances of VSDecoderPreferences.xml anywhere else, so?I did as you said and VSD did create two new Preferences files:
-rw-r--r-- 1 graham graham? ? ?496 Dec 30 15:47 VSDecoderPreferences.xml
-rw-r--r-- 1 graham graham? ? ?496 Dec 30 15:46 VSDecoderPreferences.xml.bak
But it showed the same error below both at startup and when doing an XML Validation:
2018-12-30 14:22:48,815 configurexml.ErrorHandler? ? ? ? ? ? ?ERROR - Parse error while parsing file /media/graham/MRUSB/JMRI/Settle_Sidings/vsdecoder/VSDecoderPreferences.xml Exception: org.jdom2.input.JDOMParseException: Error on line 2: cvc-elt.1.a: Cannot find the declaration of element 'vsdecoder-preferences'.
See for possibly more information. [AWT-EventQueue-0]
org.jdom2.input.JDOMParseException: Error on line 2: cvc-elt.1.a: Cannot find the declaration of element 'vsdecoder-preferences'.
Is this important ? since the VSD Manager itself seems to work OK.
Problem 2.? I bought the Pi specifically to run my new Settle Sidings layout I'm building and it will mostly be running without an attached Monitor/Keyboard, so yes I agree that a 'VSDecoder faceless' would be a good idea, though it would also be good to be able to see a web ui like the Panels and Turnout Tables as this could then be used to generate random audio for each loco using a remote device (iPhone, iPad etc).? I haven't yet been able to look at the articles you suggested in this section. Is the plan to extend the roster tables to include the VSD file allocated to each loco/decoder and also make the VSD Manager persistent?
Problem 3. I guess I just assumed that sound would work on the Pi3 (Ubuntu Mate) without having to configure anything and hadn't tried playing any other audio, so I tested it with one of the .wav files (JMRI/sounds/Bell.wav) and heard nothing on the test headphones, so Google found this for me:
The following command, entered in the command line, will switch the audio output to HDMI:
amixer cset numid=3 2
Here the output is being set to?2 , which is HDMI. Setting the output to?1 switches to analogue (headphone jack). The default setting is?0?which is automatic.
I had my headphones plugged into the audio output of the HDMI>VGA converter that I was using for my antique VGA monitor, but no sound, but when I changed the config to
amixer cset numid=3 1
and plugged the headphones directly into the Composite outlet of the Pi I heard the Bell ringing !!
After that I set up a VSD file in the VSD Manager and could hear all the Bells and Whistles !!!? So that problem is now solved, at least for now until I decide what speaker/amp setup I might want to use going forward.
I think I've still got lots to learn about the configuration and utilisation of VSDecoder, so I;m sure I'll be back asking more questions.? In the meantime if you have any further thoughts on problems 1 and 2 I;d be gald to hear them.
Many thanks
Graham - SettleDown


Locked Re: Decoder Pro problems

 

Mark,
Pardon me if this seems like a dumb question. But after going through and changing all the parameters on the various sheets in Decoder Pro, are you then writing all changes to the locomotive? I have myself gone through and changed many things and forget to write it.? Then when nothing is working as I expect, realize my error and go back and write it to the decoder.

Tom Wilson
Colorado Springs, CO


On Sun, Dec 30, 2018, 5:52 AM <mvdeschane@... wrote:
I do also have Digitrax's SoundLoader software and that works just fine.? When I attempt to load a working; but, new loco to the JMRI Decoder Pro, I go through all the pages of information and change what I want to change.? Take the loco to my layout and nothing happens, no lights, no movement.? Bring the loco back to the programming track and look at the parameters and I can see that changes have been made, correct address and everything.? I have Uninstalled the software, thinking that I might have screwed it up by opening the program without the programming track and PR-4 being connected, via the USB and power cord hooked up.? Then re-loaded JMRI Decoder Pro software and it did not fix anything.? I go to the SoundLoader program, do a factory reset and change the address to the Loco's number and can get everything to work again.

Mark? Oh, by the way, I live in Central Minnesota.? I have no idea if there are even other model Railroaders around, let alone whether anyone uses JMRI Decoder Pro.?


Locked Re: UNWANTED BLOCKS & TURNOUTS IN LISTING

 

Dave,
Thanks for the confirmation regarding the Blocks. What about the Turnouts?
Dave

Sent from my iPhone - Dave

On 30 Dec 2018, at 16:59, Dave Sand <ds@...> wrote:

Dave,

Blocks with only 2 connections are not active and can be deleted.

Dave Sand



On Dec 30, 2018, at 1:56 AM, Dave Roberts <dccdaveroberts@...> wrote:

Cliff,

So kind of you to reply and thank you. Like you, my layout developed over some ten years and grew alongside JMRI. As part of the learning curve that we all go through I created several Turnouts and Blocks using the INTERNAL Name. Many had mistakes in the name, usually me adding in an extra space here and there. These are very difficult to distinguish between too!

Sometimes it was when I renamed an existing block I would add number after it and then create a new second, sequentially numbered Block. The original block was still there in the listing. This was before the time when I could have just renamed it and saved it.

I was developing my Naming System and Turnouts proved a bit of a problem until I settled on my current Naming scheme which now sorts all items for a particular Location into one contiguous block of names.

However, I am left with several entries that are not used within the xml file as part of any part of the layout. I was hoping that as part of the Rename the Layout idea that JMRI could be made to just include those names that are actively used on the layout and leave the rest behind.

At present, by using my Naming Scheme, I can break all the Table records into Named Blocks of records and attempt a deletion there. It is easier than having to plough through every entry on the various Tables Listings.

The problem is identifying those not currently used. At the moment it would appear that the unused entries only have two connections but I am not sure if this is the default when they are created? Is so, then deleting all those with only the original two connections would appear to be the way to go but having spent many hours removing all errors between the Master, (Whole Layout) file Panel and the various Location Sub-Panels using the CHECK Tool option for all four of the areas specified, I need to be sure that I can get rid of all of the unwanted entries and so slim down the file to prevent any further errors arising in the future.

That is why I put out my request for further information to check if there has been any further developments over the past five years before I embark on what could be a potential nightmare scenario for me.

May I wish you a Happy and Peaceful New Year.

Dave


On 30 Dec 2018, at 00:19, Cliff Anderson <cliffaa@...> wrote:

Dave,

On Sat, Dec 29, 2018 at 01:03 PM, Dave Roberts wrote:

I have read the last conversation from Cliff in 2014 but has there been any progress in finding a way to remove unwanted/unused list items from the tables?

Perhaps you are referring to messages #103133 & #103134 from February 2014?

If so, it took me some time to recover them and even so I have only a dim memory of that thread after almost five years. Certainly, I have no recollection of further information and normal use of search mechanisms within the JMRI and this Groups sites have not been productive. My practice with the use of adding Blocks has become more careful to define a new block, but that does not help others much.

If these are not what you are alluding too, perhaps further clarification would be in order.

In either case, someone who uses the Layout Editor a lot more than I do would be better prepared to follow up on your request.

Cliff in Baja SoCal



Locked Re: UNWANTED BLOCKS & TURNOUTS IN LISTING

 

Dave,

Blocks with only 2 connections are not active and can be deleted.

Dave Sand

On Dec 30, 2018, at 1:56 AM, Dave Roberts <dccdaveroberts@...> wrote:

Cliff,

So kind of you to reply and thank you. Like you, my layout developed over some ten years and grew alongside JMRI. As part of the learning curve that we all go through I created several Turnouts and Blocks using the INTERNAL Name. Many had mistakes in the name, usually me adding in an extra space here and there. These are very difficult to distinguish between too!

Sometimes it was when I renamed an existing block I would add number after it and then create a new second, sequentially numbered Block. The original block was still there in the listing. This was before the time when I could have just renamed it and saved it.

I was developing my Naming System and Turnouts proved a bit of a problem until I settled on my current Naming scheme which now sorts all items for a particular Location into one contiguous block of names.

However, I am left with several entries that are not used within the xml file as part of any part of the layout. I was hoping that as part of the Rename the Layout idea that JMRI could be made to just include those names that are actively used on the layout and leave the rest behind.

At present, by using my Naming Scheme, I can break all the Table records into Named Blocks of records and attempt a deletion there. It is easier than having to plough through every entry on the various Tables Listings.

The problem is identifying those not currently used. At the moment it would appear that the unused entries only have two connections but I am not sure if this is the default when they are created? Is so, then deleting all those with only the original two connections would appear to be the way to go but having spent many hours removing all errors between the Master, (Whole Layout) file Panel and the various Location Sub-Panels using the CHECK Tool option for all four of the areas specified, I need to be sure that I can get rid of all of the unwanted entries and so slim down the file to prevent any further errors arising in the future.

That is why I put out my request for further information to check if there has been any further developments over the past five years before I embark on what could be a potential nightmare scenario for me.

May I wish you a Happy and Peaceful New Year.

Dave


On 30 Dec 2018, at 00:19, Cliff Anderson <cliffaa@...> wrote:

Dave,

On Sat, Dec 29, 2018 at 01:03 PM, Dave Roberts wrote:

I have read the last conversation from Cliff in 2014 but has there been any progress in finding a way to remove unwanted/unused list items from the tables?

Perhaps you are referring to messages #103133 & #103134 from February 2014?

If so, it took me some time to recover them and even so I have only a dim memory of that thread after almost five years. Certainly, I have no recollection of further information and normal use of search mechanisms within the JMRI and this Groups sites have not been productive. My practice with the use of adding Blocks has become more careful to define a new block, but that does not help others much.

If these are not what you are alluding too, perhaps further clarification would be in order.

In either case, someone who uses the Layout Editor a lot more than I do would be better prepared to follow up on your request.

Cliff in Baja SoCal


Locked Re: Buffer Signal Mast

 

Dave,

Make sure that all of the entries in Layout Editor Tools >> Checks are resolved.

If there have been a lot of block changes, go to the Blocks table and select Paths >> Delete Paths¡­ from the menu. Select Remove in the confirmation windows, save the panels, stop and start JMRI. During startup the block routing will be re-built.

Dave Sand

On Dec 30, 2018, at 5:16 AM, David Smith via Groups.Io <daversmth@...> wrote:

Hi All,

I am trying to add a signal mast to the end of a siding.

I have done this in 7 other locations successfully but this time it simply does not work.
I can create and add the signal mast, but the preceding signal does not find it when I use "Discover".

View block routing shows that all the track segments are connected as expected.
So I am utterly baffled.

Any suggestions ?

Thanks

Dave


Locked Re: Buffer Signal Mast

 

Hi Dave,

I have found in the past that this issue isn¡¯t limited to buffer stop signals. I¡¯ve had to delete, save and re-add my track segments and blocks etc for it to ¡°realise¡± what¡¯s connected to what and break the broken links.
I feel this could be due to a subtle corruption when saving the panel file or something along those lines.

just adding my experience in hopes of helping the solution.
--
Thanks
Mitch


Locked Re: Panel displayed on Computer screen is missing some of the tracks?

 

I¡¯ve noticed the same thing when I zoom out below 100%. The tracks at the bottom of the screen disappear. The labels are there, but no tracks. The tracks are a standard Mainline size.


Locked Re: Operations: Routes/moves/cars/kernels

 

You¡¯re right. J uses the track length, not car counts. D¡¯oh!

Jon


Locked Re: Decoder Pro problems

 

Hi Mark,?
It sounds like you and I are on a similar path (although it seems like you didn't actually state what the problem is in your original post).?

I'm a DCC greenhorn too and I am using a windows 7 laptop with jmri, a PR4 (properly connected to a programming track) and a Digitrax DCS51 controller and I'm starting with a walthers Proto EMD diesel with factory installed tsunami encoder. After wrangling with com port settings, java versions, jmri versions and the like, I was frustrated by repeated error messages (mostly 301). I decided to remove the computer and PR4 from the equation and went to using only the DCS51. Guess what? I still can't connect to the decoder and get a "d nr" message constantly. At that point I put a different loco on and have the same issue. I'm able to run the engines with the controller and all functions work but I just can't connect when attempting to program. I recently tried a 1k ohm resistor across the power on the programming track (as suggested on the soundtraxx forum) but to no avail.?

The reason I'm posting this to your thread is that i want to mention it may not be a jmri issue. Nevertheless, I'd be super grateful to anyone who can help (as I'm sure you would be too).?

Andy

On Sat, Dec 29, 2018 at 11:56 AM <mvdeschane@...> wrote:
I'm new to the group.? I have downloaded the software and watched the 5 videos that the DCC Guy has posted at his website and other JMRI Decoder Pro videos where I can find them.? So, I have attempted programming new and older locomotives using decoder Pro.? When I have done so, I have used "Direct" as the mode.? To further give you information:? I'm using a separate Programming Track that I can use here at my computer.? The computer is hooked to the programming track via a Digitrax PR-4.? The lights on the PR-4 light up, when I plug in the USB cord and I also plug in its' power cord.? I don't have my computer in the basement where the layout is, so the separate programming track is how I have to do this.

I realize that I am not giving adequate information to ascertain a fix, as I don't know enough to give you that, all I can do is describe what happens.? I go through the program per the DCC Guys instructions.? When done, I take the locomotive down to the layout and attempt to run.? Nothing happens, no lights and no forward or reverse movement!?

I understand because of my lack of even knowing what to ask you, your abilities to help me are limited.? Can you make suggestions on what to check?

Thank you for your time!

Mark?

--
Andrew Roberts Potomac Sound LLC PO Box 223 Monrovia, MD 21770-0223 (301) 332-6111 Andrew@...


Locked Re: Running JMRI From A MacBook Pro

 

What seems to be going wrong? We should first track down what the problem actually is before giving advice, as otherwise you might end up doing (and perhaps breaking) all kinds of things not related to the problem.

Does JMRI start?

Does the preferences window show up?

There¡¯s more on setting preferences, etc, here. Does that work as described, or is something unexpected happening?





Bob

On Dec 30, 2018, at 5:54 AM, stephenbomford <sph.b@...> wrote:

Hi

I am wondering if anyone can help, I have a brand new MacBook Pro running Mojave and loaded with JMRI and Java. I would like to run a Merg CBUS system from the computer but cannot establish a connection via the USB port.

Is there a quick fix for this ideally aimed at the non technical Mac user.

Thank you for your help and apologies if this question has been asked before.
--
Bob Jacobsen
rgj1927@...