© 2013 Thorlabs GmbH
4 Programming (SDK)
313
4.3.76 is_SetCameraID
Syntax
INT is_SetCameraID (HIDS hCam, INT nID)
Description
Using is_SetCameraID(), you can assign a unique camera ID to a camera. Thus, it is possible to access the
camera directly with the is_InitCamera() function.
The camera ID is stored in the non-volatile memory of the camera. The factory default camera ID is 1. The camera
ID can also be changed in the uc480 Camera Manager.
Input parameters
Return values
When used together with
IS_GET_CAMERA_ID
An internal error has occured.
The camera ID cannot be changed because the camera
is running in the boot-boost mode.
IS_CANT_COMMUNICATE_WITH_DRIVER
Communication with the driver failed because no driver
has been loaded.
An attempt to initialize or select the camera failed (no
camera connected or initialization error).
The camera type defined in the .ini file does not match
the current camera model.
Camera is in standby mode, function not allowed
One of the submitted parameters is outside the valid
range or is not supported for this sensor or is not
available in this mode.
An IO request from the uc480 driver failed. Possibly the
versions of the uc480_api.dll (API) and the driver file
(uc480_usb.sys) do not match.
The camera does not contain any calibration data.
The camera model used here does not support this
function or setting.
Function executed successfully
A timeout occurred. An image capturing process could
not be terminated within the allowable period.
Related functions
is_InitCamera()
273
273