© 2016 Thorlabs Scientific Imaging
4 Programming (SDK)
301
4.3.67 is_LockSeqBuf
Syntax
INT is_LockSeqBuf (HIDS hCam, INT nNum, char* pcMem)
Description
is_LockSeqBuf() locks write access to an image memory within a sequence. In the capturing
process, locked image memories will be skipped in the sequence list of image memories to be
used. This way, you can avoid that image data which are required for further processing will be
overwritten by newly captured data. Full access to the image memory is still guaranteed. You can
lock any number of image memories at the same time.
Using the is_UnlockSeqBuf() function, you can re-enable write access to the image memory.
Input parameters
Number of the image memory to be locked (1…max) or
IS_IGNORE_PARAMETER: The image memory will be identified by its
starting address only.
Starting address of the image memory to be locked
Attention
nNum indicates the location in the sequence list, not the memory ID assigned using
is_AllocImageMem().
Return values
An internal structure has an incorrect size.
One of the submitted parameters is outside the
valid range or is not supported for this sensor or
is not available in this mode.
Function executed successfully
Related functions
is_UnlockSeqBuf()
is_AddToSequence()
is_SetImageMem()
is_SetAllocatedImageMem()