Owner manual

5-30 IM MX190-01E
getTimeDataMX
Syntax
int getTimeDataMX(DAQMX daqmx, MXDataNo * pMXDataNo,
MXDateTime * pMXDateTime, MXUserTime * pMXUserTime, int *
pFlag);
Declaration
Public Declare Function getTimeDataMX Lib "DAQMX"(ByVal daqmx
As Long, ByRef pMXDataNo As MXDataNo, ByRef pMXDateTime As
MXDateTime, ByRef pMXUserTime As MXUserTime, ByRef pFlag As
Long) As Long
Parameters
daqmx Specify the device descriptor.
pMXDataNo Specify the destination where the data number is to be returned.
pMXDateTime Specify the destination where the time information data is to be
returned.
pMXUserTime 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 a data
retrieval start function (the talkChDataMX or talkFIFODataMX functions) one data
number at a time.
When the last set of data is retrieved, the flag status is set.
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 descriptor No device descriptor.
Reference
CDAQMX::getTimeData
CDAQMXDateTime::getMXDateTime
5.1 Details of Functions - MX100 (Visual C/Visual Basic) -