uEye ActiveX Manual Version 4.00
Syntax
LONG ReadI2C (LONG nDeviceAddr, LONG nRegisterAddr, BYTE* pbDATA, LONG nLen)
Description
Using ReadI2C(), you can read data over the I2C bus of a board level camera.
For information on the signals applied to the I2C bus, refer to the chapters with electrical specifications for the USB uEye LE and the USB uEye ME.
|
|
|
|
Parameters
nDeviceAddr |
Slave device address in 7-bit format |
nRegisterAddr |
Register address (only 8-bit addresses are valid) |
pbData |
Pointer to the data to be read |
nLen |
Data length nLen = 1: 8 bits data nLen = 2: 16 bits data |
Return values
IS_SUCCESS |
Function executed successfully |
IS_NO_SUCCESS |
General error message |
IS_INVALID_I2C_DEVICE_ADDRESS |
Invalid I2C device address |
Related functions