User`s guide
Getting Hardware Inform ation
Getting Hardware Information
In this section.. .
“Getting Hardware Information” on page 4-3
“DeterminingtheDeviceAdaptorName”onpage4-3
“Determining the Device ID” on page 4-4
“Determining Supported Video Formats” on page 4-6
Getting Hardware Information
To access an image a cquisi tion device, the toolbox needs several pieces of
information:
• The name of the adaptor the toolbox uses to connect to the image
acquisit ion device
• The device ID o f the device you want to access
• The v ideo format of the video stream or, optionally, a device configuration
file (camera file)
You use the
imaqhwinfo function to retrieve this information, as described
in the following subsections.
Note When using imaqhwinfo to get information aboutadevice,especially
devices that use a Video for Windows (VFW) driver, you might encounter
dialog boxes reporting an assertion error. Make sure that the software drivers
are installed correctly and that the acquisition d evice is connected to the
computer.
Determining the Device Adaptor Name
An adaptor is the software the toolbox uses to communicate w ith a n image
acquisit ion device via its dev ice d river. The toolbox includes ada ptors for some
vendors of image acquisition equipm ent and for particular classes of image
acquisition devices. For the late st information about supported hardware,
4-3