![]() |
![]() |
---|---|
USB 2.0 GigE |
USB 2.0 GigE |
Syntax
INT is_SaveParameters (HIDS hCam, const IS_CHAR* pFilename)
Description
This function is obsolete and should not be used anymore. We recommend to use the is_ParameterSet() function instead. |
is_SaveParameters() saves the current camera parameters to an ini file or to the EEPROM of the camera. You can load saved parameters using the is_LoadParameters() function. The structure of a uEye ini file is described in the IDS Software Suite manual.
As the USB uEye XS has only one image size you cannot save a separate resolution for trigger mode. |
Input parameters
hCam |
Camera handle |
pFileName |
Pointer to a filename You can either pass an absolute or a relative path. For internal parameter sets, these are "\\cam\\set1" or "/cam/set1", or "\\cam\\set2" or "/cam/set2", respectively. If NULL is passed, the "Save as" dialog will be displayed.. |
You can save two parameter sets in the non-volatile EEPROM of the camera using specific filenames:
pFileName |
|
"\\cam\\set1" or "/cam/set1" |
Parameter set 1 |
"\\cam\\set2" or "/cam/set2" |
Parameter set 2 |
Return values
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_INVALID_CAMERA_TYPE |
The camera type defined in the .ini file does not match the current camera model. |
IS_INVALID_CAMERA_HANDLE |
Invalid camera handle |
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 uEye driver failed. Possibly the versions of the ueye_api.dll (API) and the driver file (ueye_usb.sys or ueye_eth.sys) do not match. |
IS_NO_SUCCESS |
General error message |
IS_NOT_CALIBRATED |
The camera does not contain any calibration data. |
IS_NOT_SUPPORTED |
The camera model used here does not support this function or setting. |
IS_NULL_POINTER |
Invalid array |
IS_SUCCESS |
Function executed successfully |
IS_TIMED_OUT |
A timeout occurred. An image capturing process could not be terminated within the allowable period. |
Related functions
•is_ParameterSet()
•is_CameraStatus()