Owner manual
25-5
IM MX190-01E
25
DARWIN for Extended API Constants and Types
Constants for Visual Basic and Visual Basic.NET/C#
This section describes the mnemonics for and the meanings of the constants. For
the details on the DARWIN functions, see the relevant user’s manual.
In C#, it is the constant data for the DAQDA100 class. Prefix each constant with
DAQDA100 (Ex.: DAQDA100.DAQDA100_NUMCHANNEL).
Constants
Mnemonic Description
DAQDA100_NUMCH_BYUNIT Channel numbers in the unit
DAQDA100_CHTYPE_MEASALL Specifies all measurement channels
(computation channels are not included)
DAQDA100_CHNO_ALL Specification of all channel numbers
DAQDA100_LEVELNO_ALL Specification of all alarm levels
Retrieve Code Types
Mnemonic Description
DAQDA100_CODE_BINARY Binary code
DAQDA100_CODE_ASCII ASCII code
The retrieval code type is the output format type when retrieving measured data.
Communication Constants
Mnemonic Description
DAQDA100_COMMPORT Communication port number of DARWIN.
Number of Items
Mnemonic Description
DAQDA100_NUMCHANNEL The number of channels.
DAQDA100_NUMALARM The number of alarms.
DAQDA100_NUMUNIT The number of subunits.
DAQDA100_NUMSLOT The number of slots per subunit.
DAQDA100_NUMTERM The number of terminals per slot (module).
Sets the number of items such as the number of modules or units.
25.2 DARWIN Constants