Conditional converter

Verify if the source variable value is
True
or
False
.

Input

Properties
Property
Description
True value
The value of the expression that is
True
.
False value
The value of the expression that is
False
.
Dynamic link mode
Read
Read direction for dynamic link icon
Read from the source node to the parent.
Default for dynamic links defined in NetLogics.
Write
Write direction for dynamic link icon
Write from the parent to the source node.
Read/write
Read and write direction for dynamic link icon
Read from the source node to the parent and write from the parent to the source node.
Default for dynamic links created in
FactoryTalk Optix Studio
UI.
Condition Dynamic link
The condition variable (Boolean).
This property is available only for converter instances and not converter types.

Output

A
True
or
False
value.

Example

In the following example, the conditional converter:
  • Sets the text color of a label to green if a switch is selected.
  • Sets the text color of a label to red if a switch is cleared.
Instance of a conditional converter
The Conditional converter configuration shows a True value set to green (#58cc48), a
            False value set to red (#e30707), and a Condition Dynamic link referencing
            Switch1/Checked.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal