Talkoperationchdatada100 – Yokogawa PC-Based MX100 User Manual
Page 1122

24-31
IM MX190-01E
DARWIN for Extended API - Visual C/Visual Basic/Visual Basic.NET/C# -
24
talkOperationChDataDA100
Syntax
int talkOperationChDataDA100(DAQDA100 daqda100, int chType,
int chNo);
Declaration
Visual Basic
Public Declare Function talkOperationChDataDA100 Lib
"DAQDA100"(ByVal daqda100 As Long, ByVal chType As Long, ByVal
chNo As Long) As Long
Visual Basic.NET
Public Declare Ansi Function talkOperationChDataDA100 Lib
"DAQDA100"(ByVal daqda100 As Integer, ByVal chType As Integer,
ByVal chNo As Integer) As Integer
C#
[DllImport("DAQDA100.dll" CharSet=CharSet.Auto,
EntryPoint="talkOperationChDataDA100")]
public static extern int talkOperationChDataDA100(int
daqda100, int chType, int chNo);
Parameters
daqda100
Specify the device descriptor.
chType
Specify the channel type.
chNo
Specify the channel number.
Description
Executes declaration of the retrieval of the setup data of operation mode on the
specified channel (specified by channel type and 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.
• This function executes the TS and LF commands of the DARWIN communication
function.
• After executing this function, use the getSetDataByLineDA100 function to retrieve
the data by line.
Return value
Returns an error number.
Error:
Not descriptor
No device descriptor.
Reference
CDAQDA100::talkOperationChData
24.1 Details of Functions - DARWIN (VC/VB/VB.NET/C#) - Status Transition Functions