Table Of Contents

Digital Comparison (Waveform to Value) (G Dataflow)

Version:
    Last Modified: March 31, 2017

    Compares a digital waveform to a specified value.

    connector_pane_image
    datatype_icon

    digital waveform

    Digital waveform that you want to use for a comparison.

    datatype_icon

    comparison

    Value that the specified digital data is compared to.

    Name Value Description
    Equal 0 0 Force Down
    Equal 1 1 Force Up
    Equal Z 2 Force Z
    Equal L 3 Compare Low
    Equal H 4 Compare High
    Equal X 5 Compare Don't Care
    Equal T 6 Compare Invalid
    Equal V 7 Compare Valid
    Equal 0 or L 8 Equal to Force Down or Compare Low
    Equal 1 or H 9 Equal to Force Up or Compare High
    Not Equal 0 or 1 10 Not Equal to Force Up or Force Down
    Not Equal 0, 1, L, or H 11 Not Equal to Force Up, Force Down, Compare Low, or Compare High.

    Default: Equal 0

    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

    comparison results

    A Boolean array that indicates whether any values in the specified digital data matches the comparison condition. This array is the same size as the array of digital values in the specified digital data.

    True Values in the specified digital data match the comparison condition.
    False Values in the specified digital data do not match the comparison condition.
    datatype_icon

    passed?

    A Boolean that indicates whether all values in boolean array match the comparison condition.

    True All values in boolean array match the comparison condition.
    False Not all values in boolean arraymatch the comparison condition.
    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