Owner manual
12-55
IM MX190-01E
MX100 for Exteded API
12
CDAQMX100::setScale
Syntax
int setScale(int chNo, double scaleMin, double scaleMax, int
scalePoint);
int setScale(int chNo, int scaleMin = 0, int scaleMax = 0, int
scalePoint = 0);
Parameters
chNo Specify the channel number.
scaleMin Specify the scale minimum.
scaleMax Specify the scale maximum.
scalePoint Specify the decimal point position.
Description
Sets the scale 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
CDAQMXItemConfig::setScalling
CDAQMX100::setSpan
Syntax
int setSpan(int chNo, double spanMin, double spanMax);
int setSpan(int chNo, int spanMin = 0, int spanMax = 0);
Parameters
chNo Specify the channel number.
spanMin Specify the span minimum.
spanMax Specify the span maximum.
Description
Sets the span 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::setSpan
CDAQMXItemConfig::getClassMXChConfig
CDAQMXItemConfig::getClassMXSysInfo
CDAQMXItemConfig::getSpanPoint
CDAQMXSysInfo::getTempUnit
12.4 Details of the MX100 Class