Setdatetimenowmx100 – Yokogawa PC-Based MX100 User Manual
Page 790

17-56
IM MX190-01E
setDateTimeNowMX100
Syntax
int setDateTimeNowMX100(DAQMX100 daqmx100);
Declaration
Visual Basic
Public Declare Function setDateTimeNowMX100 Lib
"DAQMX100"(ByVal daqmx100 As Long) As Long
Visual Basic.NET
Public Declare Ansi Function setDateTimeNowMX100 Lib
"DAQMX100"(ByVal daqmx100 As Integer) As Integer
C#
[DllImport("DAQMX100.dll" CharSet=CharSet.Auto,
EntryPoint="setDateTimeNowMX100")]
public static extern int setDateTimeNowMX100(int daqmx100);
Parameters
daqmx100
Specify the device descriptor.
Description
Sets the current date/time of the PC.
• Milliseconds are discarded.
• The response to this function may take one second or longer.
Return value
Returns an error number.
Error:
Not descriptor
No device descriptor.
Reference
CDAQMX100::setDateTime
17.1 Details of Function - MX00 (Visual C/Visual Basic/Visual Basic.NET/C#) - Status Transition Functions