Cdaqda100::getdata, Cdaqda100::getinfoch – Yokogawa PC-Based MX100 User Manual

Page 1017

Advertising
background image

19-23

IM MX190-01E

19

DARWIN for Extended API - Visual C++

CDAQDA100::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.

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

getClassDataBuffer measInstCh
CDAQDARWINDataBuffer::getClassDARWINDateTime
CDAQDARWINDataBuffer::getClassDARWINDataInfo

CDAQDA100::getInfoCh

Syntax

virtual int getInfoCh(int sChType, int sChNo, int eChType, int
eChNo);

Parameters

sChType

Specify the start channel type.

sChNo

Specify the start channel number.

eChType

Specify the end channel type.

eChNo

Specify the end channel number.

Description

Gets the channel information data of the specified channel range.

The specified data is stored in the data member.

Return value

Returns an error number.

Reference

talkChInfo getChInfo getClassDataBuffer
CDAQDARWINDataBuffer::setChInfo

19.6 Details of the DARWIN Class

Advertising