Getsetdatabylinedarwin – Yokogawa PC-Based MX100 User Manual
Page 512
![background image](/manuals/360310/512/background.png)
10-14
IM MX190-01E
getSetDataByLineDARWIN
Syntax
int getSetDataByLineDARWIN(DAQDARWIN daqdarwin, char *
strLine, int maxLine, int * lenLine, int * pFlag);
Declaration
Public Declare Function getSetDataByLineDARWIN Lib
"DAQDARWIN"(ByVal daqdarwin As Long, ByVal strLine As String,
ByVal maxLine As Long, ByRef lenLine As Long, ByRef flag As
Long) As Long
Parameters
daqdarwin
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
CDAQDARWIN::getSetDataByLine
10.1 Details of Functions - DARWIN (Visual C/Visual Basic) -