2cdaqmxchconfig::getrangemin, Cdaqmxchconfig::getrangepoint, Cdaqmxchconfig::getrefchno – Yokogawa PC-Based MX100 User Manual

Page 114

Advertising
background image

2-91

IM MX190-01E

MX100 -Visual C++

2

CDAQMXChConfig::getRangeMin

Syntax

static int getRangeMin(int iRange, int iTempUnit =
DAQMX_TEMPUNIT_C);

Parameters

iRange

Specify the range type.

iTempUnit

Specify the temperature unit type.

Description

Gets the minimum value of the setting range of the specified range type.

Specify the detailed range of the digital input.
Returns 0 if the designation is unknown.

The value returned is the value without the decimal places.

Return value

Returns the minimum value of the range setting.

CDAQMXChConfig::getRangePoint

Syntax

static int getRangePoint(int iRange, int iTempUnit =
DAQMX_TEMPUNIT_C);

Parameters

iRange

Specify the range type.

iTempUnit

Specify the temperature unit type.

Description

Gets the decimal point position of the specified range type.

Specify the detailed range of the digital input.
Returns 0 if the designation is unknown.

Return value

Returns the decimal point position.

CDAQMXChConfig::getRefChNo

Syntax

int getRefChNo(void);

Description

Gets the reference channel number from the AI and DI setup data field of the data
member.

Return value

Returns the reference channel number.

2.5 Details of the MX100 Class

Advertising