7cdaqdarwin::getsetdatabyline, Cdaqdarwin::getstatusbyte – Yokogawa PC-Based MX100 User Manual
Page 419
![background image](/manuals/360310/419/background.png)
7-21
IM MX190-01E
DARWIN - Visual C++ -
7
CDAQDARWIN::getSetDataByLine
Syntax
int getSetDataByLine(char * strLine, int maxLine, int *
lenLine, int * pFlag);
Parameters
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 by line using the talker functions declared by talkOperationData,
talkSetupData, and talkCalibrationData.
If the return destination is specified, the flag status is set when the last set of data is
retrieved. It 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.
Reference
receiveLine
CDAQDARWIN::getStatusByte
Syntax
virtual int getStatusByte(int * pStatusByte);
Parameters
pStatusByte
Specify the destination where the status byte is to be returned.
Description
Gets the status byte.
Stores the status byte as an integer to the return destination if the return destination
is specified.
Sends the status byte output command (ESC S) and receives the output.
Return value
Returns an error number.
Reference
checkAck receiveLine send
7.4 Details of the DARWIN Class