¿ªÔÆÌåÓý

Date

Locked Re: Help with Parse Error

 

Gavin,

You are running 4.12.

I suspect that you saved the xml file while you had a partial signal mast logic definition. I tried to force the problem myself but I could not get a partial save. In the future, make sure all edit dialog windows have been closed.

A fixed file is located at /g/jmriusers/files/ProblemsBeingWorkedOn/dsand//Woods%20Parse%20Error%20Panel%20DS.xml

Dave Sand

On Jul 22, 2019, at 10:12 AM, Gavin Woods <gavwoods@...> wrote:

Dave
Thank you for your response.
System information:
iMac (mid 2007) running OSX 10.9.5
DecoderPro v14.2

I was editing signal logic at the time. Quit program (all seemed normal). When re-started, problem occurred.

I have uploaded panel to 'ProblemsBeingWorkedOn' folder as 'Woods Parse Error Panel'

I appreciate any help you can give me.

Gavin


Locked Re: Help with Parse Error

 

Dave
Thank you for your response.
System information:?
iMac (mid 2007) running OSX 10.9.5
DecoderPro v14.2

I was editing signal logic at the time. Quit program (all seemed normal). When re-started, problem occurred.

I have uploaded panel to 'ProblemsBeingWorkedOn' folder as ?'Woods Parse Error Panel'

I appreciate any help you can give me.

Gavin


Locked Re: Help with Parse Error

 

Gavin,

A typical signalmastlogic element looks like the following:

? ? <signalmastlogic source="SM-WM-1">
? ? ? <sourceSignalMast>SM-WM-1</sourceSignalMast>
? ? ? <destinationMast destination="SM-WM-3">
? ? ? ? <destinationSignalMast>SM-WM-3</destinationSignalMast>
? ? ? ? <comment />
? ? ? ? <enabled>yes</enabled>
? ? ? ? <allowAutoMaticSignalMastGeneration>no</allowAutoMaticSignalMastGeneration>
? ? ? ? <useLayoutEditor>yes</useLayoutEditor>
? ? ? ? <useLayoutEditorTurnouts>yes</useLayoutEditorTurnouts>
? ? ? ? <useLayoutEditorBlocks>yes</useLayoutEditorBlocks>
? ? ? ? <lockTurnouts>no</lockTurnouts>
? ? ? </destinationMast>
? ? </signalmastlogic>

If you go to line 929 with a text editor that supports XML, you might be able to see what might be wrong.

Since we don¡¯t know what JMRI version or operating system is involved, further recommendations are not possible.

If you upload the xml file to the ProblemsBeingWokedOn folder, we can look at it. ?

The real question is why is the destinationMast element missing? ?To determine that, we will need to see the xml file.


Dave Sand

??

On Jul 21, 2019, at 10:13 PM, Gavin Woods <gavwoods@...> wrote:

Would anyone be able to help guide me as to how to resolve this error?

On start-up, I get the following parse error:
Exception: org.jdom2.input.JDOMParseException: Error on line 929: cvc-complex-type.2.4.b. The content of element 'signalmastlogic' is not complete.?One of '{destination Mast}' is expected.

The panel does not load -- JMRI starts up with just my roster information.

Any help would be appreciated! Thanks.


Locked Re: JMRI operations How to set up for a complete session #operationspro

 

Bill

I've setup operations one 4 different layouts around the area and all but one runs the session in real time, generating paperwork as the trains move along the layout. I have one that we print out the whole session. Yes some cars still are used or moved more than once but here is what needs to be done for this to all work. The crews have until the mid-session break to have their setouts all in place. After the mid-session break the later trains will pull those setout cars?and drop off cars for the next session. So to orchestrate all of this we build and terminate trains. This is all done using the automations in the trains area under tools. When a train is built the automations generate the paperwork, move the train to the final location on its route and terminates it. Then a popup tells us?the next train is ready to build and a click on the OK?builds the train?and the process goes on for the next 20 trains.?On the layouts running in real time, a movement on the JMRI dispatchers panel of the train icon will set further train building in action, again all automatically. Here on my layout I use CATS for dispatching. A train occupying a certain block, station, location, will trigger an automation creating a train and its paperwork. When the CATS computer sees a certain train is at a certain "station" that move will trigger a train movement on my JMRI computer which in turn triggers an automation. Works pretty slick and many thanks to those that created this feature for me to use. It truly does simplify dispatching in real time for the occasional dispatcher.


Locked Controlling Servos directly connected to Arduino with DCC++ Base Station #arduino #dccpp

 

Hello Group,

I have an Arduino Mega with motor shield running DCC++. I also have a Raspberry Pi running Steve Todd's image. I have upgraded JMRI on the RPi to v4.16 and Java 1.8.0_65. I have the letter "D" as the connection prefix in the JMRI connection preferences.

I have a servo connected directly to the Mega with 5V, GND, and PIN15 for control. I checked the wiring and have a good 5V going to the servo. I have created an entry in the JMRI turnout table with hardware address 115 (now shows as DT115) and chose "BSOUTPUT" in the Feedback Mode chooser. I then added an output to the DCC++ base station configuration with Index 115 assigned to PIN 15.

I built a quick panel with DT115, and this seems to work OK as the icon moves when clicked, I see "closed/thrown" in the turnout table and I see the Output Cmd "Output ID: 115 low/high" in the DCC++ traffic monitor, but the servo does not move. I have tested the servo by itself using an Arduino servo sketch and it works fine.

What have I missed?

Thanks for your help,

Richard


Locked Re: Cantons / Stop trains in block with red signal

 

@Dennis
You said:?"Decoder Pro might give you the answer also if it has the feature for you to activate."
?
Can you explain to me how to check with DecoderPro
?
Thank's


Locked Re: Right way to shutdown JMRI running on Raspberry Pi? #rpi

 

On Sun, Jul 21, 2019 at 11:06 AM, Bob Jacobsen wrote:
This is in the distributions as the jython/RaspberryPiShutdown.py sample script.
In my RPi-JMRI distribution, I have a button that calls this script on the main PanelPro window, and I've set this window to be accessible via the JMRI web server. So users can click the button in their browser to kick off the orderly shutdown.

Note: I rarely use the button, I normally just kill the power as others have mentioned. For our club, same thing, the RPi is attached to the main power and is killed and started along with it. No training needed.

--SteveT


Locked Re: JMRI operations How to set up for a complete session #operationspro

 

I looked up the little book ("Condensed Code of Operating Rules"), and it is available at the following link: .

Phil


Locked Re: JMRI operations How to set up for a complete session #operationspro

 

Never eat breakfast while writing a post.

As a newbie to Operations, I did buy a little book "Condensed Code of Operating Rules, Edition of 1951" (by S.P. Karas and R.S. Hanmer) which has been a goldmine of learning for me.? I took that book and created a one-sheet "Condensed Condensed Code of Operating Rules" for our Club to help Conductors/Engineers learn how to run their train using TimeTable and Train Order Operations.? We do run TT/TO: no signals other than pretend semaphores at each "manned" Station for signalling to pick up a Train Order at that Station).?? Conductor/Engineer is given a Clearance Form A to permit them to leave their origin station, and must use Railroad Time (displayed as a 1:1 Fast Clock on the overhead monitor) and the TimeTable to make decisions on movements.?

Burr, thanks for the question: others may answer your actual inquiry better since I think many have moved from CC/WB to a software solution.

Phil in gorgeous Young Harris, Georgia, USA


Locked Re: JMRI operations How to set up for a complete session #operationspro

 

Burr, I was not involved in the decision to move to a software solution. My involvement with Operations (never done it before) began when I volunteered to be on the Ship-It! committee to develop that software into a working solution.? I took the ball and ran with it.? The Club bought the software before I was aware of it.

The Committee was provided with a Timetable for trains which would have run during the era we model, and a listing of the on-layout industries with the products they shipped and the materials they needed.? The Timetable is a critical part of running any of the software (as specifically noted by David in his message, and alluded to by me) and the hard work of laying one out had been done for me!?

Personally, I have Operated on only one other layout (Yard Helper, not involved with any decisions) so I am not familiar with use of CardCards/Waybills.? I do know that the software solution seems much easier to set up a session since I can print out a report showing where the cars should be (left after the last session, corrected by any notes provided by the Conductors/Engineers from the last Session) both by car number (so we can say "Where is this car supposed to be?"), and by location (to verify all cars are in whatever spur).? But without real experience in CardCards/Waybills, I cannot say much.?

I also never worked for a railroad, so all the concepts were new to me.? I did buy a little book "Condensed

Hopefully this explains a little more, although I lack the experience in other ways of Ops.

Phil in gorgeous Young Harris, Georgia, USA


Locked Alternate Sections in Transits using Dispatcher

 

Hi - I hope someone will be kind enough to help please.

In my Transits I set up alternate Sections where available (ie for single line coming into dual platforms for instance), and it works perfectly if one or other of the Sections is occupied. -?

However, if both Sections ahead are occupied then a window comes up asking the user to choose a Section for the train to use. - In fact multiple windows open for each section the train passes through on the way to the red light in front of the 2 blocked sections. - This means that running is sadly no longer automatic.

I don't know if anyone is actively working on Dispatcher, but it would be wonderful if in the above scenario the train stopped and waited for one of the two Sections ahead to become clear.

So, firstly, in case I've missed something / am being stupid (!), please could someone confirm that I'm not doing something wrong

& Secondly, if I'm right I wonder if some kind soul could see if this could be fixed please.

Many thanks
Torben


Locked Re: Cantons / Stop trains in block with red signal

 

Hello,
?
Thank you very much everyone!
?
Yes, most European decoders work, but you should always check.
?
My test LaisDccs don't work, but they are cheap and just for testing purposes ;-)
?
I also tested the JMRI version with the Warrants, it's good too and it works on all de facto decoders.
?
Maybe one day it will be in the NMRA standard, but that's another subject?


Locked Help with Parse Error

 

Would anyone be able to help guide me as to how to resolve this error?

On start-up, I get the following parse error:
Exception: org.jdom2.input.JDOMParseException: Error on line 929: cvc-complex-type.2.4.b. The content of element 'signalmastlogic' is not complete. One of '{destination Mast}' is expected.

The panel does not load -- JMRI starts up with just my roster information.

Any help would be appreciated! Thanks.


Locked Re: JMRI operations How to set up for a complete session #operationspro

 

Bill,

Generate a timetable for the trains you run on your railroad.? When you generate your manifests do it in time table order - building and terminating trains in the order dictated by the timetable.? Leave plenty of time between trains that depend on previous trains to have delivered cars - slow or new operators can delay trains.? Simply BUILD,TERMINATE and PRINT in timetable order until you have processed all of the trains that will run in that session.? The paperwork will reflect all of the trains completing their respective routes more or less on time and as if previous trains have also finished on time thus releasing their cars at the appropriate locations.? The software assumes that all terminated trains ran correctly and all of their cars were picked up and spotted as directed.? If an operator made a mistake, it will not be reflected in the paperwork and you have to work around it - 0-5-0, air freight or just live with it and make corrections as necessary for the next session.? I tell my operators to do their best and annotate their switch lists with any discrepancies then I make correction between sessions

We did this for years on our previous railroad, generating a complete 24 hour, fast clock time session before any wheels turned.? On the new railroad, partly because of its larger size, we will not be able to complete a 24 hour fast clock day in a four hour operating session (6:1 clock) - A and B are now farther apart so it takes longer.? The clock ratio will be reduced to 5:1 or 4:1 resulting in 20 hour or 16 hour fast clock 4 hour real time sessions.? The process will be the same except we will just print either 20 or 16 hours of manifests instead of 24 hours.? Sessions will not always end? and start at midnight as before.? Each new session will start where the previous session left off.? In order to not get too confused and too far off schedule, we will pick some reasonable time and bring all trains on the railroad up to date at that time when a session ends - whatever time that is.? This synchronizing activity also gives us the opportunity to run a few trains between sessions!
Hope this helps,
Dave...
Castle Rock & Pacific
Franktown, CO


Locked Re: JMRI operations How to set up for a complete session #operationspro

 

Phil - This is such a helpful description, thank you for posting. Can you say more about why the car cards and waybills didn't work for your club? I am setting them up for my layout with a "via" field to indicate which train(s) the car should be handled in, which seems like it would be easier for yardmasters than having? switchlists of cars that may or may not be present in incoming trains.

Burr Stewart
Seattle, WA
burrlingtonnorthern.blogspot.com?


Locked Re: Roster Entry Issues

 

Exactly the same thing has happened to me two days ago. I open up Roster and am met with a beginning screen. Very strange. It had been working fine for a year or more.


Locked Re: Right way to shutdown JMRI running on Raspberry Pi? #rpi

Robert Schworm
 

Thanks for all updates and comments.? Guess I am a bit old school and do not like to take chances with computers.? It can be painful.?

Bob

On Sun, Jul 21, 2019 at 3:20 PM crusader27529 <crusader2752939@...> wrote:
There's a good way to gracefully shutdown an RPI in general, and one running JMRI.

Obviously, the ideal way is to issue a 'shutdown -h now' command, but since most RPI systems used for JMRI run headless, that's kind of difficult to do. So, I found this reference, and it works like a charm:



It has the added benefit that if you want to re-power the RPI after you shut it down, pressing the switch starts it up for you. So, to shutdown the RPI, press the switch, and it issues a 'sudo shutdown -h now' for you, which will shutdown any open programs, and then shutdown the RPI to a low power state(about 1ma of power used).

I've tried it on model 3B, 3B+ and Zero W RPIs, and all worked as described. After you press the button, simply wait for 15 seconds or so for the RPI to finish writing anything it needs to the SD card, and you're done. You can remove power at this time or leave it on until you want to use the RPI again. If you remove power, it will auto start when power is applied as normal.

The ONLY issue is that it uses some of the pins that the SPI buss would use,? but that shouldn't affect most RPI JMRI installations.


Locked Re: Roster Entry Issues

 

It seems whenever none of my roster entries will display I generally get a prior message that says: 'Error on line 1.'
Sounds like some kind of computer issue. With only 10 loco entries in my roster it is almost easier to add the missing entries and delete any that reappear as duplicates at a later date. I am not that computer savvy so with such a small roster that may be the best solution for me.

Dave Seils


Locked Re: JMRI operations How to set up for a complete session #operationspro

 

¿ªÔÆÌåÓý

I am a member of a group that operates weekly rotating through 6 different layouts. 5 of those use JMRI for the paperwork (the 6th uses car cards). All 5 of us that use JMRI have to Terminate some trains before building others in order to have the cars forwarded in the correct trains.

?

We do this during the pre-ops printing rather than terminating & printing during the Ops. (although either one could work). I much prefer having all paperwork ready before Ops starts...

?

I am going to attempt to attach my printing sequence that I refer to while I am getting the printing done. If it does not show up on this posting, I would be glad to send it to you directly. It is best viewed on Word Pad, but should at least be legible on other formats.

?

Dave Beidle

St Louis


Locked Re: JMRI not reading new Loco

 

¿ªÔÆÌåÓý

Ken,

?

What DCC system are you using?

?

Different manufacturers have implemented ¡®Service Mode¡¯ programming (the programming track) in different ways.

?

Service Mode programming is intended to provide for testing and programming of decoders without risking failure due to a wiring error.? This was extremely important in early DCC times when all installations were hard-wired and locomotives required properly ¡®isolating the motor brushes from track power.¡¯?

?

Placing a locomotive with a wiring error, or that hadn¡¯t had the motor brushes properly isolated on track power,? usually resulted in a puff of ¡®magic smoke.¡¯?

?

A ¡®pure¡¯ service mode programming track is unpowered EXCEPT for the very low power ¡®burst¡¯ during the brief moment the programmer is sending commands to the decoder.? This prevents a ¡®magic smoke¡¯ eruption if there is a wiring error.

?

NMRA standard S9.2.3 ¨C Service Mode (July 2012) says:

¡°.? .? .? Service Mode is designed for testing and customization of Digital decoders, it is recommended that:? .? .? .

?

3) Service Mode operations should be performed in an environment with limited energy to prevent damage to decoders during programming. For the purposes of this STANDARD, limited energy is defined as 250 mA, sustained for more than 100 ms.¡±

?

< >

?

This worked until sound decoders were introduced.? Nearly all sound decoders include capacitors that prevente service mode testing and programming until the capacitors are charged.? (Some more recent decoders don¡¯t have this issue.)

?

Some DCC systems now keep the ¡®programming track¡¯ powered until the moment a programming command is sent.? You are likely seeing ¡®track power¡¯ on your programming track.

?

Digitrax is one system that has a ¡®true¡¯ low-power programming track.

?

HTH - YMMV

?

Ross

?

?

?

From: [email protected] <[email protected]> On Behalf Of Ken via Groups.Io
Sent: Sunday, July 21, 2019 2:37 PM
To: [email protected]
Subject: Re: [jmriusers] JMRI not reading new Loco

?

Strange, I have full 15V on the programming track!
Hence my original suggestion stands.