Implementing the Acquisition Thread Function Test Procedure
As part of the Image Acquisition Toolbox Adaptor Kit, we now offer a test procedure and automated tests for third-party adaptor developers and camera vendors to test adaptors and hardware against the toolbox. This test procedure is part of that suite. For more information, see Testing Adaptors or Hardware.
After implementing the acquisition thread function per instructions in “Implementing the Acquisition Thread Function” in this Adaptor Kit documentation, follow these steps to test the acquisition thread function.
Test Procedures | Expected Results |
---|---|
Run the following commands:
vidObj = videoinput ('AdaptorName'); preview(vidObj) | A preview window should open and display the acquired video. Verify
that the video is getting acquired as expected based on the
To clean up after this step, delete and clear the object. |
Run the following
command:vidObj = videoinput ('AdaptorName'); start(vidObj); wait(vidObj) vidObj.FramesAcquired | The commands should execute without any error or warning.
To clean up after this step, delete and clear the object. |