User`s guide

4 Connecting to Hardware
Note For Matrox devices, the M_NTSC_ RGB format string represents a
component video format.
This example creates a video input object, specifying a colo r video format.
vid2 = videoinput('ma trox', 1,'M_NTSC_RGB');
Using Device Configuration Files (Camera Files)
For some device s, you can use a device configuration file, also known as a
camera file, to specify the video format as well as other configuration settings.
Image acquisition device vendors supply these device configuration files.
Note The toolbox ignores hardware trigger configurations included in a
device configuration file. To configure a hardware trigger, you must use the
toolbox
triggerconfig function. See “Example : Using a Hardware Trigger”
on page 5-16 for more information.
For example, with Matrox frame grabbers, you can download digitizer
configuration format (DCF) files, in their terminology. These files configure
their devices to support p articular cameras.
Some image acquisition device vendors provide utility p rograms you can use
to create a device configuration file or edit an existing one. See your hardware
vendor’s documentation for more information.
To determine if your image acquisition device supports device configuration
files, check the value of the
DeviceFileSupported field o f the device
information structure returned by
imaqhwinfo. See “Getting More
Information About a Particular Device” on page 4-5 for more information.
When you use a device configuration file, the value of the
VideoFormat
property of the video input object is the name of the file, not a video format
string.
4-14