Dispatcher Options
Introduction
The Options Window provides for tailoring Dispatcher options according to user needs and preferences. The Options Menu provides access to Dispatcher options and provides for saving Dispatcher options on disk for later use. Both are described below in detail. Available Dispatcher options are described fully in the following section.Using the Options Window
Selecting Options Window... in the Options menu of the Dispatcher window brings up the window shown below.
This window shows options currently selected for Dispatcher. To change Dispatcher options, change to the desired option configuration, and click the Apply button. All options are set to the selections in the Options window, and the Options window disappears. To dismiss this window without changing any options, click the Cancel button. Each option is explained below:
Check Use connectivity from Layout Editor panel: and select a Layout Editor panel (if there's more than one panel), if you have a Layout Editor panel that fully describes your layout, including blocks and turnouts, and would like Dispatcher to make use of this connectivity. Uncheck this item if no Layout Editor panel with full connectivity is available. If this item is checked, Dispatcher will automatically check if turnouts are set correctly when allocating a Section, and will inform the dispatcher if the turnouts are not set correctly. This item must be checked if Dispatcher is to set turnouts when a Section is allocated (see below), and if trains are to be run automatically.
Select one of the three options for Dispatcher to select trains from when creating Active Trains. The three possibilities are:
- Trains from Roster - Dispatcher will list all trains in the JMRI Roster that are not currently in Active Trains.
- Trains from Trains - Dispatcher will list all trains available from Operations that are not in Active Trains.
- Trains from User Entry - Dispatcher will replace the train selection box in the Activate New Train window with two entry fields allowing the user to enter a train name and a dcc Address.
Check Layout has block detection hardware if block occupancy detection is available from the layout. Uncheck if the layout does not have block occupancy detection, or if Dispatcher should not make use of block occupancy detection. Block detection hardware is required for automatic running of trains.
Check Automatically allocate Sections to Active Trains to activate automated allocation. Uncheck to deactivate automated allocation. This item is equivalent to the Auto Allocate item in Dispatcher's Options menu. Note: Automated allocation of Sections is not implemented in the current version of Dispatcher. It is expected to be added in the future.
Check Automatically set turnouts when a Section is allocated to activate automatic setting of turnouts. Uncheck to deactivate automatic setting of turnouts. This item is equivalent to Auto Set Turnouts in Dispatcher's Options menu. This item requires that Use connectivity from Layout Editor panel be checked (see above). Turnouts will not be set unless the Section to be allocated is free and unoccupied, except for the first Section of an Active Train that starts in the Transit. If turnouts cannot be set, the dispatcher will be warned. When setting turnouts, Dispatcher only issues commands to set turnouts; it does not wait for turnouts to actually change. This item is required for automatic running of trains.
Check Use short Active Train names to use the train name as the Active Train name in tables and selection boxes where Active Trains are referenced. Uncheck to use the full Active Train name in those locations.
Check Place train name in starting Block to request that Dispatcher set the "value" of the starting Block to the train name when creating a new Active Train. Uncheck to suppress setting the starting Block value to the train name. This feature is designed to facilitate Train Tracking in Layout Editor panels.
Check Use alternate color for allocated Blocks to use the Layout Editor alternate unoccupied color for allocated Blocks in Layout Editor panels. This option is designed to make it easier for the dispatcher to see which Sections have been allocated.
Check Place train name in allocated Blocks to place the name of the Active Train to which a Section is allocated in the Memory label of Blocks of the Allocated Section. This feature, coupled with the above alternate color option, makes it easy for the dispatcher to see which Allocated Section is allocated to which Active Train when viewing a Layout Editor panel.
Select layout scale in the Layout Scale selection box. The selected scale is used in conjunction with Block length in automatic running of trains.
Select the preferred Units, either Scale Feet or Scale Meters for referencing train length and block length in Dispatcher.
Important Note: Remember to save your Options (see Below). If new Dispatcher Options are not saved, they revert to the previous values the next time Dispatcher is run.
Using the Options Menu
The Options menu is used to access, edit, and save Dispatcher options. Items in this menu and their use are explained below:Auto Allocate - This check box is used to turn automated allocation functions on (checked) or off (unchecked). This item is equivalent to an item in the Options Window. Automated dispatching may be turned on or off at any time. The item is repeated here for convenience of the dispatcher. Note: Automated allocation of Sections is not implemented in the current version of Dispatcher.
Auto Set Turnouts - This check box is used to turn on (checked) or off (unchecked) automatic setting of turnouts when Sections are allocated. This item is equivalent to an item in the Options Window. Automatic setting of turnouts may be turned on or off at any time, except for automatically running Active Trains. The item is repeated here for the convenience of the dispatcher.
Options Window... - Selecting this item brings up the Options Window described above.
Save Options... - Selecting this item saves Dispatcher options currently in effect into a small XML file (dispatcheroptions.xml) in the user's preferences directory. This is the same location where JMRI preference files are saved. When Dispatcher is started, if a file named "dispatcheroptions.xml" is found in the user's preference directory, that file is read, and Dispatcher options are set accordingly. If the file is not present when Dispatcher is started, default options are used. Note: Dispatcher options are not saved automatically. Saving Dispatcher options is optional. Selecting this menu item is the only way to save Dispatcher options.