Table Of Contents

Amplitude Measurements (Pulse Amplitude and State Levels) (G Dataflow)

Last Modified: March 30, 2017

Returns the amplitude, high state level, and low state level of a signal.

connector_pane_image
datatype_icon

signal

The input signal.

This input can be a waveform or an array of waveforms.

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

state levels settings

Settings that determine the high and low state levels of a waveform.

datatype_icon

method

Method this node uses to compute the high and low state levels of the waveform.

Name Description
histogram Returns the levels of the histogram bins with the maximum number of hits in the upper and lower regions of the waveform. The upper and lower regions of the waveform include the upper and lower 40%, respectively, of the peak-to-peak range of the waveform.
peak Searches the entire waveform for its maximum and minimum levels.
auto select Determines whether the histogram bins that correspond to the high and low state levels each have over 5% of the total hits. If so, this node returns those results. Otherwise, this node uses the peak method. This ensures a reasonable answer for either a square wave (ignoring the overshoot and undershoot) or a triangle wave (where a histogram fails).

Default: auto select

datatype_icon

histogram size

Number of bins in the histogram this node uses to determine the high and low state levels of the waveform.

If you select the peak method, this node ignores this input.

Default: 256

datatype_icon

histogram method

Method this node uses to compute the histogram. Currently, mode is the only available histogram method.

Name Description
mode Uses the mode method.
datatype_icon

reserved

Value reserved for future use.

datatype_icon

amplitude

Difference between high state level and low state level.

This output can return a double-precision, floating-point number or a 1D array of double-precision, floating-point numbers.

datatype_icon

high state level

Level at which a pulse or transition waveform is defined to be in its highest state.

This output can return a double-precision, floating-point number or a 1D array of double-precision, floating-point numbers.

datatype_icon

low state level

Level at which a pulse or transition waveform is defined to be in its lowest state.

This output can return a double-precision, floating-point number or a 1D array of double-precision, floating-point numbers.

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.

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices


Recently Viewed Topics