niHSDIO Init Generation Session VI

NI Digital Waveform Generator/Analyzer Help

Edition Date: June 2013

Part Number: 370520P-01

»View Product Info
Download Help (Windows Only)
Installed With: NI-HSDIO

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

Creating a new session does not automatically tristate your front panel terminals or channels that might have been left driving voltages from previous sessions. Refer to the niHSDIO Close VI 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 niHSDIO Reset VI, and it tristates the front panel terminals and channels.

Related Topics

niHSDIO Init Generation Session

/images/reference/en-XX/help/370520P-01/civrn.gif

resource name specifies the device name, for example PXI1Slot3, where PXI1Slot3 is a device name assigned by Measurement & Automation Explorer.

/images/reference/en-XX/help/370520P-01/cstr.gif

option string is currently unused. Leave this parameter unwired.

/images/reference/en-XX/help/370520P-01/cbool.gif

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.

/images/reference/en-XX/help/370520P-01/cbool.gif

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 about what happens during an instrument reset.

Note  Resetting your device resets the entire device. Acquisition or generation operations in progress are aborted and cleared.
/images/reference/en-XX/help/370520P-01/cerrcodeclst.gif

error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality.

/images/reference/en-XX/help/370520P-01/cbool.gif

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.

/images/reference/en-XX/help/370520P-01/ci32.gif

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.

/images/reference/en-XX/help/370520P-01/cstr.gif

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.

/images/reference/en-XX/help/370520P-01/iivrn.gif

instrument handle out passes a reference to your instrument session to the next VI. instrument handle is obtained from the niHSDIO Init Acquisition Session VI or the niHSDIO Init Generation Session VI.

/images/reference/en-XX/help/370520P-01/ierrcodeclst.gif

error out contains error information. This output provides standard error out functionality.

/images/reference/en-XX/help/370520P-01/ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

/images/reference/en-XX/help/370520P-01/ii32.gif

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.

/images/reference/en-XX/help/370520P-01/istr.gif

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.

WAS THIS ARTICLE HELPFUL?

Not Helpful