User manual
Chapter 3 Software Overview
© National Instruments Corporation 3-7 NI-DAQ User Manual for PC Compatibles
These three ActiveX controls actually call the NI-DAQ
Config_DAQ_Event_Message
,
Config_ATrig_Event_Message
and
Config_Alarm_Deadband
functions. Visual Basic applications cannot
receive Windows messages, but if you use NI-DAQ ActiveX controls
shown previously in this section, your Visual Basic application can receive
NI-DAQ messages.
Note
You can use the OCXs in Visual Basic, version 4.0 (32-bit) or later.
General DAQ Event
You use the General DAQ Event control to configure and enable a single
data acquisition event. See the Event Message Functions section earlier in
this chapter for a complete description of NI-DAQ events. Table 3-1 lists
the properties for the General DAQ Event control.
Note
An n represents a generic number and is not the same value in every occurrence.
Table 3-1. General DAQ Event Control Properties
Property Allowed Property Values
Name
GeneralDAQEvent
n
(default)
Board
1–n (default)
ChanStr
See
Config_DAQ_Event_Message
in the
NI-DAQ Function Reference Online Help file.
DAQEvent
0—Acquired or generated n scans
1—Every n scans
2—Completed operation or stopped by error
3—Voltage out of bounds
4—Voltage within bounds
5—Analog positive slope triggering
6—Analog negative slope triggering
7—Digital pattern not matched
8—Digital pattern matched
9—Counter pulse event
DAQTrigVal0
Long
DAQTrigVal1
Long
TrigSkipCount
Long










