Is_Parameterset - THORLABS DCU223x Operation Manual And Sdk

Cdd and cmos cameras
Hide thumbs Also See for DCU223x:
Table of Contents

Advertisement

DCx Cameras

4.3.68 is_ParameterSet

USB 2.0
USB 3.0
Syntax
INT is_ParameterSet(HIDS hCam, UINT nCommand, void* pParam, UINT cbSizeOfParam)
Description
The is_ParameterSet() function saves the current camera parameters to a file or to the EEPROM of the
camera and loads the parameter set from a file or the EEPROM.
The nCommand input parameter is used to select the function mode. The pParam input parameter depends on the
selected function mode. If you select functions for setting or returning a value, pParam contains a pointer to a
variable of the UINT type. The size of the memory area to which pParam refers is specified in the
cbSizeOfParam input parameter.
Only camera-specific ini files can be loaded. 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.
Note
The following functions are obsolete by the is_ParameterSet() function:
is_SaveParameters()
is_LoadParameters()
See also:
Obsolete functions
Input parameter
hCam
nCommand
IS_PARAMETERSET_CMD_LOAD_EEPROM
IS_PARAMETERSET_CMD_LOAD_FILE
IS_PARAMETERSET_CMD_SAVE_EEPROM
IS_PARAMETERSET_CMD_SAVE_FILE
IS_PARAMETERSET_CMD_GET_NUMBER_SUPPORTE
D
pParam
292
USB 2.0
USB 3.0
uc480 parameter file
379
section in the appendix describes the
504
Camera handle
Loads a camera parameter set from the EEPROM
(Example 1
)
293
The parameter sets in the EEPROM of the camera can be
loaded via special file names:
\\cam\\set1 oder /cam/set1
Loads a camera parameter set from a file
You must pass the path to the ini file as Unicode string.
You can pass either a relative or an absolute path. If you
pass NULL the "Open file" dialog opens.
Saves a camera parameter set in the EEPROM
3
)
293
The parameter sets in the EEPROM of the camera can be
saved with special file names:
\\cam\\set1 oder /cam/set1
Saves a camera parameter set in a file
You must pass the path to the ini file as Unicode string.
You can pass either a relative or an absolute path. If you
pass NULL the "Save as" dialog opens.
Returns the number of supported parameter sets in the
camera EEPROM
(Example 5
"1" for all cameras.
Pointer to a function parameter, whose function depends
on nCommand.
(Example 2
(Example
(Example 4
)
293
). At the moment this is
293
© 2013 Thorlabs GmbH
)
293

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dcu224xDcc1240xDcc1545mDcc1645c

Table of Contents