EasyManuals Logo

THORLABS DCU223x User Manual

THORLABS DCU223x
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 #400 background imageLoading...
Page #400 background image
© 2013 Thorlabs GmbH398
DCx Cameras
4.5.15 is_LoadParameters
USB 2.0
USB 2.0
Syntax
INT is_LoadParameters (HIDS hCam, char* pFilename)
Description
Attention
This function is obsolete and should not be used anymore. We recommend to use the is_ParameterSet()
function instead (see also Obsolete functions ).
is_LoadParameters() loads the parameters for a camera from a uc480 ini file or from the camera EEPROM.
Using the is_SaveParameters() function, you can save camera parameters in an ini file or in the camera.
Only camera-specific ini files can be loaded. The uc480 parameter file section in the appendix describes the
structure of a uc480 ini file.
Attention
When loading an ini file, make sure that the image size (AOI) and color depth parameters in the ini file match those
in the allocated memory. Otherwise, display errors may occur.
Input parameters
hCam
Camera handle
pFilename
Pointer to a filename. You can either pass an absolute or a relative path. For
the internal camera parameter sets, these would be
"\\cam\\set1" or "/cam/set1", or
"\\cam\\set2" or "/cam/set2", respectively.
If NULL is passed, the "Open File" dialog is displayed.
You can load the parameter sets stored in the camera EEPROM using specific filenames:
pFilename
"\\cam\\set1" or "/cam/set1"
Parameter set 1
"\\cam\\set2" or "/cam/set2"
Parameter set 2
Return values
IS_CANT_ADD_TO_SEQUENCE
The image memory is already included in the sequence
and cannot be added again.
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_CRC_ERROR
A CRC error-correction problem occurred while reading
the settings.
IS_DR_CANNOT_CREATE_SURFACE
The image surface or overlay surface could not be
created.
IS_DR_CANNOT_CREATE_TEXTURE
The texture could not be created.
IS_DR_CANNOT_CREATE_VERTEX_BUFFER
The vertex buffer could not be created.
IS_DR_DEVICE_OUT_OF_MEMORY
Not enough graphics memory available.
IS_DR_LIBRARY_NOT_FOUND
The DirectRenderer library could not be found.
IS_FILE_WRITE_OPEN_ERROR
File cannot be opened for writing or reading.
IS_INVALID_CAMERA_TYPE
The camera type defined in the .ini file does not match
the current camera model.
IS_INVALID_CAPTURE_MODE
The function can not be executed in the current camera
292
379
412
504

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

THORLABS DCU223x Specifications

General IconGeneral
BrandTHORLABS
ModelDCU223x
CategorySecurity Camera
LanguageEnglish

Related product manuals