Datahourda100 – Yokogawa PC-Based MX100 User Manual
Page 1137
![background image](/manuals/360310/1137/background.png)
24-46
IM MX190-01E
dataHourDA100
Syntax
int dataHourDA100(DAQDA100 daqda100, int chType, int chNo);
Declaration
Visual Basic
Public Declare Function dataHourDA100 Lib "DAQDA100"(ByVal
daqda100 As Long, ByVal chType As Long, ByVal chNo As Long) As
Long
Visual Basic.NET
Public Declare Ansi Function dataHourDA100 Lib
"DAQDA100"(ByVal daqda100 As Integer, ByVal chType As Integer,
ByVal chNo As Integer) As Integer
C#
[DllImport("DAQDA100.dll" CharSet=CharSet.Auto,
EntryPoint="dataHourDA100")]
public static extern int dataHourDA100(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 hour of the specified channel (channel type and number) from the stored
time information data.
• The hour is a number from 0 to 23.
• Returns 0 if it does not exist.
Return value
Returns the hour value.
Reference
CDAQDA100::getClassDataBuffer
CDAQDARWINDataBuffer::getClassDARWINDateTime
CDAQDARWINDateTime::getHour
24.2 Details of Functions - DARWIN (Visual C/Visual Basic/Visual Basic.NET/C#) - Retrieval Functions