Cdaqmxconfig::setpulse, Cdaqmxconfig::setpwm – Yokogawa PC-Based MX100 User Manual

Page 169

Advertising
background image

2-146

IM MX190-01E

CDAQMXConfig::setPULSE

Syntax

void setPULSE(int chNo, int iRangePULSE, int spanMin = 0, int
spanMax = 0);

Parameters

chNo

Specify the channel number.

iRangePULSE

Specify the pulse range from the 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.

Reference

getClassMXChConfig getClassMXSysInfo CDAQMXChConfig::setPULSE
CDAQMXChConfig::setSpan CDAQMXSysInfo::getModuleType
ßCDAQMXSysInfo::getTempUnit

CDAQMXConfig::setPWM

Syntax

void setPWM(int chNo,int iRangePWM,int spanMin = 0,int spanMax
= 0);

Parameters

chNo

Specify the channel number.

iRangePWM

Specify the PWM 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::setSpan
CDAQMXChConfig::setPWM CDAQMXOutputData::setOutputType
CDAQMXSysInfo::getModuleType CDAQMXSysInfo::getTempUnit

2.5 Details of the MX100 Class

Advertising