Datayearda100 – Yokogawa PC-Based MX100 User Manual
Page 1144
24-53
IM MX190-01E
DARWIN for Extended API - Visual C/Visual Basic/Visual Basic.NET/Visual C# -
24
dataYearDA100
Syntax
int dataYearDA100(DAQDA100 daqda100, int chType, int chNo);
Declaration
Visual Basic
Public Declare Function dataYearDA100 Lib "DAQDA100"(ByVal
daqda100 As Long, ByVal chType As Long, ByVal chNo As Long) As
Long
Visual Basic.NET
Public Declare Ansi Function dataYearDA100 Lib
"DAQDA100"(ByVal daqda100 As Integer, ByVal chType As Integer,
ByVal chNo As Integer) As Integer
C#
[DllImport("DAQDA100.dll" CharSet=CharSet.Auto,
EntryPoint="dataYearDA100")]
public static extern int dataYearDA100(int daqda100, int
chType, int chNo);
Parameters
daqda100
Specify the device descriptor.
chType
Specify the channel type.
chNo
Specify the channel number.
Description
Gets the year of the specified channel (channel type and number) from the stored
time information data.
• The year is a 4-digit number.
• Returns 0 if it does not exist.
Return value
Returns the year value.
Reference
CDAQDA100::getClassDataBuffer
CDAQDARWINDataBuffer::getClassDARWINDateTime
CDAQDARWINDateTime::getFullYear
24.2 Details of Functions - DARWIN (Visual C/Visual Basic/Visual Basic.NET/C#) - Retrieval Functions