Cdaqmx100::getclassmxtransmitlist, Cdaqmx100::getdatach – Yokogawa PC-Based MX100 User Manual

Page 595

Advertising
background image

12-31

IM MX190-01E

MX100 for Exteded API

12

CDAQMX100::getClassMXItemConfig

Syntax

CDAQMXItemConfig & getClassMXItemConfig(void);

Description

Gets the object of the setup data field from the data member.

Return value

Returns a reference to the object.

CDAQMX100::getClassMXTransmitList

Syntax

CDAQMXTransmitList & getClassMXTransmitList(void);

Description

Gets the object of the transmission output data management field from the data

member.

Return value

Returns a reference to the object.

CDAQMX100::getDataCh

Syntax

int getDataCh(int chNo, int * bComm);

Parameters

chNo

Specify the channel number.

bComm

Specify the return destination where the communication will or will

not occur.

Description

Gets the measured data of the specified channel 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 channel, 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

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

Reference

getChData getChDataNo getClassMXDataBuffer getTimeData
talkChData
CDAQMXDataBuffer::create CDAQMXDataBuffer::next
CDAQMXDataBuffer::setDataInfo CDAQMXDataBuffer::setDateTime
CDAQMXStatus::isDataNo

12.4 Details of the MX100 Class

Advertising