Skip to content
Preconditions - input configs

Preconditions - input configs

Tip

See the Precondition - output configs documentation for information on using preconditions with output configs.

Preconditions control whether an input or output config is active based on a value. They are an advanced feature, and are best understood by following existing guides for common use cases:

The following sections provide reference information for the features of the precondition section.

Adding a precondition

Preconditions are added to configurations using the Precondition button.

Screenshot of an input config with the Precondition button highlighted.

In the preconditions pane use the Add precondition button to select the precondition type and add it to the config.

Screenshot of the preconditions pane with the list of precondition types highlighted.

The three types are:

  • Variable: Reads the value of a MobiFlight variable as the source value for the precondition comparison.
  • Config: Reads the value of an output configuration as the source value for the precondition comparison.
  • Arcaze-Pin: Reads the state of an Arcaze pin as the source value for the precondition comparison. This is a legacy feature and not commonly used.

After selecting the type, use the dropdowns to specify the source value and comparison operator, then enter the test value.

Screenshot of the preconditions pane with a variable precondition configured.

Changing the logic operator

When multiple preconditions are defined on a single config, logical operators indicate how the conditions should combine. By default each condition is added as an AND condition. To change the condition to an OR condition, use the logical operator dropdown.

Screenshot of a precondition with the context menu open to the Logical Operators menu item.

Editing a precondition

To edit existing preconditions, click the edit icon in the Preconditions section of the input config.

Screenshot of an input config with the precondition edit button highlighted.

Re-ordering preconditions

To re-order preconditions, use the up and down arrows next to each precondition to change their position.

Screenshot of the preconditions pane with the re-order arrows highlighted.

Disabling a precondition

To disable a precondition, use the toggle switch on the precondition.

Screenshot of the preconditions pane with the toggle switch highlighted.

Removing a precondition

To remove a precondition, click the delete icon next to the precondition.

Screenshot of the precondition pane with a delete icon highlighted.