10 tostringvaluedarwin – Yokogawa PC-Based MX100 User Manual

Page 549

Advertising
background image

10-51

IM MX190-01E

Functions for the DARWIN - Visual C/Visual Basic -

10

toStringValueDARWIN

Syntax

int toStringValueDARWIN(int dataValue, int point, char *
strValue, int lenValue);

Declaration

Public Declare Function toStringValueDARWIN Lib
"DAQDARWIN"(ByVal dataValue As Long, ByVal point As Long,
ByVal strValue As String, ByVal lenValue As Long) As Long

Parameters

dataValue

Specify the data value.

point

Specify the decimal point position.

strValue

Specify the field where the string is to be stored.

lenValue

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

Description

Generates the measured value from the specified data value and decimal point

position.
• Converts the generated measured value into a string and stores it in 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

CDAQDARWINDataInfo::toStringValue

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

Advertising