Toerrormessagemx – Yokogawa PC-Based MX100 User Manual

Page 358

Advertising
background image

5-100

IM MX190-01E

toErrorMessageMX

Syntax

int toErrorMessageMX(int errCode, char * errStr, int errLen);

Declaration

Public Declare Function toErrorMessageMX Lib "DAQMX"(ByVal
errCode As Long, ByVal errStr As String, ByVal errLen As Long)
As Long

Parameters

errCode

Specify the error number.

errStr

Specify the field where the string is to be stored.

errLen

Specify the byte size of the field where the string is to be stored.

Description

Stores the error message string corresponding to the error number in the specified

field.
• The string stored in the field includes the terminator (NULL).

• The return value is the length of the actual string. The return value does not

include the terminator.

Return value

Returns the length of the string.

Reference

getErrorMessageMX

5.1 Details of Functions - MX100 (Visual C/Visual Basic) -

Advertising