Please enable JavaScript to view this site.

uEye .NET Manual 4.97

The Camera class provides methods for querying information about the uEye API version or the OS version.

Methods

Method

Description

GetCameraList

Returns information about the connected cameras.

GetDeviceInfo

Returns information about connected uEye cameras.

GetNumberOfDevices

Returns the number of uEye cameras connected to the PC.

Events

The Camera class also provides special camera events:

Event

Description

uEye.Info.Camera.EventDeviceRemoved

A camera was removed. This is independent of the device handle.

uEye.Info.Camera.EventDeviceRemovedETH

A GigE camera was removed. This is independent of the device handle.

uEye.Info.Camera.EventDeviceRemovedUSB

An USB camera was removed. This is independent of the device handle.

uEye.Info.Camera.EventNewDevice

A camera was newly connected. This is independent of the device handle.

uEye.Info.Camera.EventNewDeviceETH

A GigE camera was newly connected. This is independent of the device handle.

uEye.Info.Camera.EventNewDeviceUSB

An USB camera was newly connected. This is independent of the device handle.

Example

// Get all camera informations
uEye.Types.CameraInformation[] cameraInfos;
uEye.Info.Camera.GetCameraList(out cameraInfos);
 
// Get device information of specified camera
uEye.Types.DeviceInformation deviceInfo;
uEye.Info.Camera.GetDeviceInfo(DEVICEID,out deviceInfo);
 
// Get number of connected devices
int numOfDevices;
uEye.Info.Camera.GetNumberOfDevices(out numOfDevices);