Limit Testing

Performs limit testing on waveform or cluster input data. It compares the input signal with upper and lower limits and ignores any limit that is not wired. You can wire output values to a graph to view the limits, signal, and failures. You can use this polymorphic VI to perform limit testing for time or frequency. The data type you wire to the signal in input determines the polymorphic instance to use.

Limit Testing Time

signal in contains the waveform to test to make sure it lies in the envelope bounded by the upper and lower limits.
upper limit contains the waveform that defines the upper boundary of the envelope.
lower limit contains the waveform that defines the lower boundary of the envelope.
error in describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurs before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
test passed? indicates the result of limit mask testing. If TRUE, the signal is less than or equal to the upper limit and greater than or equal to the lower limit and the limit testing passed. If FALSE, the limit testing did not pass.
test results contains the results of the limit testing at each data point. The VI returns a TRUE if the data point is less than or equal to the upper limit and greater than or equal to the lower limit. It returns a FALSE instead.
output values contains the upper limit and lower limit, the signal, and the failures. You can wire this output to a graph to view the values. The first element in the array is the input signal. The x0 and dx values in this waveform are changed so that it can be easily plotted with the upper and lower limits. The second element in the array is the failure waveform. It contains NaN at points where the limit test passes and contains the input signal where the limit test fails. The third and fourth elements of the array are the upper and lower boundaries, respectively.
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.

Limit Testing Frequency

signal in contains the signal to test to make sure it lies in the envelope bounded by the upper and lower limits.
upper limit contains the waveform that defines the upper boundary of the envelope.
lower limit contains the waveform that defines the lower boundary of the envelope.
error in describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurs before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
test passed? indicates the result of limit mask testing. If TRUE, the signal is less than or equal to the upper limit and greater than or equal to the lower limit and the limit testing passed. If FALSE, the limit testing did not pass.
test results contains the results of the limit testing at each data point. The VI returns a TRUE if the data point is less than or equal to the upper limit and greater than or equal to the lower limit. It returns a FALSE instead.
output values contains the upper limit and lower limit, the signal, and the failures. You can wire this output to a graph to view the values. The first element in the array is the input signal. The x0 and dx values in this waveform are changed so that it can be easily plotted with the upper and lower limits. The second element in the array is the failure waveform. It contains NaN at points where the limit test passes and contains the input signal where the limit test fails. The third and fourth elements of the array are the upper and lower boundaries, respectively.
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.