Cdaqdatainfo::setvalue, Cdaqdatainfo::todoublevalue, Cdaqdatainfo::tostringvalue – Yokogawa PC-Based MX100 User Manual
Page 46

2-23
IM MX190-01E
MX100 -Visual C++
2
CDAQDataInfo::setValue
Syntax
virtual void setValue(int value);
Parameters
value
Specify the data value.
Description
Stores the specified value in the data value field of the data member.
CDAQDataInfo::toDoubleValue
Syntax
static double toDoubleValue(int value, int point);
Parameters
value
Specify the data value.
point
Specify the decimal point position.
Description
Generates the measured value from the specified data value and decimal point
position.
Return value
Returns the measured value as a double-precision floating number.
CDAQDataInfo::toStringValue
Syntax
static int toStringValue(int value, int point, char *
strValue, int lenValue);
Parameters
value
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 to the
specified field. The string stored to the field includes the terminator.
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
toDoubleValue
2.4 Details of the MX100/DARWIN Common Class