12 cdaqmxdolist::copydata, Cdaqmxdolist::create, Cdaqmxdolist::getclassmxdodata – Yokogawa PC-Based MX100 User Manual
Page 647

12-83
IM MX190-01E
MX100 for Exteded API
12
CDAQMXDOList::copyData
Syntax
void copyData(int idDO,CDAQMXDOData * pcMXDOData);
Parameters
idDO
Specify the DO data identifier.
pcMXDOData
Specify the data using a pointer.
Description
Copies the data specified by the pointer to the data of the specified data identifier.
If the data identifier is set to the constant for “Specify all data identifiers,” all data in
the list is processed.
Reference
getClassMXDOData
CDAQMXDOList::create
Syntax
virtual int create(void);
Description
Creates data and adds it to the list.
Return value
Returns the data identifier.
Reference
add
CDAQMXDOData::CDAQMXDOData
CDAQMXDOList::getClassMXDOData
Syntax
CDAQMXDOData * getClassMXDOData(int idDO);
Parameters
idDO
Specify the DO data identifier.
Description
Gets the data of the specified data identifier.
If the data identifier is set to the constant for “specify current data,” gets the current
data field from the data member.
Returns NULL if it does not exist.
Return value
Returns a pointer to the data.
Reference
getCurrent getData
12.4 Details of the MX100 Class