Getchdatabyasciidarwin – Yokogawa PC-Based MX100 User Manual

Page 504

Advertising
background image

10-6

IM MX190-01E

getChDataByASCIIDARWIN

Syntax

int getChDataByASCIIDARWIN(DAQDARWIN daqdarwin, DarwinChInfo *
pDarwinChInfo, DarwinDataInfo * pDarwinDataInfo, int * pFlag);

Declaration

Public Declare Function getChDataByASCIIDARWIN 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 the talker function declared by the
talkDataByASCIIDARWIN function.

• 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::getChDataByASCII
CDAQDARWINChInfo::getDarwinChInfo
CDAQDARWINDataInfo::getDarwinDataInfo

10.1 Details of Functions - DARWIN (Visual C/Visual Basic) -

Advertising