Datasecondmx100 – Yokogawa PC-Based MX100 User Manual
Page 890

17-156
IM MX190-01E
dataSecondMX100
Syntax
int dataSecondMX100(DAQMX100 daqmx100, int chNo);
Declaration
Visual Basic
Public Declare Function dataSecondMX100 Lib "DAQMX100"(ByVal
daqmx100 As Long, ByVal chNo As Long) As Long
Visual Basic.NET
Public Declare Ansi Function dataSecondMX100 Lib
"DAQMX100"(ByVal daqmx100 As Integer, ByVal chNo As Integer)
As Integer
C#
[DllImport("DAQMX100.dll" CharSet=CharSet.Auto,
EntryPoint="dataSecondMX100")]
public static extern int dataSecondMX100(int daqmx100, int
chNo);
Parameters
daqmx100
Specify the device descriptor.
chNo
Specify the channel number.
Description
Gets the seconds of the specified channel number from the stored current time
information data.
• The second is a number from 0 to 59.
• Returns 0 if it does not exist.
Return value
Returns the seconds value.
Reference
CDAQMX100::getClassMXDataBuffer
CDAQMXDataBuffer::currentDateTime
CDAQMXDateTime::toLocalDateTime
17.2 Details of Function - MX00 (Visual C/Visual Basic/Visual Basic.NET/C#) - Retrieval Functions