Getsetdatabylineda100 – Yokogawa PC-Based MX100 User Manual
Page 1096

24-5
IM MX190-01E
DARWIN for Extended API - Visual C/Visual Basic/Visual Basic.NET/C# -
24
getSetDataByLineDA100
Syntax
int getSetDataByLineDA100(DAQDA100 daqda100, char * strLine,
int maxLine, int * lenLine, int * pFlag);
Declaration
Visual Basic
Public Declare Function getSetDataByLineDA100 Lib
"DAQDA100"(ByVal daqda100 As Long, ByVal strLine As String,
ByVal maxLine As Long, ByRef lenLine As Long, ByRef pFlag As
Long) As Long
Visual Basic.NET
Public Declare Ansi Function getSetDataByLineDA100 Lib
"DAQDA100"(ByVal daqda100 As Integer, ByVal strLine As String,
ByVal maxLine As Integer, ByRef lenLine As Integer, ByRef
pFlag As Integer) As Integer
C#
[DllImport("DAQDA100.dll" CharSet=CharSet.Auto,
EntryPoint="getSetDataByLineDA100")]
public static extern int getSetDataByLineDA100(int daqda100,
byte[] strLine, int maxLine, out int lenLine, out int pFlag);
Parameters
daqda100
Specify the device descriptor.
strLine
Specify the field where the string received by lines is to be stored.
maxLine
Specify the byte size of the field where the string received by lines
is to be stored.
lenLine
Specify the destination where the byte size of the actual string
received is returned.
pFlag
Specify the destination where the flag is to be returned.
Description
Gets the output from the talker function in units of lines after execution of the
declaration for the retrieval of setup data.
• Stores the received string excluding line feeds.
• When the last set of data is retrieved, the flag status is set. The flag status is also
set when the function ends in error.
• Do not perform communications using other functions until the data retrieval is
completed. Other functions may not operate properly.
Return value
Returns an error number.
Error:
Not descriptor
No device descriptor.
Reference
CDAQDA100::getSetDataByLine
24.1 Details of Functions - DARWIN (VC/VB/VB.NET/C#) - Status Transition Functions