Toerrormessagedarwin – Yokogawa PC-Based MX100 User Manual

Page 548

Advertising
background image

10-50

IM MX190-01E

toErrorMessageDARWIN

Syntax

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

Declaration

Public Declare Function toErrorMessageDARWIN Lib
"DAQDARWIN"(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 to the specified
field.

• The string stored to 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

getErrorMessageDARWIN

10.1 Details of Functions - DARWIN (Visual C/Visual Basic) -

Advertising