Cdaqdarwin::getchdatabyascii, Cdaqdarwin::getchdatabybinary – Yokogawa PC-Based MX100 User Manual
Page 416

7-18
IM MX190-01E
CDAQDARWIN::getChDataByASCII
Syntax
int getChDataByASCII(CDAQDARWINDataInfo & cDARWINDataInfo, int
* pFlag);
Parameters
cDARWINDataInfo
Specify the destination where the measured data is to be
returned.
pFlag
Specify the destination where the flag is to be returned.
Description
Gets the output of each channel using the talker function declared by
ttalkDataByASCII. Analyzes received information channel by channel and stores it in
the return destination. When the last set of data is retrieved, the flag status is set. It
is also set when the function ends in error. Do not perform communications using
other functions until the data retrieval is completed. Other functions may not operate
properly.
Return value
Returns an error number.
Reference
checkAck receiveLine CDAQDARWINDataInfo::setLine
CDAQDARWIN::getChDataByBinary
Syntax
int getChDataByBinary(CDAQDARWINDataInfo & cDARWINDataInfo,
int * pFlag);
Parameters
cDARWINDataInfo
Specify the destination where the measured data is to be
returned.
pFlag
Specify the destination where the flag is to be returned.
Description
Gets the output of each channel using the talker function declared by
talkDataByBinary. 6 bytes are received for measurement channels, and 8 bytes for
computation channels. Analyzes received information channel by channel and
stores it in the return destination. Updates the remaining size of the data member.
When the last set of data is retrieved, the flag status is set. It is also set when the
function ends in error. Do not perform communications using other functions until
the data retrieval is completed. Other functions may not operate properly.
Return value
Returns an error number.
Error:
Not data
The output number of bytes did not satisfy the size requirement.
Reference
receive CDAQDARWINDataInfo::setByte
7.4 Details of the DARWIN Class