2cdaqmxchconfig::setdelta, Cdaqmxchconfig::setdi – Yokogawa PC-Based MX100 User Manual

Page 122

Advertising
background image

2-99

IM MX190-01E

MX100 -Visual C++

2

CDAQMXChConfig::setDELTA

Syntax

void setDELTA(int refChNo, int iRange, int iTempUnit =
DAQMX_TEMPUNIT_C);

Parameters

refChNo

Specify the reference channel number.

iRange

Specify the range type.

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 types for the API before R3.01 are AI (difference between channels) or
DI (difference between channels). The API R3.01 or later supports Pulse input
(difference between channels) and CAN Bus input (difference between channels).
Specify the range type independently without using reference ranges. For the digital
input (DI), it must be a digital input (DI) detailed range.
Any specification other than the input 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::setDI

Syntax

void setDI(int iRangeDI);

Parameters

iRangeDI

Specify the range type of the digital input (DI) detailed range.

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 DI.
Any specification other than the digital input detailed 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