Comparison
- 已更新2025-07-30
- 閱讀時間為 6 分鐘
Compares input items you specify to determine whether values are equal, greater than, less than, and so on.

Dialog Box Options
| Option | Description |
|---|---|
| Items to Compare | Contains the following options:
|
| Compare Condition | Contains the following options:
|
| Comparison Inputs | Contains the following options:
|
| Result | Contains the following options:
|
| Result Name | Contains the following option:
|
| Input Signal | Displays the input signal. If you wire data to the Express VI and run it, Input Signal displays real data. If you close and reopen the Express VI, Input Signal displays sample data until you run the Express VI again. |
| Result Preview | Contains the following options: If you wire data to the Express VI and run the VI, Result Preview displays real data. If you close and reopen the Express VI, Result Preview displays sample data until you run the VI again. If the cutoff frequency values are invalid, Result Preview does not display valid data. |
Inputs/Outputs
error in (no error)
—
Describes error conditions that occur before this node runs.
Operand 2
—
Specifies the second signal input for comparison. This input is available only when you select Second signal input in the configuration dialog box.
Constant Value to Compare Against
—
Specifies the constant value with which to compare the Operand 1 input. If Constant Value to Compare Against is not wired, the VI uses the Value specified in the configuration dialog box.
Operand 1
—
Specifies the first input for comparison.
Invert Output
—
Inverts the outputs.
Result
—
Returns the resulting data based on the configuration of the Express VI.
error out
—
Contains error information. This output provides standard error out functionality. |
error in (no error)
—
Operand 2
—
Constant Value to Compare Against
—
Invert Output
—
Result
—
error out
—