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

Page 611

Advertising
background image

12-47

IM MX190-01E

MX100 for Exteded API

12

CDAQMX100::setChTag

Syntax

int setChTag(int chNo, const char * strTag);

Parameters

chNo

Specify the channel number.

strTag

Specify the tag.

Description

Sets the tag on the channel of the specified channel number.

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::setTag
CDAQMXItemConfig::getClassMXChConfig

CDAQMX100::setChUnit

Syntax

int setChUnit(int chNo, const char * strUnit);

Parameters

chNo

Specify the channel number.

strUnit

Specify the unit name.

Description

Sets the unit name on the channel of the specified channel number.
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::setUnit
CDAQMXItemConfig::getClassMXChConfig

12.4 Details of the MX100 Class

Advertising