2cdaqmx::gettimedata, Cdaqmx::getusertime, Cdaqmx::getversiondll – Yokogawa PC-Based MX100 User Manual
Page 76
![background image](/manuals/360310/76/background.png)
2-53
IM MX190-01E
MX100 -Visual C++
2
CDAQMX::getTimeData
Syntax
int getTimeData(MXDataNo * dataNo, CDAQMXDateTime &
cMXDateTime, MXUserTime * pUserTime = NULL, int * pFlag =NULL);
Parameters
dataNo
Specify the destination where the data number is to be returned.
cMXDateTime
Specify the destination where the time information data is to be returned.
pUserTime
Specify the destination where the user count is to be returned.
pFlag
Specify the destination where the flag is to be returned.
Description
Gets the time information data that was declared to be retrieved using the
talkChData and talkFIFOData functions in units of data numbers. Analyzes
information and stores the data 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.
After the data is retrieved by this function member, use getChData to retrieve the
data for each channel within the data number.
Return value
Returns an error number.
Error:
Not support
The sequence of execution was incorrect.
Reference
incCurDataNo receiveBlock CDAQMXDateTime::setMilliSecond
CDAQMXDateTime::setTime
CDAQMX::getUserTime
Syntax
MXUserTime getUserTime(void);
Description
Gets the value in the user count field from the data member.
Return value
Returns the user count.
CDAQMX::getVersionDLL
Syntax
static const int getVersionDLL(void);
Description
Gets the version number of this DLL.
Return value
Returns the version number of this DLL.
2.5 Details of the MX100 Class