¿ªÔÆÌåÓý

Date

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?

layoutBlock = layoutblocks.getLayoutBlock('blockName')
layoutBlock.setUseExtraColor(True)

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?


Locked Re: PanelPro not showing status of all sensors on start-up #lenz

 

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


Locked Re: PanelPro not showing status of all sensors on start-up #lenz

 

I¡¯ve been experiencing the same problem for a while with the block sensors on my Lenz system. JMRI only seems to recognise the state of the sensor when they start changing occupancy?
?
?


Locked Re: Copying/Exporting Logixng to new PanelPro profile. #logixng

 

Thanks, I'll give it a try.
Seth Olitzky


Locked Re: Copying/Exporting Logixng to new PanelPro profile. #logixng

 

Seth,

As of JMRI 5.9.3, LogixNG has an export option. For details see?

Dave Sand



----- Original message -----
From: S Olitzky <solitzky@...>
Subject: [jmriusers] Copying/Exporting Logixng to new Panel Pro profile.
Date: Thursday, September 19, 2024 7:46 PM

I extended/reworked my layout using Anyrail and created a new Panel Pro profile/layout making sure all of the existing block names were the same.? I was able to recreate by hand, sensors, turnouts, lights, and routes easily enough.
My logixng is large and would be difficult to recreate by hand.
?
I know there is no built in way to export/import the logixng from one profile to another.? I have read in an other post that there are steps to accomplish this.? I am brave enough to copy XML from one file to another to move the logixng.
?
Two Questions Then:
?
1.? Can someone provide me with the steps, gotchas, etc?
?
2.?? I have some inline logixng for a Panel with multi-sensors on the new profile.? Will these be alright since they are inline?
?
Thanks
Seth Olitzky
Panel Pro 5.7.7+
?
?


Locked Copying/Exporting Logixng to new PanelPro profile. #logixng

 

I extended/reworked my layout using Anyrail and created a new Panel Pro profile/layout making sure all of the existing block names were the same.? I was able to recreate by hand, sensors, turnouts, lights, and routes easily enough.
My logixng is large and would be difficult to recreate by hand.
?
I know there is no built in way to export/import the logixng from one profile to another.? I have read in an other post that there are steps to accomplish this.? I am brave enough to copy XML from one file to another to move the logixng.
?
Two Questions Then:
?
1.? Can someone provide me with the steps, gotchas, etc?
?
2.?? I have some inline logixng for a Panel with multi-sensors on the new profile.? Will these be alright since they are inline?
?
Thanks
Seth Olitzky
Panel Pro 5.7.7+
?
?


Locked Re: Want allocated trains to respect signals/unexpected occupancy. #dispatcher

 

Hubert
The safest answer is to say no.
Once a section is allocated to a train it cannot always, and in certain situations never, detect the wrong train is in that section.
Steve G.
?
?


Locked Re: Apache server

 

The OP might find this page useful:



I don't know to what extent JMRI's web server is "secure", but it is possible
to properly secure Apache, so using Apache (as a "reverse proxy") + Let's
Encrypt to provide SSL (https), might be a way to provide access to JMRI from
the public Internet in a secure way. Assuming that is really what the OP
wants to do...

At Thu, 19 Sep 2024 23:43:32 +0200 [email protected] wrote:


Why do you want SSL? What's your use case for this?

Do you have the JMRI computer open to the Internet so that other people
can access the JMRI computer?

Daniel

On 2024-09-19 04:09, Canadian Locomotive Logistics wrote:
Well yes and no.

i have 150 plus devices online.

other devices and port forwarding are already in effect.

why cant a ssl certificate just be imported into JMRI like some of my
other devices?





--
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software -- Custom Software Services
-- Linux Administration Services
heller@... -- Webhosting Services


Locked Want allocated trains to respect signals/unexpected occupancy. #dispatcher

 

Hi,
Basic ask, can Dispatcher run auto-trains to observe unxpected changes in signals when an unexpected occupancy occurs along an allocated section?
?
As it stands now, if i place an engine in a block of an allocated section, the auto- computer train will crash in to it even if the block is occupied and many blocks down stream of the auto-train and well before the auto-train arrives.
?
This can occur due to parts of my layout not having detection and other being primarily computer controlled. I have a grade crossing that intersects the primarily automated portion. The crossing is not known to the JMRI panel currently.
--
tia,
Bill
DiverseHobbies operates a:
10x16' HO multi track layout; Lenz LH101 throttle drives a LZV100 for JMRI Automated Sections & All Turnouts. Balance of layout is driven by a LV102? booster for the manually controller portion of the layout Mains. JMRI is running on an HP Envy 15" touchscreen w/ AMD Ryzen 5. Lenz LI-USB interface on COM 5.


Locked Re: Deleting Objects in Scripts

 

¿ªÔÆÌåÓý

Yes.

Daniel

On 2024-09-19 01:05, Snorkel wrote:

Guess I need something like this:
?
import java.beans
...
try:
? ? sensors.deleteBean(s,"CanDelete")
? ? sensors.deleteBean(s,"DoDelete")
except java.beans.PropertyVetoException, e:
? ? print("exception thrown")
#? parse e and decide what to do
...