Home > Function descriptions > History back  Previous chapter  Next chapter  Print  

LoadParameters

uEye ActiveX Manual Version 4.00

LoadParameters

Syntax

LONG LoadParameters(BSTR strFileName)

Description

LoadParameters() loads a set of previous stored parameters from an ini file or an internal camera parameter set specified by strFileName. Parameters can be stored with SaveParameters() function.

Hinweis

ini-files can only be loaded for the sensor type they were saved for.

While loading an ini-file it is to consider that already allocated memory matches to the parameters of the ini-file concerning size (AOI) and color depth. Otherwise this leads to incorrect displaying.

Parameters

strFileName

String specifies path and name of the ini file which contains the parameters. When transferring a NULL pointer, a file dialog is displayed.

The parameter sets in the camera's non-volatile memory can be loaded with the help of specific filenames:

Parameter set 1 "\\cam\\set1" or "/cam/set1"

Parameter set 2 "\\cam\\set2" or "/cam/set2"

Return values

IS_SUCCESS

Function executed successfully

IS_NO_SUCCESS

General error message

Related functions

SaveParameters()


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

For technical questions please contact you local distributor or use the support form on our website.


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