Please enable JavaScript to view this site.

IDS Software Suite 4.96.1

Windows_Logo
Linux_Logo

USB 2.0

USB 3.x

GigE

USB 2.0

USB 3.x

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.

1 = IS_COLORMODE_MONOCHROME

2 = IS_COLORMODE_BAYER

4 = IS_COLORMODE_CBYCRY (USB uEye XS only)

8 = IS_COLORMODE_JPEG (USB uEye XS only)

0 = IS_COLORMODE_INVALID

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

nUpperLeftBayerPixel

Returns the color of the first pixel (top left):

0 = BAYER_PIXEL_RED

1 = BAYER_PIXEL_GREEN

2 = BAYER_PIXEL_BLUE

Char

Reserved[13]

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()

© 2022 IDS Imaging Development Systems GmbH