Table Of Contents

Digital Comparison (Table to Table) (G Dataflow)

Last Modified: January 12, 2018

Compares a set of digital data to another set of digital data.

connector_pane_image
datatype_icon

start position B

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

datatype_icon

start position A

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

datatype_icon

digital data A

Digital data you want to use to perform a digital comparison.

datatype_icon

digital data B

Digital data 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

number of samples to compare

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

Default: -1—Node compares all samples.

datatype_icon

passed?

A Boolean that indicates whether the values in digital data A and digital data B match.

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

number of failed samples

Number of corresponding samples in digital data A and digital data B that do not match.

datatype_icon

diff data

Digital data representing the comparison of digital data A and digital data 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