imaqIOGetErrorTextVB Method

NI-IMAQ I/O Visual Basic

imaqIOGetErrorTextVB Method

Syntax

imaqIOGetErrorTextVB errorCode, errorText

Purpose

Gets the error text associated with an error code.

Parameters

errorCode As IMAQIO_ERR

The error code to get text for.

errorText As String

(Output Parameter) Returns the error text.

Return Value

This function returns 0 on success. On failure, this function returns an error code. For information about the error code, call imaqIOGetErrorTextVB.