niHSDIO Init Acquisition Session

NI Digital Waveform Generator/Analyzer

niHSDIO Init 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 niHSDIO Close VI for more information on 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 niHSDIO Reset VI, and it tristates the front panel terminals and channels.

resource name specifies the device name, for example "PXI1Slot3," where "PXI1Slot3" is a device name assigned by Measurement & Automation Explorer.
id query specifies whether the driver performs an ID query on the instrument.

When id query is set to TRUE, the driver ensures compatibility between the instrument and the driver. When id query is set to FALSE, the driver skips the ID query.

reset instrument specifies whether the driver resets the device during initialization of the session. TRUE means that the device is reset; FALSE means that the device is not reset.

Refer to niHSDIO Reset for more information on what happens during an instrument reset.

Note  Resetting your device resets the entire device. Acquisition or generation operations in progress will be aborted and cleared.
option string is currently unused. Leave this parameter unwired.
error in describes error conditions that occur before this VI or function runs.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a negative error code. If status is FALSE, code is 0 or a warning code.
source identifies where an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.
instrument handle out passes a reference to your instrument session to the next VI. instrument handle was obtained from the niHSDIO Init Acquisition Session VI or the niHSDIO Init Generation Session VI.
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source identifies where and why an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.