Relay
- Updated2025-01-28
- 3 minute(s) read
Relay
Configures a relay switch that turns the input signal on and off.

Dialog Box Options
Option | Description |
---|---|
Output when Relay Off | Contains the following options:
|
Test Configuration | 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 | Displays a preview of the measurement. The Result Preview plot indicates the value of the selected measurement with a dotted line. 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
![]() Contains the input signal or signals. ![]() Enables or disables the Express VI. The value you wire to this input overrides the value set in the Configure Relay dialog box. The default is OFF. ![]() Describes error conditions that occur before this node runs. ![]() Contains error information. This output provides standard error out functionality. ![]() Returns the resulting data based on the configuration of the Express VI. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Express VIs\Express VI - Relay.vi