Cdaqdatainfo::getstringvalue, Cdaqdatainfo::getvalue, Cdaqdatainfo::initialize – Yokogawa PC-Based MX100 User Manual
Page 44
![background image](/manuals/360310/44/background.png)
2-21
IM MX190-01E
MX100 -Visual C++
2
CDAQDataInfo::getStringValue
Syntax
int getStringValue(char * strValue, int lenValue);
Parameters
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 data value of the data member and the
decimal point position associated with the channel information data.
Converts the generated measured value into a string and stores it in the specified
field.
If there is no association with the channel information data, the decimal point
position is 0.
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
getClassChInfo getValue toStringValue
CDAQChInfo::getPoint
CDAQDataInfo::getValue
Syntax
virtual int getValue(void);
Description
Gets the value of the data value field of the data member.
Return value
Returns the data value.
CDAQDataInfo::initialize
Syntax
virtual void initialize(void);
Description
Initializes the data member. The default value is 0.
The association with the channel information data is not initialized.
Reference
setValue
2.4 Details of the MX100/DARWIN Common Class