Class
Accessible
Camera.Memory.Sequence.Lock
Syntax
uEye.MemorySequence.Lock(int s32SeqID)
Description
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 Unlock(), you can re-enable write access to the image memory.
The driver locks the image memory internally exclusively for writing the image data, so that the image memory is not available for reading by the user during this period. It is recommended to check the successful lock using the return value of the method. Using an image memory locked internally by the driver will result in invalid image data.
Parameter
•s32SeqID: ID of the sequence memory to be locked (1…max).