Mask and Limit Testing Express VI

Owning Palette: Signal Analysis Express VIs

Requires: Full Development System

Performs limit testing on Signals.

Details  

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

Dialog Box Options

ParameterDescription
Upper LimitUses an upper limit for mask and limit testing. Contains the following options:
  • Upper constant—Compares Signals to the value in Upper limit constant. This option is available only when you place a checkmark in the Upper Limit checkbox.
    • Upper limit constant—Specifies the value of the Upper constant. The default is 0. This option is available only when you place a checkmark in the Upper Limit checkbox and select the Upper constant option.
  • Upper mask—Compares Signals to the upper limit of a signal from a file or a signal you define. This option is available only when you place a checkmark in the Upper Limit checkbox.
    • Define—Displays the Define Signal dialog box, which you use to set the values for the signal you want to use for the limit test. This button is available only when you select Upper Limit and Upper mask or Lower Limit and Lower mask.
  • Upper inclusive—Specifies if you want Pass to return TRUE when points in Signals fall on Upper Limit. Place a checkmark in the Upper inclusive checkbox to include points falling on Upper Limit in the points that pass the limit test. This option is available only when you place a checkmark in the Upper Limit checkbox.
Lower LimitUses a lower limit for mask and limit testing. Contains the following options:
  • Lower constant—Compares Signals to the value in Lower limit constant. This option is available only when you place a checkmark in the Lower Limit checkbox.
    • Lower limit constant—Specifies the value of the Lower constant. The default is 0. This option is available only when you place a checkmark in the Lower Limit checkbox and select the Lower constant option.
  • Lower mask—Compares Signals to the lower limit of a signal from a file or a signal you define. This option is available only when you place a checkmark in the Lower Limit checkbox.
    • Define—Displays the Define Signal dialog box, which you use to set the values for the signal you want to use for the limit test. This button is available only when you select Upper Limit and Upper mask or Lower Limit and Lower mask.
  • Lower inclusive—Specifies if you want Pass to return TRUE when points in Signals fall on Lower Limit. Place a checkmark in the Lower inclusive checkbox to include points falling on Lower Limit in the points that pass the limit test. This option is available only when you place a checkmark in the Lower Limit checkbox.
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
Upper ConstantCompares Signals to the value in Upper Constant. The value you wire to this input overrides the value you set in the configuration dialog box.
SignalsContains the input signal or signals.
Upper LimitSpecifies the upper limit for mask and limit testing. The value you wire to this input overrides the value you set in the configuration dialog box.
Lower LimitSpecifies the lower limit for mask and limit testing. The value you wire to this input overrides the value you set in the configuration dialog box.
Lower ConstantCompares Signals to the value in Lower Constant. The value you wire to this input overrides the value you set in the configuration dialog box.
error inDescribes error conditions that occur before this node runs.

Block Diagram Outputs

ParameterDescription
Tested SignalsReturns the upper and lower limits, the input signal, and the failures.
PassedIndicates the result of limit testing. If Passed is TRUE, the signal is less than or equal to the upper limit and greater than or equal to the lower limit.
Point EvaluationReturns the results of the limit testing at each data point. If Point Evaluation is TRUE, the data point is less than or equal to the upper limit and greater than or equal to the lower limit.
error outContains error information. This output provides standard error out functionality.

Mask and Limit Testing Details

The Express VI compares Signals with the upper and lower limits you set and returns the result of the comparison at each data point. The Express VI also returns an array of waveforms that contains the upper limit and lower limit, the signal, and the failures.

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

Waveform Scalar Limit Comparison
Limit Specification
Limit Testing