2cdaqmxchconfig::setskip, Cdaqmxchconfig::setspan, Cdaqmxchconfig::setstrain – Yokogawa PC-Based MX100 User Manual

Page 128

Advertising
background image

2-105

IM MX190-01E

MX100 -Visual C++

2

CDAQMXChConfig::setSKIP

Syntax

void setSKIP(void);

Description

Sets SKIP (not used).
Makes the channel status invalid.

Reference

setValid

CDAQMXChConfig::setSpan

Syntax

void setSpan(int spanMin, int spanMax, int iTempUnit =
DAQMX_TEMPUNIT_C);

Parameters

spanMin

Specify the span minimum.

spanMax

Specify the span maximum.

iTempUnit

Specify the temperature unit type.

Description

Stores the specified value in the AI and DI setup data fields of the data member.
Checks the value according to the range type and channel type that are already set.
If the maximum and minimum values are equal, the value is not stored. If the value
is outside the range, it is rounded to a valid value.
If the maximum and minimum values are reversed for the AO/PWM channels, they
are ignored.

Reference

getKind getRange

CDAQMXChConfig::setSTRAIN

Syntax

void setSTRAIN(int iRangeSTR);

Parameters

iRangeSTR

Specify the strain range 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 AI.
Any specification other than the strain 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