Error Query Operation - Edit IVI Tools Step Dialog Box
- Aktualisiert2025-07-21
- 1 Minute(n) Lesezeit
Error Query Operation - Edit IVI Tools Step Dialog Box
Error Query Operation
The Error Query operation queries the instrument and returns instrument-specific error information. Use this operation after another operation in the instrument driver returns the IVI_ERROR_INSTR_SPECIFIC error code. The driver returns IVI_ERROR_INSTR_SPECIFIC when the instrument’s status register indicates the instrument’s error queue is not empty. The Error Query operation extracts the first error from the instrument’s error queue. For instruments that have status registers but no error queue, the driver simulates an error queue in software.
The Error Query operation contains the following options:
- Error Code —A variable or property to which the step assigns the error code returned from the instrument error query.
- Error Message —A variable or property to which the step assigns the readable description of the error code.