2cdaqmxconfig::settc, Cdaqmxconfig::settempunit – Yokogawa PC-Based MX100 User Manual

Page 174

Advertising
background image

2-151

IM MX190-01E

MX100 -Visual C++

2

CDAQMXConfig::setTC

Syntax

void setTC(int chNo, int iRangeTC, int spanMin = 0, int
spanMax = 0);

Parameters

chNo

Specify the channel number.

iRangeTC

Specify the range type of the thermocouple 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::setTC CDAQMXSysInfo::getModuleType
CDAQMXSysInfo::getTempUnit

CDAQMXConfig::setTempUnit

Syntax

void setTempUnit(int iTempUnit);

Parameters

iTempUnit

Specify the temperature unit type.

Description

Changes the temperature unit type of the setup data.
Stores the specified value in the System configuration data field.

Changes the settings of the channels affected.

Reference

CDAQMXChConfigData::changeRange
CDAQMXSysInfo::setTempUnit

2.5 Details of the MX100 Class

Advertising