niHSDIO Init Generation Session
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 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 upon 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.
|
|||||||
option string is currently unused. Leave this parameter unwired. | |||||||
error in describes error conditions that occur before this VI or function runs.
| |||||||
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.
|