ErrorQuery Method
- Updated2023-02-21
- 2 minute(s) read
Reads an error code and a message from the instrument error queue.
Namespace:
NationalInstruments.ModularInstruments.NISwitch
Assembly:
NationalInstruments.ModularInstruments.NISwitch.Fx40 (in NationalInstruments.ModularInstruments.NISwitch.Fx40.dll) Version: 19.0.0.49152 (19.0.0.49152)Visual Basic (Declaration) |
---|
Public Function ErrorQuery As ErrorQueryResult |
C# |
---|
public ErrorQueryResult ErrorQuery() |
Return Value
Type: Ivi.Driver..::.ErrorQueryResult Returns a ErrorQueryResultobject.Implements
IIviDriverUtility..::.ErrorQuery()()()
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The ErrorQuery method was accessed after the associated NISwitch.NISwitch object was disposed. |
Remarks
NI-SWITCH does not have an error queue, so this method never returns any errors.