National Instruments IEEE 1394 ユーザーズマニュアル
Chapter 2
Basic Acquisition with NI-IMAQ for IEEE 1394 Cameras
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
Buffer Acquisition
Closes the Camera Session
Frees IEEE 1394 Bandwidth and Memory
Resources Used by the Acquisition
Resources Used by the Acquisition
Copies and Decodes Buffer
Number 0
Number 0
Initialize
Configure
Start
Acquire
User-Specific Functions
Stop
Clear
Close