© 2013 Thorlabs GmbH296
DCx Cameras
4.3.70 is_ReadEEPROM
Syntax
INT is_ReadEEPROM (HIDS hCam, INT Adr, char* pcString, INT Count)
Description
Using is_ReadEEPROM(), you can read the contents of the camera EEPROM. Besides the hard-coded factory
information, the EEPROM of the DCx Camera can hold 64 bytes of user data.
Input parameters
Starting address for data reads Value range: 0...63
Pointer to the buffer for the data to read (min. size =
Count)
Number of characters to read
Return values
An internal structure has an incorrect size.
IS_CANT_COMMUNICATE_WITH_DRIVER
Communication with the driver failed because no driver
has been loaded.
An attempt to initialize or select the camera failed (no
camera connected or initialization error).
A CRC error-correction problem occurred while reading
the settings.
One of the submitted parameters is outside the valid
range or is not supported for this sensor or is not
available in this mode.
An IO request from the uc480 driver failed. Possibly the
versions of the uc480_api.dll (API) and the driver file
(uc480_usb.sys) do not match.
The camera does not contain any calibration data.
The camera model used here does not support this
function or setting.
Function executed successfully
Related functions
is_WriteEEPROM()
Example
char buffer[64];
is_ReadEEPROM( hCam, 0x00, buffer, 64 );
358