7cdaqdarwin::getchinfo, Cdaqdarwin::getdata – Yokogawa PC-Based MX100 User Manual

Page 417

Advertising
background image

7-19

IM MX190-01E

DARWIN - Visual C++ -

7

CDAQDARWIN::getChInfo

Syntax

int getChInfo(CDAQDARWINChInfo & cDARWINChInfo, int * pFlag);

Parameters

cDARWINChInfo Specify the destination where the channel information data is to be

returned.

pFlag

Specify the destination where the flag is to be returned.

Description

Gets the channel information data output by channel using the talker function
declared by talkChInfo. Analyzes received information channel by channel and

stores it in the return destination.
When the last set of data is retrieved, the flag status is set. 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

checkAck receiveLine
CDAQDARWINChInfo::setLine

CDAQDARWIN::getData

Syntax

virtual int getData(int chType, int chNo, CDAQDateTime &
cDateTime, CDAQDataInfo & cDataInfo);

Parameters

chType

Specify the channel type.

chNo

Specify the channel number.

cDateTime

Specify the destination where the time information data is to be

returned.

cDataInfo

Specify the destination where the measured data is to be returned.

t

Description

This function gets the instantaneous values in units of channels.
Gets the measured data of the specified channel in binary code.

Return value

Returns an error number.

Reference

getChDataByBinary talkDataByBinary

7.4 Details of the DARWIN Class

Advertising