User`s guide

8 Test Suite for Adaptor Writers
8-10
Test Procedures Expected Results
SourceName = input1
Tag =
Type = videosource
Device-specific Properties:
Brightness = -10
Contrast = 266
Exposure = 1024
ExposureMode = auto
Hue = 0
Saturation = 340
Sharpness = 40
The actual property names will be based on
the information provided by the adaptor.
To clean up after this step, delete and clear
the object.
Run the following command:
vidObj = videoinput
('AdaptorName');
preview(vidObj);
src = getselectedsource(vidObj);
src.PropName = Value;
where PropertyName is the name of
a property that has visible effect on
the acquired video (e.g., Brightness)
and newValue is a value different from
the existing value (e.g., specific integer
values like 10 for Brightness).
The change in the property value should
be observable in the video running in the
preview window. Try different property
values. For example, if there is a set of
properties that have dependencies with each
other, change one of them to make sure that it
gets reflected in the dependent properties. To
close the preview window, press the (x) button
or type closepreview at the command
prompt.
To clean up after this step, delete and clear
the object.