Cdaqmxdolist::change, Cdaqmxlist::copy – Yokogawa PC-Based MX100 User Manual

Page 646

Advertising
background image

12-82

IM MX190-01E

CDAQMXDOList::change

Syntax

void change(int idDO,int doNo,int bValid,int bONOFF =
DAQMX_VALID_OFF);

Parameters

idDO

Specify the DO data identifier.

doNo

Specify the data number.

bValid

Specify valid/invalid using a Boolean value.

bONOFF

Specify ON/OFF using a Boolean value.

Description

Changes the DO data of the specified DO data identifier.

If the data identifier is set to the constant for “Specify all data identifiers,” all data in
the list is processed.

If the DO data number is set to the constant for “Specify all DO numbers,” all items
within the data are processed.

Reference

getClassMXDOData
CDAQMXDOData::setDO

CDAQMXList::copy

Syntax

virtual void copy(int idxNo, int idxSrc);

Parameters

idxNo

Specify the data identifier of the copy destination.

idxSrc

Specify the data identifier of the copy source.

Description

Copies the contents of the data indicated by the data identifier from the copy source
to the copy destination.

Does nothing if not overridden.

12.4 Details of the MX100 Class

Advertising