Controlling Sequence Grabber Channel Components
Sequence grabber channel components must provide a full set of functions that allow
the sequence grabber component to control the preview or record operation. The sequence grabber component can use these functions to start and stop the operation, to pause data collection, and to write captured data to a movie. This section describes these functions.The sequence grabber component uses the
SGStartPreviewfunction to start a preview operation. TheSGStartRecordfunction starts a record operation. TheSGStopfunction stops your channel component after a preview or record operation.The sequence grabber component grants processing time to your channel component
by calling theSGIdlefunction. The sequence grabber notifies you of update events by calling yourSGUpdatefunction.The sequence grabber pauses the current operation by calling the
SGPausefunction.The sequence grabber component calls your
SGWriteSamplesfunction to write captured data to a movie file after a record operation.The sequence grabber component prepares your channel component for an upcoming preview or record operation by calling the
SGPreparefunction. This function also allows the sequence grabber component to verify that your component can support the parameters an application has specified. TheSGReleasefunction releases system resources allocated during theSGPreparefunction.
Subtopics
- SGStartPreview
- SGStartRecord
- SGIdle
- SGUpdate
- SGStop
- SGWriteSamples
- SGPause
- SGPrepare
- SGRelease
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help