MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES User's Guide Page 99

  • Download
  • Add to my manuals
  • Print
  • Page
    / 172
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 98
Implementing the Acquisition Thread Function
5-21
d
Send the packaged frame to the engine, using the IEngine member function
receiveFrame().
5
Increment the frame count using the IAdaptor member function
incrementFrameCount(). Whether you need to send a frame or not, you must
always increment the frame count whenever you acquire a frame.
6
Return to the top of the frame acquisition loop.
The following figure illustrates the frame acquisition loop.
A Possible Algorithm for the Frame Acquisition Loop
Example
The following is a declaration of an acquisition thread function. You can give your
acquisition thread procedure any name, such as acquireThread().
DWORD WINAPI acquireThread(void* ThreadParam);
Page view 98
1 2 ... 94 95 96 97 98 99 100 101 102 103 104 ... 171 172

Comments to this Manuals

No comments