User manual
Chapter 3 Software Overview
NI-DAQ User Manual for PC Compatibles 3-8 ni.com
Some General DAQ Events can be implemented only by a select group
of National Instruments DAQ devices. Also, some General DAQ Events
require that you set the asynchronous data acquisition or generation
operation to use interrupts. For more information on the different
types of General DAQ Events, refer to the description for the
Config_DAQ_Event_Message
functionintheNI-DAQ Function
Reference Online Help file.
Set each of these properties as follows:
GeneralDAQEventn.property name = property value
For example, to set the
ChanStr
property to Analog Input channel 0 for
GeneralDAQEvent 1:
GeneralDAQEvent1.ChanStr = "AI0"
Set up your program flow like this:
1. Set the properties of the General DAQ Event control. Then, configure
the acquisition or generation operations using the appropriate NI-DAQ
functions.
2. Set the
Enabled
property of the General DAQ Event control
to1(True).
3. Invoke the
GeneralDAQEventn
.
Refresh
method to set the
DAQ Event in the NI-DAQ driver. Each subsequent use of
GeneralDAQEventn
.
Refresh
deletes the old DAQ Event and
sets a new one with the current set of properties.
PreTrigScans
Long
PostTrigScans
Long
Index
N/A
Tag
N/A
Enabled
0—False (default)
1—True
Table 3-1. General DAQ Event Control Properties (Continued)
Property Allowed Property Values










