EasyManuals Logo

THORLABS DCU22 Series Description And Sdk Manual

THORLABS DCU22 Series
513 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #214 background imageLoading...
Page #214 background image
© 2016 Thorlabs Scientific Imaging212
DCx Camera Functional Description and SDK Manual
4.3.28 is_FreeImageMem
USB 2.0
USB 3.0
USB 2.0
USB 3.0
Syntax
INT is_FreeImageMem (HIDS hCam, char* pcImgMem, INT id)
Description
is_FreeImageMem() releases an image memory that was allocated using is_AllocImageMem() and
removes it from the driver management.
Note
If the memory was not allocated using an SDK function, you need to call is_FreeImageMem() 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.
Input parameters
hCam
Camera handle
pcImgMem
Points to the starting address of the memory (e.g. set in the
is_AllocImageMem() function)
id
ID of this memory
Return values
IS_CANT_ADD_TO_SEQUENCE
The image memory is already included in the
sequence and cannot be added again.
IS_CANT_CLEANUP_MEMORY
The driver could not release the allocated
memory.
IS_CANT_COMMUNICATE_WITH_DRIVER
Communication with the driver failed because
no driver has been loaded.
IS_CANT_OPEN_DEVICE
An attempt to initialize or select the camera
failed (no camera connected or initialization
error).
IS_INVALID_CAMERA_HANDLE
Invalid camera handle
IS_INVALID_MEMORY_POINTER
Invalid pointer or invalid memory ID
IS_INVALID_PARAMETER
One of the submitted parameters is outside the
valid range or is not supported for this sensor or
is not available in this mode.
IS_IO_REQUEST_FAILED
An IO request from the uc480 driver failed.
Possibly the versions of the uc480.dll (API) and
the driver file (uc480_usb.sys) do not match.
IS_NO_SUCCESS
General error message
IS_SUCCESS
Function executed successfully

Table of Contents

Other manuals for THORLABS DCU22 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the THORLABS DCU22 Series and is the answer not in the manual?

THORLABS DCU22 Series Specifications

General IconGeneral
BrandTHORLABS
ModelDCU22 Series
CategorySecurity Camera
LanguageEnglish

Related product manuals