7cdaqdarwindatetime::setbyte, Cdaqdarwindatetime::setdarwindatetime – Yokogawa PC-Based MX100 User Manual
Page 465
![background image](/manuals/360310/465/background.png)
7-67
IM MX190-01E
DARWIN - Visual C++ -
7
CDAQDARWINDateTime::setByte
Syntax
int setByte(const unsigned char pByte[], int numByte);
Parameters
pByte
Specify the head pointer of the byte array.
numByte
Specify the byte size of the byte array.
Description
Analyzes the specified byte array and stores the information in the data member.
The format in byte array is the date/time section of the output format of the
measured data in binary code.
If the specification is more than 6 bytes, the 7th byte is interpreted as milliseconds.
In this case, a value of 0.1 seconds is converted to milliseconds.
Return value
Returns an error number.
Error:
Not data
The input data is too short.
Reference
toDateTime
CDAQDARWINDateTime::setDarwinDateTime
Syntax
void setDarwinDateTime(DarwinDateTime * pDarwinDateTime);
Parameters
pDarwinDateTime
Specify the time information data.
Description
Sets the data in a structure. Stores the contents of the specified structure in the data
member.
If not specified, the data member is initialized.
Reference
initialize toDateTime
7.4 Details of the DARWIN Class