User`s guide
8 Test Suite for Adaptor Writers
8-12
Property Description
• current test name
• current test details/information
• any applicable information on how to
interpret the results
• test condition under test
• test results
Test Suite Functions
You can use these functions with the imaqkit.AdaptorTest class.
The imaqkit.AdaptorTest class is used to create an Image Acquisition
Toolbox Adaptor Test object and to test Image Acquisition Toolbox connectivity
with cameras/framegrabbers. This class is not instantiated directly. Call
imaqkit.AdaptorTest.createTest to instantiate.
Function Purpose
createTest
Create imaqkit.AdaptorTest object.
For an imaqkit.AdaptorTest object called
testObj, use this syntax:
testObj = imaqkit.AdaptorTest.createTest
(AdaptorName, DeviceId, Format,
EstimatedAcquisitionFrameRate)
returns a test object to test a device with specified
adaptor, ID and format. AdaptorName is the
name of the adaptor to use to communicate with
the device, e.g. winvideo, gige, etc. DeviceId
is the numeric ID of the device, and is often 1.
Format is the video format to acquire images
in. To see more about DeviceId and available
formats, use imaqhwinfo.
See the example in the next section for an example
of using the createTest function.