Cdaqmxchconfig::setrtd, Cdaqmxchconfig::setscalling – Yokogawa PC-Based MX100 User Manual
Page 127
2-104
IM MX190-01E
CDAQMXChConfig::setRTD
Syntax
void setRTD(int iRangeRTD, int iTempUnit = DAQMX_TEMPUNIT_C);
Parameters
iRangeRTD
Specify the range type of the RTD input.
iTempUnit
Specify the temperature unit type.
Description
Sets the specified range.
Makes the channel status valid. The settings are set to the default values of the
specified range type.
The channel type is set to the value of AI.
Any specification other than the RTD range is ignored.
The span, scale, decimal point position, unit name, and reference channel are set to
the default values. The alarm setting is initialized (cleared).
Reference
setAlarm setPoint setRefChNo setScalling setSpan setType
setUnit setValid
CDAQMXChConfig::setScalling
Syntax
void setScalling(int scaleMin, int scaleMax, int scalePoint,
int iTempUnit = DAQMX_TEMPUNIT_C);
Parameters
scaleMin
Specify the scale minimum.
scaleMax
Specify the scale maximum.
scalePoint
Specify the decimal point position.
iTempUnit
Specify the temperature unit type.
Description
Stores the specified value in the AI and DI setup data fields of the data member.
Sets the scale type to Linear.
Checks the value according to the range type and channel type that are already set.
If the maximum and minimum values are the same, the scale type is set to None.
The decimal point position is set to the default value.
AI (remote RJC), DO, AO, PWM, and other channel types on which the scale cannot
be set are ignored.
Reference
getKind setPoint getRange getRangePoint setType
2.5 Details of the MX100 Class