Syntax
GetDeviceInfo (SENSORINFO *psInfo, CAMERAINFO *pcInfo)
Description
GetDeviceInfo returns information on the camera and sensor.
Parameter
psInfo |
Pointer to the SENSORINFO structure that contains information about the sensor. |
pcInfo |
Pointer to the CAMERAINFO structure that contains information about the camera. |
Contents of the SENSORINFO structure
WORD |
SensorID |
Returns the sensor type (e.g.: IS_SENSOR_UI224X_C) |
Char |
strSensorName[32] |
Returns the camera model (e.g.: UI224xLE-C) |
Char |
nColorMode |
Returns the sensor color mode •IS_COLORMODE_BAYER •IS_COLORMODE_MONOCHROME |
DWORD |
nMaxWidth |
Returns the maximum frame width |
DWORD |
nMaxHeight |
Returns the maximum frame height |
BOOL |
bMasterGain |
Indicates whether the sensor provides analog total gain |
BOOL |
bRGain |
Indicates whether the sensor provides analog red gain |
BOOL |
bGGain |
Indicates whether the sensor offers analog green gain |
BOOL |
bBGain |
Indicates whether the sensor offers analog blue gain |
BOOL |
bGlobShutter |
Indicates whether the sensor has a global shutter •TRUE = GlobalShutter •FALSE = RollingShutter |
Char |
Reserved[16] |
Reserved |
Contents of the CAMERAINFO structure
char |
SerNo[12] |
Camera's serial number |
char |
ID[20] |
Camera manufacturer (e.g. IDS GmbH) |
char |
Version[10] |
For USB cameras, this contains the hardware version of the USB board (e.g. V2.10) |
char |
Date[12] |
System date of the final quality test (e.g. 01.08.2012) |
unsigned char |
Select |
Camera ID |
unsigned char |
Type |
Camera type •IS_CAMERA_TYPE_UEYE_USB3_CP: USB 3 uEye CP •IS_CAMERA_TYPE_UEYE_USB3_LE: USB 3 uEye LE •IS_CAMERA_TYPE_UEYE_USB3_ML: USB 3 uEye ML •IS_CAMERA_TYPE_UEYE_USB3_XC: USB 3 uEye XC •IS_CAMERA_TYPE_UEYE_USB_LE: USB uEye LE •IS_CAMERA_TYPE_UEYE_USB_ML: USB uEye ML •IS_CAMERA_TYPE_UEYE_USB_SE: USB uEye SE •IS_CAMERA_TYPE_UEYE_ETH_CP_R2: GigE uEye CP Rev. 2 •IS_CAMERA_TYPE_UEYE_ETH_CP: GigE uEye CP •IS_CAMERA_TYPE_UEYE_ETH_FA: GigE uEye FA •IS_CAMERA_TYPE_UEYE_ETH_LE: GigE uEye LE •IS_CAMERA_TYPE_UEYE_ETH_REP: GigE uEye RE PoE •IS_CAMERA_TYPE_UEYE_ETH_SE_R4: GigE uEye SE Rev. 4 •IS_CAMERA_TYPE_UEYE_ETH_SE: GigE uEye SE •IS_CAMERA_TYPE_UEYE_PMC: Virtual multicast camera |
char |
Reserved[8] |
Reserved |
Interface