Owner manual

5-52 IM MX190-01E
setDateTimeMX
Syntax
int setDateTimeMX(DAQMX daqmx, MXDateTime * pMXDateTime);
Declaration
Public Declare Function setDateTimeMX Lib "DAQMX"(ByVal daqmx
As Long, ByRef pMXDateTime As MXDateTime) As Long
Parameters
daqmx Specify the device descriptor.
pMXDateTime Specify the time information data.
Description
Sets time information data on the device.
Milliseconds are discarded.
In Visual C, if the parameter’s time information data is set to NULL, the current
date/time of the PC is used.
The response to this function may take one second or longer.
Return value
Returns an error number.
Error:
Not descriptor No device descriptor.
Reference
CDAQMX::setDateTime
5.1 Details of Functions - MX100 (Visual C/Visual Basic) -