Relay Express VI

Owning Palette: Signal Manipulation Express VIs

Requires: Base Development System

Configures a relay switch that turns the input signal on and off.

Example

Dialog Box Options
Block Diagram Inputs
Block Diagram Outputs
 Add to the block diagram  Find on the palette

Dialog Box Options

ParameterDescription
Output when Relay OffSets which data the Result output returns if Enable is FALSE. Contains the following options:
  • Empty data—Indicates that if Enable is FALSE, the Result output is empty.
  • 0 values—Indicates that if Enable is FALSE, the Result output is a signal with all the characteristics of the input signal except that the amplitude is zero.
Test ConfigurationContains the following option:
  • Enable—Enables or disables the Express VI. The default is OFF.
Input SignalDisplays 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 PreviewDisplays 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.

Block Diagram Inputs

ParameterDescription
SignalsContains the input signal or signals.
EnableEnables 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.
error inDescribes error conditions that occur before this node runs.

Block Diagram Outputs

ParameterDescription
ResultReturns the resulting data based on the configuration of the Express VI.
error outContains error information. This output provides standard error out functionality.

This Express VI operates similarly to the following VIs and functions:

Select

Example

Refer to the Express VI - Relay VI in the labview\examples\Express VIs directory for an example of using the Relay Express VI.

 Open example  Find related examples