Cdaqmx100::setdatetime, Cdaqmx100::setdeenergize – Yokogawa PC-Based MX100 User Manual

Page 612

Advertising
background image

12-48

IM MX190-01E

CDAQMX100::setDateTime

Syntax

virtual int setDateTime(CDAQMXDateTime * pcMXDateTime = NULL);

Parameters

pcMXDateTime

Specify the time information data.

Description

Sets time information data on the device.
Updates the status if successful.

Return value

Returns an error number.

Reference

updateRenew
CDAQMX::setDateTime

CDAQMX100::setDeenergize

Syntax

int setDeenergize(int doNo, int bDeenergize);

Parameters

doNo

Specify the data number.

bDeenergize

Specify de-energize using a Boolean value.

Description

Sets de-energize on the specified DO data number of the specified channel.

Changes the setup data fields of the data member and sends them collectively.
If the constant for “Specify All Channels” is specified for the channel numbers, all

channels are processed.

Return value

Returns an error number.

Reference

getClassMXItemConfig setItemAll
CDAQMXChConfig::setDeenergize
CDAQMXItemConfig::getClassMXChConfig

12.4 Details of the MX100 Class

Advertising