The Switchboard Editor
Switchboards provide a visual control grid for your JMRI layout "out of the box".
To create a new Switchboard, from the Panels menu, choose New Panel > Switchboard Editor.
A default pane with switches for Turnouts in the range 1 - 32 opens.
If any Turnouts were defined in JMRI beforehand, those switches will immediately show their current state and let you control them.
To the left, a small Switchboard Editor pane allows you to refine what this Switchboard will control. Select an option for:
- Bean type - to control a range of Turnouts, Sensors or Lights
- Connection - select Internal or an active JMRI connection
- Shape - pick a visual presentation for the switches:
- Button - standard Java buttons
- Slider - a modern interface popular in smart phones
- Key - the classic layout keyboard inspired by the Märklin hardware Keyboard
- Symbol - schematics like the traditional (Control) Panel
- Set the number of switches to be displayed in each row (number of rows is calculated)
Optionally, select a background color for this Switchboard from the Options menu. To use the new settings, click [Update Switchboard] to replace all current switches. Note that hybrid Switchboards containing more than one bean type or connection are not saved to disk. You can create and save separate Switchboards for different connections, address ranges and object types like Turnouts. Change the name of this Switchboard by choosing Rename Switchboard... from the Edit menu while the Editor is open.
When ready, close the Editor by clicking the Close box in the title bar. Open the Editor at any time from the Edit menu.
Quick Reference Guide - Using the Switchboard
Clicking on an active switch on the board will send an instruction to the layout to toggle the item (on/off, closed/thrown). Depending on the hardware, the switch on the board will change to show the new state.
A tooltip appears when you hover your mouse over a switch, showing the user name of that item (if it's connected and set).
Right-click a switch to open a context-menu and:
- set the user name of a connected item (stored in the item, not in the board)
- attach a new item to an inactive switch (using the name of the switch and the object type as set in the Editor)
- To come: invert a turnout so it displays the intended state (depending on protocol support)
- To come: flip the switch icon to better represent the position of the connected turnout (presently not saved)
Remember to save your setup and configured items by choosing Save Panels... from the File menu.
You can have your Switchboards open automatically upon startup by setting them as as a Startup Action under Preferences > Startup.
Back to the PanelPro help page.