NI-SWITCH 19.0 .NET Framework 4.0 API Reference

Table of Contents

ErrorQuery Method

  • Updated2023-02-21
  • 2 minute(s) read
ErrorQuery Method
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

ExceptionCondition
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.

See Also

Log in to get a better experience