Cdaqmxchconfig::settc, Cdaqmxchconfig::setvolt – Yokogawa PC-Based MX100 User Manual

Page 129

Advertising
background image

2-106

IM MX190-01E

CDAQMXChConfig::setTC

Syntax

void setTC(int iRangeTC, int iTempUnit = DAQMX_TEMPUNIT_C);

Parameters

iRangeTC

Specify the range type of the thermocouple 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 TC 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::setVOLT

Syntax

void setVOLT(int iRangeVOLT);

Parameters

iRangeVOLT

Specify the range type of the DC voltage input.

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 DC voltage 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

2.5 Details of the MX100 Class

Advertising