National Instruments Image Acqusition Software NI-IMAQdx User Manual
Chapter 2
Basic Acquisition with NI-IMAQdx
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.
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.
acquisition.
Figure 2-5. Low-Level Snap Flowchart
Opens and configures camera
Starts transferring data from camera
to host computer
to host computer
Executes user-specific image
processing
processing
Stops transferring data from camera
to host computer
to host computer
Configures a single-shot,
single-buffer acquisition
single-buffer acquisition
Closes the camera session
Frees resources used by the acquisition
Copies and decodes buffer
number 0
number 0
Open
Configure
Start
Acquire
User-Specific Functions
Stop
Unconfigure
Close