Table Of Contents

Initialize (Initialize Acquisition Session) (G Dataflow)

Version:
    Last Modified: September 27, 2017

    Creates a new acquisition session. You can perform static and dynamic acquisition operations with this session.

    Creating a new session does not automatically tristate your front panel terminals or channels possibly driving voltages from previous sessions. Refer to the Close node for more information about leaving lines driving after closing a session.

    Set reset instrument to True to place your device in a known start-up state when creating a new session. This action is equivalent to using the Reset node, and it tristates the front panel terminals and channels.

    connector_pane_image
    datatype_icon

    resource name

    The specified device name. For example, the device name could be PXI1Slot3, where PXI1Slot3 is assigned by Measurement & Automation Explorer.

    datatype_icon

    option string

    An unused parameter. Leave this parameter unwired.

    datatype_icon

    id query

    A Boolean that specifies whether the driver performs an ID query on the instrument.

    True The driver ensures compatibility between the instrument and the driver.
    False The driver skips the ID query.

    Default: False

    datatype_icon

    reset instrument

    A Boolean that specifies whether the driver resets the device during initialization of the session.

    True The device is reset.
    False The device is not reset.

    spd-note-note
    Note  

    Resetting your device resets the entire device. Acquisition or generation operations in progress are aborted and cleared.

    Default: False

    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

    session out

    Handle that identifies the session in all subsequent node calls.

    The session out parameter is obtained from the Initialize Acquisition Session node or the Initialize Generation Session node.

    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