Programming Examples

NI IMAQ

Programming Examples

This section introduces some examples for performing the different types of image acquisition. The error codes that NI-IMAQ returns are not included in the examples. In your programs, always check the return code for errors.

Note  You can find the code examples discussed in this section in the <NI-IMAQ>\Sample directory, where <NI-IMAQ> is the location to which NI-IMAQ is installed.

Introductory Examples

High-Level Snap Functions

High-Level Grab Functions

High-Level Sequence Functions

High-Level Ring Functions

High-Level Signal I/O Functions

Advanced Examples

Performing a Snap Using Low-Level Functions

Performing a Grab Using Low-Level Functions

Performing a Sequence Acquisition Using Low-Level Functions

Performing a Ring Acquisition Using Low-Level Functions