![]() |
![]() |
---|---|
USB 2.0 USB 3.0 GigE |
USB 2.0 USB 3.0 GigE |
Syntax
INT is_ReadEEPROM (HIDS hCam, INT Adr, char* pcString, INT Count)
Description
This function is obsolete and should not be used anymore. We recommend to use the is_PersistentMemory() function instead. |
Using is_ReadEEPROM(), you can read the contents of the camera EEPROM. Besides the hard-coded factory information, the EEPROM of the uEye camera can hold 64 bytes of user data.
No downward compatibility If you write data into the camera EEPROM using driver version 4.50, the EEPROM cannot be read correctly with an older driver version. |
Input parameters
hCam |
Camera handle |
Adr |
Starting address for data reads. Value range: 0...63 characters (1 byte) |
pcString |
Pointer to the buffer for the data to read (min. size = Count) |
Count |
Number of characters to read |
Return values
IS_BAD_STRUCTURE_SIZE |
An internal structure has an incorrect size. |
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_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_SUCCESS |
Function executed successfully |
Related functions
Example
char buffer[64];
is_ReadEEPROM( hCam, 0x00, buffer, 64 );