Low-level functions, Establishing interface connections and sessions, Interface functions – National Instruments Image Acquisition Software User Manual

Page 22: Table 3-1. interface naming convention, Low-level functions -2, Establishing interface connections and sessions -2, Interface functions -2, Table 3-1, Interface naming convention -2

Advertising
background image

Chapter 3

Programming with NI-IMAQ

NI-IMAQ User Manual

3-2

©

National Instruments Corporation

Low-Level Functions

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

Establishing Interface Connections and Sessions

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

and

Session Functions

sections in this chapter

for information on how to manage interfaces and sessions, then refer to the
high-level or low-level samples for information on acquiring images.

Interface Functions

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.

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.

Table 3-1.

Interface Naming Convention

Interface Name

Board Installed

img0

Board 0

img1

Board 1

...

...

img

n

Board n

UM.book Page 2 Monday, July 13, 1998 9:49 AM

Advertising