2 mx100 constants, Mx100 constants -3, Visual c/visual c++ constants – Yokogawa PC-Based MX100 User Manual

Page 977

Advertising
background image

18-3

IM MX190-01E

MX100 Constants and Types for Extended API - Visual Basic -

18

18.2 MX100 Constants

This section describes the mnemonic and the meaning of the constants. For the

details on the MX100 functions, see the relevant user’s manual.

Visual C/Visual C++ Constants

In Visual C/Visual C++, the constants from chapter 6 are inherited. The following
constants have been added.

Constant

Mnemonic

Description

DAQMX_LIST_ALL

Specifies all data identifiers.

DAQMX_LIST_CURRENT

Specifies the current data when copying.

See also “Constants” in section 6.2.

Range Types

This Extended API defines bits that differentiate between the specially-defined ranges
and the existing ranges. Differentiations can be made using logical operations.

Mnemonic

Description

DAQMX_RANGETYPE_DI

Special range type for digital input

DAQMX_RANGETYPE_SKIP

Other special range type

See also “Range Types” in section 6.2.

Digital Input (DI) Range Types

The detailed range of digital input is used for the digital input range. If specification
is made regardless of the module range, the following is used.

Mnemonic

Description

DAQMX_RANGE_DI_LEVEL

Less than 2.4 V, Greater than or equal to

2.4 V

DAQMX_RANGE_DI_CONTACT

0:open, 1:close

Skip

You can specify the following definition for the special range setting.

Mnemonic

Description

DAQMX_RANGE_SKIP

SKIP (not used)

Advertising