12 cdaqmxaopwmlist::copydata, Cdaqmxaopwmlist::create, Cdaqmxaopwmlist::getclassmxaopwmdata – Yokogawa PC-Based MX100 User Manual
Page 631

12-67
IM MX190-01E
MX100 for Exteded API
12
CDAQMXAOPWMList::copyData
Syntax
void copyData(int idAOPWM, CDAQMXAOPWMData * pcMXAOPWMData);
Parameters
idAOPWM
Specify the AO/PWM data identifier.
pcMXAOPWMData
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
getClassMXAOPWMData
CDAQMXAOPWMList::create
Syntax
virtual int create(void);
Description
Creates data and adds it to the list.
Return value
Returns the data identifier.
Reference
add
CDAQMXAOPWMData::CDAQMXAOPWMData
CDAQMXAOPWMList::getClassMXAOPWMData
Syntax
CDAQMXAOPWMData * getClassMXAOPWMData(int idAOPWM);
Parameters
idAOPWM
Specify the AO/PWM 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