© National Instruments Corporation 2-1 NI-IMAQdx User Manual
2
Basic Acquisition with
NI-IMAQdx
This chapter contains an overview of the NI-IMAQdx library, a description
of the acquisition flow of NI-IMAQdx, and generic programming
examples. The chapter also contains flowcharts of high-level and low-level
snap, grab, and sequence operations.
Introduction
The NI-IMAQdx application programming interface (API) is divided into
two main function groups: high-level and low-level.
• High-level functions—Use to capture images quickly and easily.
If you need more advanced functionality, you can mix high-level
functions with low-level functions.
– Snap functions—Capture all or a portion of a single image to the
user buffer.
– Grab functions—Perform an acquisition that loops continually on
one or more internal buffers. You can copy the last acquired buffer
to a separate user buffer for processing or analysis.
– Sequence functions—Acquire a specified number of internal
buffers and then stops.
• Low-level functions—Use when you require more direct control of the
image acquisition.
– Acquisition functions—Configure, start, stop, and unconfigure an
image acquisition, or examine a user buffer during an acquisition.
– Attribute functions—Examine and change the acquisition or
camera attributes.
– Event functions—Register events.
– Register functions—Access registers.
– Session functions—Open, close, or enumerate sessions.
– Utility functions—Get detailed error information.