EasyManuals Logo

THORLABS DCU22 Series User Manual

THORLABS DCU22 Series
530 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 #398 background imageLoading...
Page #398 background image
© 2013 Thorlabs GmbH396
DCx Cameras
4.5.14 is_LoadImageMem
USB 2.0
USB 3.0
USB 2.0
USB 3.0
Syntax
INT is_LoadImageMem (HIDS hCam, char* File, char** ppcImgMem, int* pid)
Description
Attention
This function is obsolete and should not be used anymore. We recommend to use the is_ImageFile()
function instead (see also Obsolete functions ).is_LoadImageMem() loads an image from a file. The image
must have been saved in BMP format. The image, together with its color format and color depth properties, is
loaded into a newly allocated image memory.
Using the is_FreeImageMem() function, you can release the image memory again.
Input parameters
hCam
Camera handle
File
File name You can either pass an absolute or a relative path.
If NULL is passed, the "Open File" dialog opens.
ppcImgMem
Pointer to a variable containing the starting address
pid
Pointer to a variable containing the memory ID
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_FILE_READ_INVALID_BMP_ID
The specified file is not a valid bitmap file.
IS_FILE_READ_INVALID_BMP_SIZE
The bitmap size is not correct (bitmap too large).
IS_FILE_WRITE_OPEN_ERROR
File cannot be opened for writing or reading.
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_api.dll (API) and the driver file
(uc480_usb.sys) do not match.
IS_NO_SUCCESS
General error message
IS_NOT_SUPPORTED
The camera model used here does not support this
function or setting.
IS_OUT_OF_MEMORY
No memory could be allocated.
IS_SEQUENCE_BUF_ALREADY_LOCKED
The memory could not be locked. The pointer to the
buffer is invalid.
IS_SUCCESS
Function executed successfully
Related functions
264
379
222

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