National Instruments NI-IMAQ Manual De Usuario

Descargar
Página de 52
Chapter 4
Programming with NI-IMAQ for 1394 VIs
© National Instruments Corporation
4-7
Figure 4-6 shows a simplified block diagram for using IMAQ1394
Sequence
. Place IMAQ Create inside a For Loop to create an array of
images for the Images in input to IMAQ1394 SequenceTo Decimal and
Concatenate create a unique name for each image in the array.
Figure 4-6. Acquiring Images Using Sequence
Acquisition VIs
Two acquisition VI types are available in LabVIEW—high-level and
low-level.
High-Level
You can use the high-level acquisition VIs for basic image acquisition
applications. VIs are included for snap, grab, and sequence as described in
the
section of this chapter. You can
find examples of using the high-level acquisition VIs in the
examples\imaq\IMAQ1394examples.llb
file.
Low-Level
Use the low-level acquisition VIs for more advanced image acquisition
applications. The low-level VIs configure an acquisition, start an
acquisition, retrieve the acquired images, and stop an acquisition. You can
use these VIs in conjunction with the event VIs to construct advanced
IMAQ applications.
Follow these general steps to perform a low-level acquisition:
1.
Call IMAQ1394 Init to initialize the board and create an IMAQ1394
Session.
2.
Call IMAQ1394 Configure Occurrence if you want to implement an
asynchronous acquisition.
3.
Call IMAQ1394 Start Acquisition.