Cdaqmx100::switchdo – Yokogawa PC-Based MX100 User Manual

Page 621

Advertising
background image

12-57

IM MX190-01E

MX100 for Exteded API

12

CDAQMX100::switchBackup

Syntax

int switchBackup(int bBackup);

Parameters

bBackup

Specify backup using a Boolean value.

Description

Switches backup.
Updates the status if successful.

Return value

Returns an error number.

Reference

setBackup updateRenew

CDAQMX100::switchDO

Syntax

int switchDO(int idDO, int bONOFF);

Parameters

idDO

Specify the DO data identifier.

bONOFF

Specify ON/OFF using a Boolean value.

Description

Sends the specified DO data.

Changes the valid channels of the DO data to the specified ON/OFF value and
sends them.

Updates the status if successful.

Return value

Returns an error number.

Error:
Not Data

There is no data.

Reference

commandDO getClassMXDOList
CDAQMXDOData::setDOONOFF
CDAQMXDOList::getClassMXDOData

12.4 Details of the MX100 Class

Advertising