Chapter 2 Software Overview
NI-IMAQ User Manual 2-2
©
National Instruments Corporation
Generic FunctionsUse generic functions in both high-level and low-level applications.
imgInterfaceOpen Opens by name an interface as specified
in the IMAQ Configuration Utility.
imgSessionOpen Opens a session of an unknown type and
returns a session ID.
imgClose Closes a session or interface and unlocks
and releases all buffers associated with
the data type.
High-Level FunctionsUse high-level functions to quickly and easily capture images. If you need
more advanced functionality, you can mix high-level functions with
low-level functions.
Snap Functions
Snap functions program the session to capture all or a portion of a single
frame or field to the user buffer.
imgSnap Performs a single frame and field
acquisition.
imgSnapArea Performs an area-specific frame or field
acquisition.
Grab Functions
Grab functions start a continuous image acquisition to a user buffer. Any
frame or field can be copied from the grab buffer to another user buffer.
imgGrabSetup Configures and optionally starts a
continuous acquisition.
imgGrab Performs a transfer from a continuous
acquisition session. Call this function
only after calling imgGrabSetup.
UM.book Page 2 Monday, July 13, 1998 9:49 AM