Table Of Contents

Zero Crossing (G Dataflow)

Version:
    Last Modified: March 31, 2017

    Detects zero crossings of a signal.

    connector_pane_image
    datatype_icon

    reset

    A Boolean or a Boolean array that determines whether to set crossing to False and store the current input.

    True Sets crossing to False and stores the current crossing.
    False Does not set crossing to False or store the current crossing.

    Default: False

    datatype_icon

    input

    Input signal.

    This input accepts a double-precision, floating-point number or an array of double-precision, floating-point numbers.

    datatype_icon

    direction type

    Type of zero crossing.

    This input accepts a ring or an array of rings.

    Name Value Description
    rising 0 Sets crossing to True when the input signal crosses zero on a rising slope.
    falling 1 Sets crossing to True when the input signal crosses zero on a falling slope.
    either 2 Sets crossing to True when the input signal crosses zero on either a rising or a falling slope.

    Default: The default value of this input changes depending on the data type you wire. If you wire a ring to this input, the default is either. If you wire an array of rings to this input, the default is rising.

    datatype_icon

    cycles to filter

    Cycles of the input signal to process.

    This input accepts a 64-bit unsigned integer or an array of 64-bit unsigned integers.

    Default: 0

    datatype_icon

    threshold

    Threshold to start the measurement.

    This input accepts a double-precision, floating-point number or an array of double-precision, floating-point numbers.

    Default: 0

    datatype_icon

    crossing?

    A Boolean or a Boolean array that indicates whether a zero crossing occurred.

    True A zero crossing occurred.
    False No zero crossing occurred.

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics