User`s guide

Basic Image Acquisition Procedure
'Y8_1024x768' video data to be logged upon START.
Grabbing first of every 1 frame(s).
Log data to 'memory' on trigger.
Trigger Parameters: 1 'immediate' trigger(s) on START.
Status: Waiting for START.
0 frames acquired since starting.
0 frames available for G ETDATA.
Step 4: Preview the Video Stream (Optional)
After you create the video input object, MATLAB is able to access the image
acquisition device and is ready to acquire data. However, before you begin,
you might want to see a preview of the videostreamtomakesurethatthe
image is satisfactory. For example, you might want to change the position of
thecamera,changethelighting,correctthefocus,ormakesomeotherchange
to your image acquisition setup.
Note This step is optional at this point in the procedure because you can
preview a video stream at any time after you create a video input object.
To preview the vide o stream in this example, enter the preview function
at the MATLAB prompt, specifying the video input object created in step 3
as an argument.
preview(vid)
The preview functio n opens a Video Preview figure w i ndow on your screen
containing the live video stream. To stop the stream of live video, you can
call the
stoppreview function. To restart th e preview stream, call pre view
again on the same video input object.
While a preview window is o pe n, the video input object sets the value of the
Previewing property to 'on'. If you change characteristics of the image
by setting image acquisition object properties, the image displayed in the
preview window reflects the change.
1-11