Home > C: Programming > Function Descriptions > | History back Previous chapter Next chapter Print |
is_GetSensorInfo |
uEye Camera Manual Version 3.80
is_GetSensorInfo
USB 2.0 GigE |
USB 2.0 GigE |
Syntax
INT is_GetSensorInfo (HIDS hCam, SENSORINFO* pInfo)
Description
Using is_GetSensorInfo(), you can query information about the sensor type used in the camera. The information contained in the SENSORINFO structure is listed in the table below.
The ueye.h file provides a complete up-to-date list of all supported sensor types. To quickly locate the list, search the file for the keyword "Sensor Types".
Input Parameters
hCam |
Camera handle |
pInfo |
Pointer to the SENSORINFO Structure |
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 image width. |
DWORD |
nMaxHeight |
Returns the maximum image height. |
BOOL |
bMasterGain |
Indicates whether the sensor provides analog master gain. |
BOOL |
bRGain |
Indicates whether the sensor provides analog red channel gain. |
BOOL |
bGGain |
Indicates whether the sensor provides analog green channel gain. |
BOOL |
bBGain |
Indicates whether the sensor provides analog blue channel gain. |
BOOL |
bGlobShutter |
Indicates whether the sensor has a global shutter. TRUE = global shutter FALSE = rolling shutter |
Char |
Reserved[16] |
Reserved |
Return Values
IS_SUCCESS |
Function executed successfully |
IS_NO_SUCCESS |
General error message |
Related Functions