Table Of Contents

Limit Testing (Constant Limit » Frequency) (G Dataflow)

Last Modified: January 12, 2018

Performs limit testing on the input spectrum using a constant limit.

connector_pane_image
datatype_icon

spectrum

The input spectrum.

This input can be a cluster or an array of clusters.

datatype_icon

f0

Start frequency, in Hz, of the spectrum.

Default: 0

datatype_icon

df

Frequency resolution, in Hz, of the spectrum.

Default: 1

datatype_icon

spectrum

Spectrum of the input signal.

datatype_icon

upper limit

Upper limit that bounds the limit testing.

Default: 1

datatype_icon

lower limit

Lower limit that bounds the limit testing.

Default: 0

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

datatype_icon

limit test configuration

Pass region for the limit test and whether to include the limit values in the region.

datatype_icon

pass region

Region where signal points fall that passes the limit test.

Name Value Description
inside limits 0 The signal is within lower limit and upper limit.
outside limits 1 The signal is not within lower limit and upper limit.

Default: inside limits

datatype_icon

include upper limit

A Boolean to determine whether signal points that fall on the upper limit passes the limit test.

True Signal points that fall on the upper limit passes the limit test.
False Signal points that fall on the upper limit does not pass the limit test.

Default: True

datatype_icon

include lower limit

A Boolean to determine whether signal points that fall on the lower limit passes the limit test.

True Signal points that fall on the lower limit passes the limit test.
False Signal points that fall on the lower limit does not pass the limit test.

Default: True

datatype_icon

failures

Locations of failed test points.

This output can return a cluster or an array of clusters.

datatype_icon

x values

x-value locations of failed test points.

datatype_icon

y values

y-value locations of failed test points.

datatype_icon

test passed?

A Boolean that returns the result of limit testing for the input signal.

True The signal meets the configuration values of the limit-test pass region.
False The signal is out of bounds of the specified upper and lower limits.
datatype_icon

test results

An array of Boolean or cluster that returns the results of the limit testing at each data point.

True Data point meets the configuration values of the limit-test pass region.
False Data point is out of bounds of the specified upper and lower limits.
datatype_icon

output values

Upper and lower limits, the input signal, and the failures.

datatype_icon

x0

Minimum value of the x-axis.

datatype_icon

dx

The x-axis interval between points in the limit.

datatype_icon

y

Y-axis values for the limit.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.
datatype_icon

clearance

Measurement of distance between the signal and upper limit and lower limit.

This output can be a cluster or an array of clusters.

datatype_icon

clearance upper limit

Minimum distance between the signal and the upper limit.

datatype_icon

clearance lower limit

Minimum distance between the signal and the lower limit.

datatype_icon

min clearance

Minimum, overall distance between the signal and the limits.

min clearance is the minimum of clearance upper limit and clearance lower limit.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics