User`s guide
V ideoFormat
Purpose Specify video format or name of device configuration file
Description The VideoFo rmat property specifies the video format used by the
image acquisition device or the name of a device configuration file,
depending on w hich you specified when you cre ated the object using
the
videoinput function.
Image acquisition devices typical ly support multiple video formats.
When you create a video input object, you can specify the video format
that you want the device to use. If you do not specify the video format
as an arg u ment, the
videoinput function uses the default fo rmat. Use
the
imaqhwinfo function to determine which video f ormats a particular
device supports and find out which format is the default.
As an alternative, you can specify the nam e of a device configuration
file, also k nown a s a camera file or digitizer configur ation fo r mat (DCF)
file. Some image acquisitio n devices use these files to s tore device
configuration information. The
videoinput function can use this file to
determine the video format and other configuration information.
Use the
imaqhwinfo function to determine if your device supports
device configuration files.
Characteristics
Access Read only
Data type
String
Values Device-specific. The example describes how to get a
list of all the formats supported by a particular image
acquisition device.
Examples To determine the vide o formats supported by a device, check the
SupportedFormats field in t he device information structure returned
by
imaqhwinfo.
info = imaqhwinfo('wi nvideo')
info =
14-57