JMRI: Conditional State Variables and Actions List
Author: Pete cressman
Keywords: JMRI help Logix Conditional Copy

# Conditional Copy List

  ## Logix Copy

  The conditionals of one logix can be copied into another logix by selecting the "Copy" item from the Select menu. The Copy Logix window will be displayed. This window is similar to the Add Logix window and the same rules must be be followed when creating a new logix. Additionally, you may enter the name of an existing logix and copy conditionals into it. You may even copy logix conditionals back into the same logix. Of course the same restrictions about duplicate system and user names of conditionals must be followed. For detailed information about editing conditionals see the Logix main page.

  ## The Copy List

  After choosing a target logix and pressing the copy button, the Copy List window is displays the list of conditionals of the source logix. Select a conditional from the list to copy. There are two ways to add the conditional to the target logix. Either is done by the radio buttons under the conditional list.

  ### The Change Items Only Button

  This choice (the default) displays a copy of the selected conditional for quick copying where you only want to change the items tested or items to react. The tests and actions of the item are shown but cannot be changed. The logical expression cannot be changed either.

  The items under the Name columns of the Variables and Actions tables are combo boxes (see "Logix Option Choices" below). These drop down to select the change of item for the variable or action. Actions may be deleted, but not variables.

  This choice is intended to for simply changing item names. Provide a name for the new conditional and press the Save button. The conditional is saved to the target logix and you are returned to the Copy List window.

  ### The Edit all Data Button

  This choice displays a copy of the selected conditional with full conditional editing capabilities. There are no restrictions on how the copy is changed.

  Provide a name for the new conditional and press the Save button. The conditional is saved to the target logix and you are returned to the Copy List window.

  ## Logix Option Choices

  The choices made under the Logix Options menu are followed by edit conditional window displayed by the Edit all Data button.

  The quick edit window displayed by the Change Items Only button uses drop drop down combo boxes for the "Traditional Pick List" option. If you prefer using a picklist other than combo boxes, use the "Single Pick List" option. To enter an indirect reference to a memory, the "Single Pick List" option must be used.

## Logix Documentation Pages Logically Listed