USB 2.0 USB 3.x GigE |
USB 2.0 USB 3.x GigE |
Syntax
INT is_GetCameraInfo (HIDS hCam, CAMINFO* pInfo)
Description
is_GetCameraInfo() reads out the data hard-coded in the non-volatile camera memory and writes it to the data structure that pInfo points to.
The serial number or model name should not be used to find a specific camera (e.g. in order to control this specific camera). If you use the serial number, the software may not find the serial number after exchanging the camera. The model name can be changed when updating the camera driver. Instead, we recommend identifying a camera by a fixed camera ID, the camera type or by the sensor ID (see is_GetCameraList()). The advantage of the camera ID is that you can set it manually. That means if you exchange a camera, you can set the same camera ID for the new camera. |
Input parameters
hCam |
Camera handle |
pInfo |
Pointer to a CAMINFO data structure |
Contents of the CAMINFO Structure
char |
SerNo[12] |
Serial number of the camera |
char |
ID[20] |
Manufacturer of the camera (e.g. IDS GmbH) |
char |
Version[10] |
For USB cameras, this value indicates the USB board hardware version (e.g. V2.10) |
char |
Date[12] |
System date of the final quality check (e.g. 01.08.2011 (DD.MM.YYYY)) |
unsigned char |
Select |
Customizable camera ID. This ID is stored in the camera and is persistent. When the camera is delivered, the value 1 is stored. |
unsigned char |
Type |
Camera type: •IS_CAMERA_TYPE_UEYE_USB3_CP: USB 3 uEye CP/USB 3 uEye CP Rev. 2 •IS_CAMERA_TYPE_UEYE_USB3_LE: USB 3 uEye LE •IS_CAMERA_TYPE_UEYE_USB3_ML: USB 3 uEye ML •IS_CAMERA_TYPE_UEYE_USB_LE: USB uEye LE/USB uEye LE Rev. 2 •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/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 |
Return values
IS_INVALID_CAMERA_HANDLE |
Invalid camera handle |
IS_NO_SUCCESS |
General error message |
IS_SUCCESS |
Function executed successfully |
Related functions