2cdaqmx::getdodata, Cdaqmx::getfifodatano, Cdaqmx::getitemerror – Yokogawa PC-Based MX100 User Manual

Page 72

Advertising
background image

2-49

IM MX190-01E

MX100 -Visual C++

2

CDAQMX::getDOData

Syntax

int getDOData(CDAQMXDOData & cMXDoData);

Parameters

cMXDoData

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

Description

Gets the DO data.
Gets the data of all the channels collectively.

Return value

Returns an error number.

Reference

getNo getPacketVersion getUserTime runCommand
CDAQMXDOData::initialize CDAQMXDOData::setDO

CDAQMX::getFIFODataNo

Syntax

int getFIFODataNo(int fifoNo, MXDataNo * startDataNo, MXDataNo
* endDataNo);

Parameters

fifoNo

Specify the FIFO number.

startDataNo

Specify the destination where the start data number is to be returned.

endDataNo

Specify the destination where the end data number is to be returned.

Description

Gets the data number of measured data that can be retrieved.
Gets the data range that can be retrieved starting from the next data after the

measured data that was received last through FIFO designation.

Return value

Returns an error number.

Error:
Not support

The FIFO number is outside the range.

Reference

getDataNo

CDAQMX::getItemError

Syntax

int getItemError(void);

Description

Gets the value of the setting item number field from the data member.

Return value

Returns the setting item number.

2.5 Details of the MX100 Class

Advertising