10 getchdatabybinarydarwin – Yokogawa PC-Based MX100 User Manual
Page 505
![background image](/manuals/360310/505/background.png)
10-7
IM MX190-01E
Functions for the DARWIN - Visual C/Visual Basic -
10
getChDataByBinaryDARWIN
Syntax
int getChDataByBinaryDARWIN(DAQDARWIN daqdarwin, DarwinChInfo
* pDarwinChInfo, DarwinDataInfo * pDarwinDataInfo, int *
pFlag);
Declaration
Public Declare Function getChDataByBinaryDARWIN Lib
"DAQDARWIN"(ByVal daqdarwin As Long, ByRef pDarwinChInfo As
DarwinChInfo, ByRef pDarwinDataInfo As DarwinDataInfo, ByRef
pFlag As Long) As Long
Parameters
daqdarwin
Specify the device descriptor.
pDarwinChInfo
Specify the destination where the channel information data is to be
returned.
pDarwinDataInfo Specify the destination where the measured data is to be returned.
pFlag
Specify the destination where the flag is to be returned.
Description
Gets the output of each channel using talkDataByBinaryDARWIN.
• Analyzes received information channel by channel and stores it in the structure.
• Stores channel information data and measured data if the return destination is
specified.
• 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::getChDataByBinary
CDAQDARWINChInfo::getDarwinChInfo
CDAQDARWINDataInfo::getDarwinDataInfo
10.1 Details of Functions - DARWIN (Visual C/Visual Basic) -