Compares a digital waveform to another digital waveform or to a specified value or compares a set of digital data to another set of digital data or to a specified value. You must manually select the polymorphic instance you want to use.


icon

Inputs/Outputs

  • cu32.png start position B

    start position B specifies where to start the comparison within digital data B.

  • cu32.png start position A

    start position A specifies where to start the comparison within digital data A.

  • cdigtblrn.png digital data A

    digital data A is the digital data for which you want to perform a digital comparison.

  • cdigtblrn.png digital data B

    digital data B is the digital data for which you want to perform a digital comparison.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. With the following exception, this input provides standard error in functionality.

    This node runs normally even if an error occurred before this node runs.

  • cu8.png compare level

    compare level specifies the comparison results returned by the VI.

    0Pass/Fail Only (default)—Specifies that the VI returns only passed? as an output, which improves the performance of the comparison.
    1Pass/Fail and # Errors—Specifies that the VI returns passed? and # failed samples.
    2Pass/Fail, # Errors and Diff Data—Specifies that the VI returns passed?, # failed samples, and diff data.
  • ci32.png # samples to compare (-1:all)

    # samples to compare specifies the number of samples in digital data A and digital data B to compare. The default value is -1, which specifies that the VI compares all samples.

  • ibool.png passed?

    passed? returns TRUE if all corresponding values in digital data A and digital data B match.

  • ii32.png # failed samples

    # failed samples returns the total number of corresponding samples in digital data A and digital data B that do not match.

  • idigtblrn.png diff data

    diff data returns the 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.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.