Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Configure Condition Dialog Box

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Right-click a Conditional Disable structure and select Add Subdiagram After, Add Subdiagram Before, Duplicate Subdiagram, or Edit Condition For This Subdiagram from the shortcut menu to display this dialog box.

Use this dialog box to configure when a subdiagram executes.

This dialog box includes the following components:

  • Expression—Specifies a set of conditional statements that LabVIEW evaluates to determine the active subdiagram of the structure. The expression includes the following components:
    • Symbol(s)—Lists all available symbols. TARGET_TYPE is the only symbol that is available by default. If you are using the Conditional Disable structure in a LabVIEW project, use the Conditional Disable Symbols page to add symbols to select from in this dialog box. You also can enter a symbol in the Symbol(s) pull-down menu. If the symbol you enter is not defined in the Conditional Disable Symbols page, an asterisk appears next to the symbol.
    • ==/!=—Lists the comparison operators available for use within the expression. Valid comparisons are ==, which specifies that the symbol is equal to the value, and !=, which specifies that the symbol is not equal to the value.
    • Value(s)—Specifies the value of the symbol you select. Valid values for the TARGET_TYPE symbol include Windows, FPGA, Embedded, RT, Mac, Unix, and PocketPC.
    • -/+—Allows you to add or remove expressions from the dialog box. Click the + button to add an expression. Click the - button to remove an expression.
    • AND/OR—Lists the comparison operators available for use between conditions. These operators compare two or more expressions. All conditions you compare with AND must be TRUE for the subdiagram to execute. OR specifies that only one of the conditions of the subexpression must be TRUE for the subdiagram to execute. For example, if you join two conditions with AND and join another condition to them with OR, both of the conditions joined with AND must be TRUE or just the condition following the OR operator must be TRUE for the subdiagram to execute. LabVIEW evaluates comparisons you join through the AND operator before comparisons you join through the OR operator.
      Note  You can use the <Tab> key to move through the expressions section of this dialog box. Before you click elsewhere in the dialog box, press the <Ctrl> and down arrow keys twice and then press the <Tab> key to move through each component of the expression.
  • Make Default—Specifies if the current subdiagram is the default subdiagram.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit