Measinstchda100reader – Yokogawa PC-Based MX100 User Manual
Page 1169
![background image](/manuals/360310/1169/background.png)
24-78
IM MX190-01E
measInstChDA100Reader
Syntax
int measInstChDA100Reader(DAQDA100READER daqda100reader, int
chType, int chNo);
Declaration
Visual Basic
Public Declare Function measInstChDA100Reader Lib
"DAQDA100"(ByVal daqda100reader As Long, ByVal chType As Long,
ByVal chNo As Long) As Long
Visual Basic.NET
Public Declare Ansi Function measInstChDA100Reader Lib
"DAQDA100"(ByVal daqda100reader As Integer, ByVal chType As
Integer, ByVal chNo As Integer) As Integer
C#
[DllImport("DAQDA100.dll" CharSet=CharSet.Auto,
EntryPoint="measInstChDA100Reader"]
public static extern int measInstChDA100Reader(int
daqda100reader, int chType, int chNo);
Parameters
daqda100Reader
Specify the device descriptor.
chType
Specify the channel type.
chNo
Specify the channel number.
Description
Gets the measured data of the specified measurement channel (specified with the
channel type and channel number).
• If the channel type is set to the constant for “Specify all measurement channel
types,” all subunits are processed.
• If the channel number is set to the constant for “Specify all channel numbers,” all
channels within the channel type are processed.
• Gets the measured data and alarm data.
• Specify measurement channels and computation channels separately.
• This function executes the EF command of the DARWIN communication function.
Return value
Returns an error number.
Error:
Not descriptor
No device descriptor.
Reference
CDAQDA100Reader::measInstCh
24.3 Details of Functions for Instantaneous Value Loading - DARWIN- Status Transition Functions