Cdaqmxconfig::setao – Yokogawa PC-Based MX100 User Manual

Page 163

Advertising
background image

2-140

IM MX190-01E

CDAQMXConfig::setAO

Syntax

void setAO(int chNo,int iRangeAO,int spanMin = 0,int spanMax =
0);

Parameters

chNo

Specify the channel number.

iRangeAO

Specify the AO range type.

spanMin

Specify the span minimum.

spanMax

Specify the span maximum.

Description

Sets the channel of the specified channel number to the specified range.

If the maximum and minimum values are the same, the span is considered omitted.
If the channel does not exist or the channel is not on the corresponding module, the

setting is void.
If the constant for “Specify all channel numbers” is specified for the channel

numbers, all channels are processed.
The output type of the output channel data is reset to match the specified range.

Reference

getClassMXChConfig getClassMXOutputData getClassMXSysInfo
CDAQMXChConfig::setAO
CDAQMXChConfig::setSpan
CDAQMXOutputData::setOutputType
CDAQMXSysInfo::getModuleType
CDAQMXSysInfo::getTempUnit

2.5 Details of the MX100 Class

Advertising