InstrSession.Initialize
- Updated2025-07-21
- 1 minute(s) read
InstrSession.Initialize
Syntax
InstrSession.Initialize( options = "")
Purpose
Initializes the driver or I/O resource for the session. This method does nothing if the session is already initialized. Typically, you do not call this method directly. The InstrSession.GetHandle and InstrSession.GetCOMDriver methods automatically call this method.
Remarks
If the driver is not initialized, this method initializes it with the specified options . The format of the options string is driver-dependent. Pass an empty string as the options parameter to use the default options.
Parameters
options As String
[In] Specifies initialization options in a driver-dependent format. Pass an empty string to use the default initialization options. Session Manager provides IVI sessions with additional initialization options. You can specify whether the driver performs an ID query when it initializes by using the following syntax: IdQuery = True | False, Reset = True | False . Additional options are case insensitive. You can place these options anywhere in the option string.
This parameter has a default value of "" .