VPPBase.Error_Message

Syntax

VPPBase.Error_Message( 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

Converts a status code an instrument driver function returns into a user-readable message string.

Parameters

errorCode As Long

[In] Pass the status parameter that any of the instrument driver functions return.

errorMessage As String

[Out] Returns the user-readable message string that corresponds to the status code you specify.