2cdaqmxchconfig::setpulse, Cdaqmxchconfig::setpwm – Yokogawa PC-Based MX100 User Manual
Page 124
![background image](/manuals/360310/124/background.png)
2-101
IM MX190-01E
MX100 -Visual C++
2
CDAQMXChConfig::setPULSE
Syntax
void setPULSE(int iRangePULSE);
Parameters
iRangePULSE
Specify the pulse range from the range 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 pulse input.
Any channels other than the pulse range are ignored.
The span, scale, decimal point position, and reference channel number are set to
the default values.
The alarm setting is initialized (cleared).
Reference
setAlarm setPoint setRefChNo setScalling setSpan setType
setUnit setValid
CDAQMXChConfig::setPWM
Syntax
void setPWM(int iRangePWM);
Parameters
iRangePWM
Specify the PWM range type.
Description
Sets the specified range.
Makes the channel status valid.
The settings are set to the default values of the specified range type.
Holds the reference channel number according to the previously set channel type.
For command PWM channels, the reference channel number is the “undefined
reference channel number.”
Any specification other than the PWM range is ignored. If PWM or command PWM
channels are unspecified, they are ignored.
The span, scale, decimal point position, and unit name are set to the default values.
The alarm setting is initialized (cleared).
Reference
getKind getRefChNo setAlarm setPoint setRefChNo setScalling
setSpan setType setUnit setValid
2.5 Details of the MX100 Class