A Logix is a small group of Conditionals focused on a single task on the layout. Each Conditional may be viewed as a statement of the form:
if (logical expression) then (action).
The Logix Table lists all currently defined Logix by their System Name and User Name.
You may change the order of the columns by dragging their titles, and sort the rows by clicking one of the sort triangles next to a column title.
The last column of the table provides four things you can do with a Logix: Edit it, Browse it, Duplicate it, or Delete it. Simply clicking Select will drop down a menu with the choices: Edit, Browse, Copy, Delete.
The Enabled column allows you to enable (checked) or disable (unchecked) a Logix. A Logix does not have a state as many JMRI entities do. A Logix does have the capability of being "enabled" or "disabled". When a Logix is not enabled, the logical expressions of its Conditionals are still evaluated, but the actions specified in the Conditionals are not taken. When a Logix is enabled after having been disabled, its Conditionals are recalculated and appropriate actions taken.
To create a new Logix, click the Add... button at the bottom of the Logix Table. This will bring up a "Create Logix" pane. Entering a System Name and optionally a User Name, then clicking Create Logix, will create the Logix, and bring up the Edit Logix window. Once a Logix is created, its System Name cannot be changed. Its User Name, however, may be changed in either the Logix Table or the Edit Logix window. A new User Name may be any useful text, provided the new User Name was not already assigned to another Logix. (See also the separate help page on adding Logix and a step-by-step guide.)
The File menu at the top of the Logix Table provides for printing this table and for storing the Logixs and their Conditionals in a layout configuration file. For details, see Loading and Storing Your Work.
The Options menu has 3 sections.
The first section is used to Enable or Disable all of
the Logix definitions.
since 4.7.3 The second section is used to select one of three
methods for entering item names for the Logix Conditional Variables and Actions:
since 4.9.2 The third section is used to select the Conditional Editor.
The Tools menu has 5 items:
For more information, consult the main Logix documentation.
Logix documentation is divided into eight different help pages. While these are referenced via links in various places, not all are easy to find (perhaps three links down). They are additionally listed here for convenience.
Thanks and congratulations to all who contributed! Contact us via the JMRI users Groups.io group.
Copyright © 1997 - 2024 JMRI Community. JMRI®, DecoderPro®, PanelPro™, DispatcherPro™, OperationsPro™, SignalPro™, SoundPro™, TrainPro™, Logix™, LogixNG™ and associated logos are our trademarks. Additional information on copyright, trademarks and licenses is linked here.
View the