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

TypeDescription
System.ObjectDisposedException

The ErrorQuery method was accessed after the associated NISwitch object was disposed.