User`s guide
1 Getting Started
ObjectConstructor field. For mo re information the device information
structure, see “Determining the Supported Video Formats” on page 1-9.
The following example creates a video input object for the DCAM adaptor.
Substitute the adaptor name of the image acquisition device available on
your system.
vid = videoinput('dca m',1,'Y8_1024x768')
The videoinput function accepts three arguments: the adaptor name, device
ID, and video format. You retrieved this information in step 2. The ad aptor
name is the only required argument; the
videoinput function can use defaults
for the device ID and video fo rmat. To determine the default video format,
look at the
DefaultFormat field in the device information structure. See
“Determining the Supported Video Formats” on page 1-9 for more information.
Instead of specifying the video format, you can optionally specify the name of
a device configu ration file, also known as a camera f ile. Device configuration
files are typically supplied by frame grabber vendors. These files contain
all the required configuration settings to use a particular camera with the
device. See “Using Device Con f iguration Files (Camera Files) ” on page 4-14
for more information.
V iewing the V ideo Input Object Summary
To view a summary of the video input object you just create d, enter the
variable name (
vid) at the MATLAB command prompt. The summary
information d isplayed shows many of the characteristics o f the object, such
as the number of frames that will be captured with each trigger, the trigger
type, and the current state of the object. You can use video input object
properties to control m any o f thes e characteristics. See “Step 5: Configure
Object Properties (Optional)” on p age 1 - 13 fo r more in f ormation.
vid
Summary of Video Input Object Using 'XCD-X700 1.05'.
Acquisition Source(s): input1 is available.
Acquisition Parameters: 'input1' is the current selected source.
10 frames per trigger us ing the selected source.
1-10