Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Jmriusers
- Messages
Search
Locked
Re: Preventing Dispatcher to use a specific section
#dispatcher
Fred
You cannot allocate a section unless it belongs to a train.
Why dont you schedule a train for your script train and do not set it to run automatically. The auto engineer is an add-on to the dispatcher, the prime purpose of dispatcher is running manually operated trains.
?
It would help if you give the details of what you are trying to achieve. From what you have stated you want to run a script for a train in a section, did you mean sectionS? Are there multiple blocks in the section? Are you running in and out and in and out of the section.
?
From what you have described the stop allocation sensors is perfect.
?
Steve G.
?
? |
Locked
Suggested feature
Where reading a million CVs from a ESU decoder, sometimes my DCC units will fail, and needs to be rebooted.?
JMRI will continue to try and read the Cvs.?
i would like the program to pause reading the decoder.?
?
?
Currently, I just reboot the digital command control unit and let it finish reading the CVs
?
Then go back and read changes.?
it works.? |
Locked
Re: Saving Throttles
#jmrithrottle
Thanks. I will give it a try. I will also investigate what swap means. The WiThrottle works fine with my iPad, for what that's worth.
?
Alan - Valdez, Alaska |
Locked
Re: Having cars move from Town A to Town B via a yard
#operationspro
On Sat, Sep 21, 2024 at 10:14 AM, Rick Stoneking wrote:
So when an inbound train arrives at the yard, since that is the final destination for the cars, the yard master has no idea where those cars will be going in the next session so he has no way to classify cars based on the next destination for that car.?Correct.? If you want to classify cars out of your yard, the yard can't be the final destination for your cars.? What you want is the have your yard be an intermediate stop. Eventually a car does arrive at it final destination and can't be classified until its given a new final destination.? The final destination could be a yard, interchange, spur or staging. ?
Dan |
Locked
Re: Preventing Dispatcher to use a specific section
#dispatcher
or this
?(?s, int?num, int?dir,??at) |
Locked
Re: Preventing Dispatcher to use a specific section
#dispatcher
something around that ?
?(?b, int?occ,??as)
?
sorry if it is a stupid proposal, as I am rather new to java
Fred |
Locked
Re: Preventing Dispatcher to use a specific section
#dispatcher
I understand. I just wanted to find a way to avoid to reset all transit adding "stop allocating sensor",?
Fred |
Locked
Having cars move from Town A to Town B via a yard
#operationspro
I am trying to figure out how to accomplish the subject task. Currently the two yards on my RR are the origin/destination for all trains. So when an inbound train arrives at the yard, since that is the final destination for the cars, the yard master has no idea where those cars will be going in the next session so he has no way to classify cars based on the next destination for that car.?
I have done some searching (not an exhaustive effort) to see how this can be accomplished in JMRI but have not found the answer yet. I am assuming it has to be doable but cannot figure out how.?
thanks,
Rick |
Locked
Re: Preventing Dispatcher to use a specific section
#dispatcher
Steve, Would the following stop Dispatcher allocation?
And then use False to release the block. Dave Sand ----- Original message ----- From: Steve_G <RailRodder22@...> Subject: Re: [jmriusers] Preventing Dispatcher to use a specific section #dispatcher Date: Saturday, September 21, 2024 8:23 AM The stop allocating sensor has the same outcome. Steve G. ? |
Locked
Re: Preventing Dispatcher to use a specific section
#dispatcher
The stop allocating sensor has the same outcome.
Steve G.
? |
Locked
Re: Preventing Dispatcher to use a specific section
#dispatcher
Steve,
I see, I am using it for other purpose. Yes, it is an option.?
But I was looking for a way to inform the dispatcher that the section was already in use as if it would have been alocated for another train dispached.?
fred |
Locked
Re: Preventing Dispatcher to use a specific section
#dispatcher
Fred
A stop allocation is a regular sensor, normally internal, you use it in the transit definition. It's set the same way as any other sensor in a script.
Do not use providesensor method as you want the script to error if it doesn't exist.
Steve G.
? |
Locked
Re: Preventing Dispatcher to use a specific section
#dispatcher
Hi Steve
Where the "stop allocation" sensor and how to set "stop allocation" sensor with script ?? |
Locked
Re: Preventing Dispatcher to use a specific section
#dispatcher
Fred
?
If you need to temporarily reserve it use stop allocation sensors in the transits so trains will not allocate that section until you release the sensors.
?
Another way, no so pretty.
Make the block sensor internal.
It regular use use logix to reflect the actual sensor to internal. When running the script disconnect that logix and force the internal sensor active. ?
Steve G.
?
? |
Locked
Preventing Dispatcher to use a specific section
#dispatcher
Hi
I need to run a specific train with scripts that run on section A. Once the script is launch, I do not want? that the dispatcher ( required by another train) uses section A and interfer with my scripts. How to prevent that ? I have seen that setting direction sensors of section A ?( at the beginning of the script) doesn't prevent the dispatcher to plan on this section A as these sensors are not locked, and that the dispacher takes control of these sensors.
I would like to prevent dispatcher to use section A in both directions.
Any idea on how to do and script that ?
Thanks for your help
Fred |
Locked
Re: I sill have not made it yes I know I must be a real dummy
Hi Frank,
?
You need to copy the six operation files found under the directory "operations" or copy the entire operations directory.
?
To find the operation files, use the Help->File Locations.? Using the "Open User Files Location" button,? copy the "operations" directory.? On the new PC, replace the "operations" folder using the same method you used to find it on the old PC.
?
Dan
?
? |
Locked
Re: How can I use Script or Sensor to start servers?
#webserver
#withrottleserver
Thanks, Bob.? I added the word "None" in the action.Performed() parenthesis like the other statements, then it worked perfectly.? ?
?
I appreciate your help.
?
Phil? |
I've always had this on our group's modular layout, where several modules have feedback with a mix of LR101 and LDT units. ?I wonder if it matters when the parts of the system power up. I usually have to place my polarity tester on at least one block for each unit to give a detection signal, then the rest of that unit's blocks will show up if occupied.?
?
Do you have the track power monitor connected on the LR101? that may help.
?
Mike |
to navigate to use esc to dismiss