Table Of Contents

Trigger Detection (G Dataflow)

Version:
    Last Modified: January 9, 2017

    Finds the first level-crossing location in a signal.

    connector_pane_image
    datatype_icon

    reset

    A Boolean specifying whether the history, or internal state, of the node has to be reset.

    True Resets the internal state of the node.
    False Does not reset the internal state of the node.

    The internal state contains the final state of the input signal. This node uses this as the initial state the next time this node is called.

    Default: False

    datatype_icon

    signal

    The input signal.

    This input can be a waveform or an array of waveforms.

    datatype_icon

    level

    The threshold value that the input signal must cross before a trigger is detected.

    Default: 0

    datatype_icon

    hysteresis

    Amount above or below the threshold level through which the input signal must pass before a trigger level crossing is detected.

    Using Hysteresis to Detect A Trigger Level Crossing

    Trigger hysteresis is used to prevent noise from causing a false trigger. For a rising edge trigger slope, the signal must pass below level - hysteresis before this node detects a trigger level crossing. For a falling edge trigger slope, the signal must pass above level + hysteresis before this node detects a trigger level crossing.

    Default: 0

    datatype_icon

    location mode

    The mode in which to retrieve the trigger location.

    Name Value Description
    Index 0 Retrieves the trigger location in terms of an array index.
    Time 1 Retrieves the trigger location in terms of time in seconds.

    Algorithm for Calculating the Trigger Location by Time

    This node computes Time by the following equation:

    time = t0 + (index*dt)

    where t0 and dt are contained in the input signal.

    Default: Index

    datatype_icon

    error in

    Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.

    Default: No error

    datatype_icon

    trigger slope

    The edge or slope in which the node detects the trigger.

    Name Value Description
    Falling Edge 0 Detects a trigger on the falling edge, or negative slope.
    Rising Edge 1 Detects a trigger on the rising edge, or positive slope.

    Default: Rising Edge

    datatype_icon

    trigger detected?

    A Boolean that determines whether the node detected a valid trigger.

    True This node detects a valid trigger.
    False This node does not detect a valid trigger.
    datatype_icon

    trigger location

    The index or time of the detected trigger.

    datatype_icon

    error out

    Error information. The node produces this output according to standard error behavior.

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: Not supported


    Recently Viewed Topics