ErrorQuery()
- Updated2026-01-20
- 1 minute(s) read
Reads an error code and a message from the instrument error queue.
Syntax
Namespace: NationalInstruments.ModularInstruments.NISwitch
public ErrorQueryResult ErrorQuery()
Remarks
NI-SWITCH does not have an error queue, so this method never returns any errors.
Returns
Returns a Ivi.Driver.ErrorQueryResultobject.
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The ErrorQuery method was accessed after the associated NISwitch object was disposed. |