Class
Accessible
Camera.Memory.Free
Syntax
uEye.Memory.Free(int s32MemId)
uEye.Memory.Free(int[] memIdList)
Description
Releases an image memory that was allocated using Allocate() and removes it from the driver management.
If the memory was not allocated using an SDK function, you need to call Free() as well. Otherwise, there may be errors when the driver keeps trying to access this memory. This does however not release the memory. So you need to make sure that the memory will be released again. |
If image memories are locked by the user and are thus signaled as used, the image memories cannot be released. Therefore, before calling Free(), image memories locked using Lock() has to be unlocked using Unlock() first.
Parameter
•s32MemId/memIdList: Image memory ID to be released