Table Of Contents

IviFgen Configure Trigger Source [TRG] (G Dataflow)

Version:
    Last Modified: October 24, 2017

    Configures the trigger source for a channel.

    spd-note-note
    Note  

    This node is part of the IviFgenTrigger [TRG] extension group.

    connector_pane_image
    datatype_icon

    instrument handle

    The instrument handle that you obtain from the IviFgen Initialize or IviFgen Initialize With Options Node. The handle identifies a particular instrument session.

    Default: None

    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

    channel name ("CHANNEL1")

    Specifies the virtual channel name that you assign to the instrument in the Configuration Utility. Users who want to achieve interchangeability should use a virtual channel name. The virtual channel name should be sufficiently specific to the test system such that it is unlikely to conflict with a physical channel name. Virtual channel names are aliases for instrument-specific channel strings. The instrument-specific channel strings can differ from one instrument to another. Virtual channel names allow you to use and swap instruments without having to change the channel names in your source code. You assign a virtual channel name to an instrument-specific channel through the Configuration Utility. This control accepts virtual channel names you have assigned to the specific instrument you are using. It also accepts the instrument-specific channel names.

    Default: "CHANNEL1"

    datatype_icon

    trigger source (External)

    Specify the trigger source you want to use. The driver sets the Trigger Source [TRG] property to this value. After you call the IviFgen_InitiateGeneration VI, the function generator waits for the trigger you specify in this parameter. After it receives a trigger, the function generator produces output based on the value of the IviFgen >> Basic Operation>>Operation Mode property. Defined Values: IVIFGEN_VAL_INTERNAL_TRIGGER - Internal IVIFGEN_VAL_EXTERNAL - External IVIFGEN_VAL_SOFTWARE_TRIG - Software Trigger Function IVIFGEN_VAL_TTL0 - PXI TRIG0 or VXI TTL0 IVIFGEN_VAL_TTL1 - PXI TRIG1 or VXI TTL1 IVIFGEN_VAL_TTL2 - PXI TRIG2 or VXI TTL2 IVIFGEN_VAL_TTL3 - PXI TRIG3 or VXI TTL3 IVIFGEN_VAL_TTL4 - PXI TRIG4 or VXI TTL4 IVIFGEN_VAL_TTL5 - PXI TRIG5 or VXI TTL5 IVIFGEN_VAL_TTL6 - PXI TRIG6 or VXI TTL6 IVIFGEN_VAL_TTL7 - PXI TRIG7 or VXI TTL7 IVIFGEN_VAL_ECL0 - VXI ECL0 IVIFGEN_VAL_ECL1 - VXI ECL1 IVIFGEN_VAL_PXI_STAR - PXI Star IVIFGEN_VAL_RTSI_0 - RTSI line 0 IVIFGEN_VAL_RTSI_1 - RTSI line 1 IVIFGEN_VAL_RTSI_2 - RTSI line 2 IVIFGEN_VAL_RTSI_3 - RTSI line 3 IVIFGEN_VAL_RTSI_4 - RTSI line 4 IVIFGEN_VAL_RTSI_5 - RTSI line 5 IVIFGEN_VAL_RTSI_6 - RTSI line 6 Default Value: IVIFGEN_VAL_EXTERNAL - External

    datatype_icon

    instrument handle out

    The instrument handle that you obtain from the IviFgen Initialize or IviFgen Initialize With Options Node. The handle identifies a particular instrument session.

    Default: None

    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: Not supported

    Web Server: Not supported in VIs that run in a web application


    Recently Viewed Topics