Tostringvaluemx – Yokogawa PC-Based MX100 User Manual

Page 360

Advertising
background image

5-102

IM MX190-01E

toStringValueMX

Syntax

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

Declaration

Public Declare Function toStringValueMX Lib "DAQMX"(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 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

CDAQDataInfo::toStringValue

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

Advertising