Cdaqmx100::setchcomment, Cdaqmx100::setchdelta – Yokogawa PC-Based MX100 User Manual

Page 608

Advertising
background image

12-44

IM MX190-01E

CDAQMX100::setChComment

Syntax

int setChComment(int chNo, const char * strComment);

Parameters

chNo

Specify the channel number.

strComment

Specify the comment.

Description

Sets the comment 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::setComment
CDAQMXItemConfig::getClassMXChConfig

CDAQMX100::setChDELTA

Syntax

int setChDELTA(int chNo, int refChNo, int iRange =
DAQMX_RANGE_REFERENCE);

Parameters

chNo

Specify the channel number.

refChNo

Specify the channel number of the reference channel.

iRange

Specify the range type for the input of the target channel.

Description

Sets the difference computation for the specified reference channels.
Channel settings outside the range take default values.

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.
If the range type is set to “Reference Channel” the range of the channel number that

references the target channel’s measurement range is applied.

Return value

Returns an error number.

Reference

getClassMXItemConfig setItemAll
CDAQMXItemConfig::getClassMXSysInfo
CDAQMXItemConfig::setDELTA
CDAQMXSysInfo::getModuleType

12.4 Details of the MX100 Class

Advertising