National Instruments NI-IMAQdx Automobile Accessories User Manual


 
Chapter 4 Using NI-IMAQdx in LabVIEW
NI-IMAQdx User Manual 4-5 ni.com
Acquisition Types
The following sections describe snap, grab, and sequence acquisitions in
LabVIEW and give examples.
Snap
Use the IMAQdx Snap VI for snap applications. Figure 4-3 shows a
simplified block diagram for using IMAQdx Snap.
Figure 4-3. Acquiring an Image Using Snap
Grab
Use two VIs—IMAQdx Configure Grab and IMAQdx Grab—for a grab
acquisition in LabVIEW. Call IMAQdx Configure Grab once to open the
acquisition and start capturing the image to an internal software buffer. You
can call IMAQdx Grab multiple times to copy the image currently stored in
the internal buffer to a LabVIEW image buffer. After the program finishes
copying images, call IMAQdx Close Camera once to shut down the
acquisition.