Cdaqmx100::getdatafifo, Cdaqmx100::getdatanum – Yokogawa PC-Based MX100 User Manual

Page 596

Advertising
background image

12-32

IM MX190-01E

CDAQMX100::getDataFIFO

Syntax

int getDataFIFO(int fifoNo, int * bComm);

Parameters

fifoNo

Specify the FIFO number.

bComm

Specify the return destination where the communication will or will

not occur.

Description

Retrieves the measured data of the specified FIFO number.
Increments the current index of various kinds of information for each channel of the

data member.
When no stored data exists, communication is opened and new data is retrieved.

Gets FIFO values by FIFO, and stores them in the data member.
Returns the Boolean value indicating whether or not the communication was actually

carried out if the return destination is specified.

Return value

Returns an error number.

Error:
Not Data

Various kinds of information fields for each channel do not exist.

Reference

getChData getClassMXDataBuffer getFIFODataNo getTimeData
nextFIFO searchChNo talkFIFOData
CDAQMXDataBuffer::create
CDAQMXDataBuffer::setDataInfo
CDAQMXDataBuffer::setDateTime
CDAQMXStatus::isDataNo

CDAQMX100::getDataNum

Syntax

int getDataNum(int fifoNo);

Parameters

fifoNo

Specify the FIFO number.

Description

Gets all types of information fields for each channel of the data member in the

remaining number of data of the specified FIFO number.
Returns the minimum value of the channels in the FIFO.

Returns 0 if it does not exist.

Return value

Returns the remaining number of data.

Reference

getClassMXDataBuffer
CDAQMXDataBuffer::getDataNum

12.4 Details of the MX100 Class

Advertising