Home > C: Programming > Function Descriptions > History back  Previous chapter  Next chapter  Print  

is_LoadParameters

uEye Camera Manual Version 3.80

is_LoadParameters

Windows_Logo

Linux_Logo

USB 2.0

GigE

USB 2.0

GigE

Syntax

INT is_LoadParameters (HIDS hCam, char* pFilename)

Description

is_LoadParameters() loads the parameters for a camera from a uEye 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.

Achtung

Only camera-specific ini files can be loaded. The uEye Parameter File section in the Appendix describes the structure of a uEye ini file.

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_SUCCESS

Function executed successfully

IS_NO_SUCCESS

General error message

IS_INVALID_CAMERA_TYPE

This is the ini file of a different camera type

Related Functions

is_SaveParameters()

Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!


© 2010 IDS Imaging Development Systems GmbH
http://www.ids-imaging.com