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

Version:

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

spectrum

The input spectrum.

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

f0

Start frequency, in Hz, of the spectrum.

Default: 0

df

Frequency resolution, in Hz, of the spectrum.

Default: 1

spectrum

Spectrum of the input signal.

upper limit

Upper limit that bounds the limit testing.

Default: 1

lower limit

Lower limit that bounds the limit testing.

Default: 0

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

limit test configuration

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

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

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

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

failures

Locations of failed test points.

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

x values

x-value locations of failed test points.

y values

y-value locations of failed test points.

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.

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.

output values

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

x0

Minimum value of the x-axis.

dx

The x-axis interval between points in the limit.

y

Y-axis values for the limit.

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.

clearance

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

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

clearance upper limit

Minimum distance between the signal and the upper limit.

clearance lower limit

Minimum distance between the signal and the lower limit.

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: This product does not support FPGA devices