Init Operation - Edit IVI Tools Step Dialog Box
- Updated2025-07-21
- 2 minute(s) read
Init Operation - Edit IVI Tools Step Dialog Box
Init Operation
The Init operation initializes a driver or I/O resource session for the specified logical name with the specified options.
IVI steps automatically initialize an instrument session with default options for the specified logical name if a session for the logical name does not already exist. IVI steps add a reference to the session for the current execution so that the instrument session remains open for the duration of the execution.
You typically use the Init operation only when you want to initialize a session with non-default options. If the session might have been previously initialized, specify Close and Init for the Reinitialization Action to ensure that TestStand applies the specified options.
The Init operation contains the following options:
- Perform Id Query —When you enable this option, the Init operation performs an identification query on the instrument.
- Reset —When you enable this option, the Init operation resets the instrument. The Reset operation places the instrument in a known state. For an IEEE 488.2 instrument, the Reset operation sends the command string "*RST" to the instrument. Reset also sends the default setup commands to the instrument to configure settings for the proper operation of the instrument driver.
- Additional Initialization Options —Additional options, separated by commas, that IVI supports. Some examples include: Simulate=1 RangeCheck=1 QueryInstrStatus=1 Cache=1 RecordCoercions=1 InterchangeCheck=1 UseSpecificSimulation=1
-
ReInitialization Action
—The behavior of the Init operation when you call Init on a previously-opened instrument session.
Supported Value Description Loop (0) Specifies that if an active session to the current logical name exists, calling Init has no effect. Close and Init (1) Specifies that if an active session to the current logical name exists, the session is closed and a new one is opened. Raise Error (2) Specifies that if an active session to the current logical name exists, calling Init causes an error.