Справочник Пользователя для National Instruments Image Acqusition Software NI-IMAQdx
Chapter 2
Basic Acquisition with NI-IMAQdx
© National Instruments Corporation
2-3
Camera Name
NI-IMAQdx references all camera sessions by a name. The driver creates
default names for each camera in your system in the order that the cameras
are connected. The names observe the convention shown in Table 2-1.
default names for each camera in your system in the order that the cameras
are connected. The names observe the convention shown in Table 2-1.
Every camera has an
.iid
interface file and an
.icd
camera file.
•
Interface files—Store information about which physical camera is
associated with a camera name. Each interface file can be used by only
a single camera.
associated with a camera name. Each interface file can be used by only
a single camera.
•
Camera files—Store all the configurable attributes. Camera files can
be shared between identical cameras. Use MAX to configure the
default state of a particular camera.
be shared between identical cameras. Use MAX to configure the
default state of a particular camera.
Figure 2-1 shows the relationship between cameras, interface files, and
camera files.
camera files.
Figure 2-1. Relationship Between Cameras, Interface Files, and Camera Files
Note
Use the Enumerate function to query the number and names of available cameras.
Use the Discover Ethernet Cameras function to find ethernet cameras on the network with
a remote subnet.
a remote subnet.
Table 2-1. Camera Naming Convention
Camera Name
Camera Installed
cam0
Device 0
cam1
Device 1
...
...
cam
n
Device n
Default.icd
Cam1.iid
MyCam.icd
Cam0.iid
or