2cdaqmxdodata::operator, Cdaqmxdodata::setdo, Cdaqmxdodata::setdoonoff – Yokogawa PC-Based MX100 User Manual
Page 190

2-167
IM MX190-01E
MX100 -Visual C++
2
CDAQMXDOData::operator=
Syntax
CDAQMXDOData & operator=(CDAQMXDOData & cMXDOData);
Parameters
cMXDOData
Specify an object for substitution.
Description
Copies the data member of the specified object.
Return value
Returns the reference to the object.
CDAQMXDOData::setDO
Syntax
void setDO(int doNo, int bValid, int bONOFF = DAQMX_VALID_OFF);
Parameters
doNo
Specify the data number.
bValid
Specify valid or invalid using a Boolean value.
bONOFF
Specify ON/OFF using a Boolean value.
Description
Stores the specified value in the field indicated by the specified DO data number in
the DO data field of the data member.
If the constant for “Specify all DO numbers” is specified for the DO data number, the
value is stored to all DO data.
Reference
getMXDO
CDAQMXDOData::setDOONOFF
Syntax
void setDOONOFF(int bONOFF);
Parameters
bONOFF
Specify ON/OFF using a Boolean value.
Description
Changes to the specified value, the DO ON/OFF setting of all DO data whose DO
data number is Valid in the DO data field of the data member.
Reference
getMXDO
2.5 Details of the MX100 Class