Cdaqmxbalancelist::copydata, Cdaqmxbalancelist::create, Cdaqmxbalancelist::getclassmxbalancedata – Yokogawa PC-Based MX100 User Manual

Page 636

Advertising
background image

12-72

IM MX190-01E

CDAQMXBalanceList::copyData

Syntax

void copyData(int idBalance, CDAQMXBalanceData *
pcMXBalanceData);

Parameters

idBalance

Specify the initial balance data identifier.

pcMXBalanceData

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

getClassMXBalanceData

CDAQMXBalanceList::create

Syntax

virtual int create(void);

Description

Creates data and adds it to the list.

Return value

Returns the data identifier.

Reference

add
CDAQMXBalanceData::CDAQMXBalanceData

CDAQMXBalanceList::getClassMXBalanceData

Syntax

CDAQMXBalanceData * getClassMXBalanceData(int idBalance);

Parameters

idBalance

Specify the initial balance 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

Advertising