Cdaqmxbalancedata::setbalance, Cdaqmxbalancedata::setmxbalancedata, Cdaqmxbalanceresult::initmxbalancedata – Yokogawa PC-Based MX100 User Manual

Page 103

Advertising
background image

2-80

IM MX190-01E

CDAQMXBalanceData::setBalance

Syntax

void setBalance(int balanceNo, int bValid, int iBalanceValue);

Parameters

balanceNo

Specify the initial balance data number.

bValid

Specify the Boolean value.

iBalanceValue

Specify the initial balance value.

Description

Stores the specified value in the field indicated by the specified data number of the
data member.

If the data number is set to the constant for “Specify All initial balance data
numbers,”the same value is stored to all data.

Reference

getMXBalance

CDAQMXBalanceData::setMXBalanceData

Syntax

void setMXBalanceData(MXBalanceData * pMXBalanceData);

Parameters

pMXBalanceData

Specify initial balance data.

Description

Sets the data in a structure.

Stores the contents of the specified structure in the data member.
If not specified, the data member is initialized.

Reference

initMXBalanceData

CDAQMXBalanceResult::initMXBalanceData

Syntax

static void initMXBalanceData(MXBalanceData * pMXBalanceData);

Parameters

pMXBalanceData

Specify the initial balance data field.

Description

Initializes the specified field.
The default value as a general rule is 0.

2.5 Details of the MX100 Class

Advertising