Table Of Contents

Configure Scan Trigger (G Dataflow)

Version:
    Last Modified: March 3, 2017

    Configures the scan triggers for the scan list established with the niSwitch Configure Scan List node.

    This node sets the location where the switch expects to receive an input trigger to advance through the scan list. This node also sets the location where it generates a scan advanced signal after it completes an entry in the scan list.

    connector_pane_image
    datatype_icon

    scan delay

    Minimum length of time the switch device waits after it creates a path until it asserts a trigger on the Scan Advanced Output channel. NI-SWITCH uses this value to set the Scan Delay property. The scan delay is in addition to the settling time.

    Default: 0.0 (seconds)

    datatype_icon

    session in

    Control that identifies a particular NI-SWITCH session established with the niSwitch Initialize With Topology node, the niSwitch Initialize With Options node, or the niSwitch Initialize node.

    datatype_icon

    error in

    Error conditions that occur before this node runs.

    The node responds to this input 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.

    Default: No error

    datatype_icon

    trigger input

    Trigger source used by the switch module during scanning. NI-SWITCH uses this value to set the Trigger Input property.

    The switch module waits for a trigger at the specified location when it encounters a semicolon in the scan list. When the trigger occurs, the switch device advances to the next entry in the scan list and waits for a trigger from the location specified in trigger input.

    Default: External

    datatype_icon

    scan advanced output (External)

    Output terminal for the Scan Advanced Output trigger signal. NI-SWITCH uses this value to set the Scan Advanced Output property.

    After the switch processes each entry in the scan list, it waits the length of time specified in scan delay, then asserts a trigger on the line specified in scan advanced output.

    Name Description
    None

    No Scan Advanced Output trigger is produced.

    External

    Sends the Scan Advanced Output trigger to the front connector of the switch module. Same as Front Connector.

    TTLx

    Sends the Scan Advanced Output trigger to PXI or SCXI trigger line x.

    PXI Star

    The switch waits until it receives a trigger on the PXI star trigger bus before processing the next entry in the scan list.

    Rear Connector

    Valid only for SCXI. Sends the Scan Advanced Output trigger to the rear connector of the switch module.

    Front Connector

    Sends the Scan Advanced Output trigger to the front connector of the switch module. Same as External.

    Rear Connector <1..12>

    Valid only for SCXI. Sends a Scan Advanced Output trigger to the rear connector of Slot <1..12>. Can be used as an alternative to calling the niSwitch Route Scan Advanced Output node.

    Front Connector <1..12>

    Valid only for SCXI. Sends a Scan Advanced Output trigger to the front connector of Slot <1..12>. Can be used as an alternative to calling the niSwitch Route Scan Advanced Output node.

    Default: External

    datatype_icon

    session out

    Indicator that identifies a particular NI-SWITCH session established with the niSwitch Initialize With Topology node, the niSwitch Initialize With Options node, or the niSwitch Initialize node and used for all subsequent NI-SWITCH calls.

    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.

    Synchronous Scanning

    For synchronous scanning, set scan advanced output to None and define trigger input. For handshaking, trigger input and scan advanced output must be set.

    Triggers generally originate from the SCXI or PXI trigger bus, the terminals on the front connector of the switch module, or the AUX connector on the rear of the switch module (referred to as the rear connector and supported by SCXI only).

    When scanning a module that is not directly cabled to the trigger from its own front or rear connector, use the niSwitch Route Trigger Input node and/or the niSwitch Route Scan Advanced Output node to route the triggers on the cabled module to one of the backplane lines. When using these nodes to route triggers to the backplane, specify the backplane trigger location when calling the niSwitch Configure Scan Trigger node (even if it is the module cabled to the trigger source).

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: Not supported


    Recently Viewed Topics