Owner manual
18-4 IM MX190-01E
Constants for Visual Basic and Visual Basic.NET/C#
This section describes the mnemonics for and meanings of the constants. For the
details on the MX100 functions, see the relevant user’s manual.
In C#, it is the constant data for the DAQMX100 class. Prefix each constant with
CDAQMX100. (Ex.: CDAQMX100.DAQMX_COMMPORT).
Numbers
Mnemonic Description
DAQMX100_NUMMODULE The number of modules.
DAQMX100_NUMCHANNEL The number of channels.
DAQMX100_NUMDO The number of DO data sets.
DAQMX100_NUMFIFO The number of FIFOs.
DAQMX100_NUMALARM The number of alarms. Since API R3.01, the number of
alarms has changed to 4.
DAQMX100_NUMSEGMENT The number of 7-segment LEDs.
DAQMX100_NUMMACADDR The number of MAC address elements (byte count).
DAQMX100_NUMAOPWM The number of AO/PWM data.
DAQMX100_NUMBALANCE Number of initial balance data.
DAQMX100_NUMOUTPUT Number of output channel data.
Maximum Values
Mnemonic Description
DAQMX100_MAXHOSTNAMELEN Maximum length of the host name string.
DAQMX100_MAXUNITLEN Maximum length of the unit name string.
DAQMX100_MAXTAGLEN Maximum length of the tag string.
DAQMX100_MAXCOMMENTLEN Maximum length of the comment string.
DAQMX100_MAXSERIALLEN Maximum length of the MX100 serial number string.
DAQMX100_MAXPARTNOLEN Maximum length of the part number (firmware part
number) string.
DAQMX100_MAXDECIMALPOINT Maximum value of the decimal point position.
DAQMX100_MAXDISPTIME Maximum value of the 7-segment LED display time.
DAQMX100_MAXPULSETIME Maximum value of the integer multiple of the pulse
interval.
The maximum length of the string does not include the terminator (NULL).
18.2 MX100 Constants