National Instruments NI-IMAQdx Automobile Accessories User Manual


 
Chapter 2 Basic Acquisition with NI-IMAQdx
NI-IMAQdx User Manual 2-12 ni.com
Snap
The low-level snap examples set up a one-shot, single-image acquisition
and start the acquisition. The program acquires an image and processes it.
Finally, the program stops the acquisition, unconfigures the acquisition,
and closes the session.
Figure 2-5 illustrates the programming order of a low-level snap
acquisition.
Figure 2-5. Low-Level Snap Flowchart
Opens and configures camera
Starts transferring data from camera
to host computer
Executes user-specific image
processing
Stops transferring data from camera
to host computer
Configures a single-shot,
single-buffer acquisition
Closes the camera session
Frees resources used by the acquisition
Copies and decodes buffer
number 0
Open
Configure
Start
Acquire
User-Specific Functions
Stop
Unconfigure
Close