![National Instruments DAQ X Series Скачать руководство пользователя страница 83](http://html1.mh-extra.com/html/national-instruments/daq-x-series/daq-x-series_user-manual_3551122083.webp)
Chapter 4
Analog Input
©
National Instruments
4-37
X Series User Manual
AI Reference Trigger Signal
Use AI Reference Trigger (ai/ReferenceTrigger) signal to stop a
meas
u
rement acq
u
isition. To
u
se a reference trigger, specify a b
u
ffer of
finite size and a n
u
mber of pretrigger samples (samples that occ
u
r before
the reference trigger). The n
u
mber of posttrigger samples (samples that
occ
u
r after the reference trigger) desired is the b
u
ffer size min
u
s the
n
u
mber of pretrigger samples.
Once the acq
u
isition begins, the DAQ device writes samples to the b
u
ffer.
After the DAQ device capt
u
res the specified n
u
mber of pretrigger samples,
the DAQ device begins to look for the reference trigger condition. If the
reference trigger condition occ
u
rs before the DAQ device capt
u
res the
specified n
u
mber of pretrigger samples, the DAQ device ignores the
condition.
If the b
u
ffer becomes f
u
ll, the DAQ device contin
u
o
u
sly discards the oldest
samples in the b
u
ffer to make space for the next sample. This data can be
accessed (with some limitations) before the DAQ device discards it. Refer
to the KnowledgeBase doc
u
ment,
Can a Pretriggered Acquisition be
Continuous?
, for more information. To access this KnowledgeBase, go to
ni.com/info
and enter the Info Code
rdcanq
.
When the reference trigger occ
u
rs, the DAQ device contin
u
es to write
samples to the b
u
ffer
u
ntil the b
u
ffer contains the n
u
mber of posttrigger
samples desired. Fig
u
re 4-23 shows the final b
u
ffer.
Figure 4-23.
Reference Trigger Final Buffer
Reference Trigger
Pretrigger
Sa
mple
s
Complete B
u
ffer
Po
s
ttrigger
Sa
mple
s
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com