2cdaqmxoutputdata::operator, Cdaqmxoutputdata::setchoice, Cdaqmxoutputdata::setmxoutputdata – Yokogawa PC-Based MX100 User Manual

Page 202

Advertising
background image

2-179

IM MX190-01E

MX100 -Visual C++

2

CDAQMXOutputData::operator=

Syntax

CDAQMXOutputData & operator=(CDAQMXOutputData &
cMXOutputData);

Parameters

cMXOutputData Specify an object for substitution.

Description

Copies the data member of the specified object.

Return value

Returns the reference to the object.

CDAQMXOutputData::setChoice

Syntax

void setChoice(int outputNo, int idleChoice, int errorChoice,
int presetValue = 0);

Parameters

outputNo

Specify the output channel data number.

idleChoice

Specify the selected value when idling.

errorChoice

Specify the selected value when an error occurs.

presetValue

Specify the value if the selected value is the “specified 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 “Specify All output data numbers,” the same value is
stored in all data.

Reference

getMXOutput

CDAQMXOutputData::setMXOutputData

Syntax

void setMXOutputData(MXOutputData * pMXOutputData);

Parameters

pMXOutputData Specify the output channel 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

initMXOutputData

2.5 Details of the MX100 Class

Advertising