USB 2.0 USB 3.x GigE |
USB 2.0 USB 3.x GigE |
Syntax
INT is_ClearSequence (HIDS hCam)
Description
is_ClearSequence() removes all image memories from the sequence list that were added using is_AddToSequence(). After a call of is_ClearSequence(), there is no more active image memory. To make an image memory the active memory, call is_SetImageMem().
If image memories are locked by the user and are thus signaled as used, the image memories cannot be removed from the sequence list. Therefore, before calling is_ClearSequence(), all image memories locked using is_LockSeqBuf() have to be unlocked using is_UnlockSeqBuf() first.
Input parameters
hCam |
Camera handle |
Return values
IS_INVALID_CAMERA_HANDLE |
Invalid camera handle |
IS_NO_SUCCESS |
General error message |
IS_SEQ_BUFFER_IS_LOCKED |
The image memory is locked. At least one image memory in the sequence list is locked. Therefore, the sequence list cannot be deleted. |
IS_SEQUENCE_LIST_EMPTY |
The sequence list is empty and cannot be deleted. |
IS_SUCCESS |
Function executed successfully |
Related functions