Cdaqdarwin::talkdatabybinary – Yokogawa PC-Based MX100 User Manual
Page 438
7-40
IM MX190-01E
CDAQDARWIN::talkDataByBinary
Syntax
int talkDataByBinary(int startChType, int startChNo, int
endChType, int endChNo, CDAQDARWINDateTime & cDARWINDateTime);
Parameters
startChType
Specify the start channel type.
startChNo
Specify the start channel number.
endChType
Specify the end channel type.
endChNo
Specify the end channel number.
cDARWINDateTime
Specify the destination where the time information data is
to be returned.
Description
Executes the declaration for retrieving measured data in binary format from the start
channel (start channel type and start channel number) to the end channel (end
channel type and end channel number).
Stores the time information data of the measured data to the specified return
destination.
Specify measurement channels and computation channels separately.The start
channel type is used to distinguish measurement channels and computation
channels.
Set the byte output order to MSB first.
Stores the remaining size (output byte size) in the remaining size field of the data
member.
This function executes the BO, TS, and FM commands of the DARWIN
communication function.
After executing this function, use the getChDataByBinary function to retrieve the
data for each channel.
Return value
Returns an error number.
Error:
Not data
The output number of bytes did not satisfy the size requirement.
Reference
checkAck receive runCommand send startTalker
CDAQDARWINChInfo::toChName
CDAQDARWINDateTime::setByte
7.4 Details of the DARWIN Class