Table Of Contents

Digital Comparison (Waveform to Waveform) (G Dataflow)

Last Modified: January 12, 2018

Compares a digital waveform to another digital waveform.

connector_pane_image
datatype_icon

start sample B

The index where you want to start the comparison within digital waveform B.

Default: 0

datatype_icon

start sample A

The index where you want to start the comparison within digital waveform A.

Default: 0

datatype_icon

digital waveform A

Waveform that you want to use to perform a digital comparison.

datatype_icon

digital waveform B

Waveform that you want to use to perform a digital comparison.

datatype_icon

error in

Error conditions that occur before this node runs. Unlike most nodes, this node runs normally even if an error occurs before this node runs.

Default: no error

datatype_icon

compare level

Comparison results that you want this node to return.

Name Value Description
Pass/Fail Only 0 Returns only passed? as an output, which improves the performance of the comparison.
Pass/Fall and Number of Errors 1 Returns passed? and number of failed samples.
Pass/Fail, Number of Errors and Diff Data 2 Returns passed?, number of failed samples, and diff data.

Default: Pass/Fail Only

datatype_icon

compare length

Number of samples in digital waveform A and digital waveform B to compare.

Default: -1—The node compares all samples.

datatype_icon

passed?

A Boolean value that indicates whether all corresponding values in digital waveform A and digital waveform B match.

True All corresponding values in digital waveform A and digital waveform B match.
False All corresponding values in digital waveform A and digital waveform B do not match.
datatype_icon

number of failed samples

Total number of corresponding samples in digital waveform A and digital waveform B that do not match.

datatype_icon

diff data

Digital waveform representing the comparison of digital waveform A and digital waveform B. Zeros represent corresponding samples that match. Ones represent corresponding samples that differ. You can use this data to determine the exact location of all differing samples.

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: Not supported

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


Recently Viewed Topics