© National Instruments
|
4-3
Triggering Setting
By default, the NI 6614 begins generating the pulses when you call the DAQmx Start Task VI
or function. The NI 6614 can also begin generating pulses in response to a digital trigger.
Figure 4-3 shows an example using a digital trigger.
Figure 4-3.
Start Trigger Initiates Pulse Generation
To use a start trigger, call the DAQmx Start Trigger (Digital Edge) VI or function. Inputs to this
VI or function include:
•
Source—Specifies which terminal to use as the Start Trigger signal.
•
Edge—Specifies a rising or falling edge.
The following DAQmx Trigger properties configure the Start Trigger:
•
Start.Delay, Start.DelayUnits—Specifies the delay from when the trigger occurs to when
the NI 6614 begins generating pulses.
Note
Even if the Start.Delay is set to 0, the NI 6614 inserts a minimum delay equal
to two ticks of the counter timebase.
•
Start.DigEdge.DigFltr.Enable, Start.DigEdge.DigFltr.MinPulseWidth—Enables and
configures a digital filter on the start trigger input. This filter eliminates noise on the start
trigger signal. Refer to Chapter 6,
, for more information.
•
Start.Retriggerable—Enables a retriggerable generation. After the NI 6614 generates a
series of pulses, it monitors the Start Trigger input. When the NI 6614 receives another Start
Trigger, it generates the same series of pulses again. Figure 4-4 shows an example of
retriggerable generation.
Figure 4-4.
Retriggerable Pulse Generation
Note that in Figure 4-4, the Start Delay only applies to the first Start Trigger. To change this
behavior, set the CO.EnableInitialDelayOnRetrigger DAQmx Channel property to True.
S
t
a
rt Trigger
O
u
tp
u
t
S
t
a
rt Del
a
y
S
t
a
rt Trigger
O
u
tp
u
t
S
t
a
rt Del
a
y