Home > C: Programming > Function descriptions > History back  Previous chapter  Next chapter  Print  

is_GetSensorInfo

uEye Camera Manual Version 4.00

is_GetSensorInfo

Windows_Logo

Linux_Logo

USB 2.0

USB 3.0

GigE

USB 2.0

USB 3.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

IS_COLORMODE_CBYCRY (USB uEye XS only)

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

WORD

wPixelSize

Returns the pixel size in μm (e.g. 465 is equivalent to 4.65 μm)

Char

Reserved[14]

Reserved

Return values

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_NO_SUCCESS

General error message

IS_NOT_SUPPORTED

The camera model used here does not support this function or setting.

IS_SUCCESS

Function executed successfully

Related functions

is_GetCameraInfo()

is_CameraStatus()


Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!

For technical questions please contact you local distributor or use the support form on our website.


© 2012 IDS Imaging Development Systems GmbH
http://www.ids-imaging.com