VPPBase.Error_Query

Syntax

VPPBase.Error_Query( errorCode, errorMessage)

Return Value

Long

Returns the driver-defined status code for this operation. A return value of zero indicates success. Positive values indicate warnings. Negative values indicate an error occurred.

Purpose

Reads an error code and a message from the instrument error queue.

Parameters

errorCode As Long

[Out] Returns the error code read from the instrument error queue.

errorMessage As String

[Out] Returns the error message string read from the instrument error message queue.