Chapter 3
Programming with NI-IMAQ
Low-Level Functions
Establishing Interface Connections and Sessions
Interface Functions
NI-IMAQ User Manual
The low-level function set supports all types of acquisition and can be
used to:
•
Create a custom acquisition sequence or ring
•
Create and manage your own buffers
•
Set session and interface attributes to adjust image quality and size
•
Start a synchronous or asynchronous acquisition
•
Extract buffers out of a live acquisition for analysis
•
Set up and control triggered acquisitions
To acquire images using the high-level or low-level functions, you must
first learn how to establish a connection to an interface and create a session.
See the
Interface Functions
for information on how to manage interfaces and sessions, then refer to the
high-level or low-level samples for information on acquiring images.
Use interface functions to query the number of available interfaces,
establish a connection to, control access to, and initialize hardware such as
the PCI/PXI-1408. All interfaces in NI-IMAQ are specified by a name. By
default, the system creates default names for the number of boards in your
system. These names observe the convention shown in Table 3-1.
Table 3-1. Interface Naming Convention
Interface Name
img0
img1
...
img n
You can edit existing or create new interfaces by using the IMAQ
Configuration Utility. You also can use the IMAQ Configuration Utility to
configure the board serial number and the default state of a particular
interface.
and
Session Functions
Board 0
Board 1
...
Board n
3-2
sections in this chapter
Board Installed
© National Instruments Corporation
Need help?
Do you have a question about the Image Acquisition Software and is the answer not in the manual?