Yokogawa PC-Based MX100 User Manual

Page 617

Advertising
background image

12-53

IM MX190-01E

MX100 for Exteded API

12

CDAQMX100::setRange

Syntax

int setRange(int chNo, int iRange);

Parameters

chNo

Specify the channel number.

iRange

Specify the range type.

Description

Sets the range.

For the contact range and SKIP range types, see the definitions for the new
constants.

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.

Return value

Returns an error number.

Reference

getClassMXItemConfig setItemAll
CDAQMXItemConfig::setAO
CDAQMXItemConfig::setDI
CDAQMXItemConfig::setPWM
CDAQMXItemConfig::setRES
CDAQMXItemConfig::setRTD
CDAQMXItemConfig::setSKIP
CDAQMXItemConfig::setSTRAIN
CDAQMXItemConfig::setTC
CDAQMXItemConfig::setVOLT

12.4 Details of the MX100 Class

Advertising