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

Page 175

Advertising
background image

2-152

IM MX190-01E

CDAQMXConfig::setVOLT

Syntax

void setVOLT(int chNo,int iRangeVOLT,int spanMin = 0,int
spanMax = 0);

Parameters

chNo

Specify the channel number.

iRangeVOLT

Specify the range type of the DC voltage input.

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::setSpan
CDAQMXChConfig::setVOLT
CDAQMXSysInfo::getModuleType
CDAQMXSysInfo::getTempUnit

2.5 Details of the MX100 Class

Advertising