Initialize Acquisition Session

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 Closenode 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 Resetnode, and it tristates the front panel terminals and channels.

Inputs/Outputs

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 value: 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.
Note Resetting your device resets the entire device. Acquisition or generation operations in progress are aborted and cleared.

Default value: 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

Default value: 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 Sessionnode or the Initialize Generation Sessionnode.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior