© 2013 Thorlabs GmbH
4 Programming (SDK)
197
Contents of the IS_DEVICE_INFO::IS_DEVICE_INFO_CONTROL structure
Internal device ID of the camera
Return values
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.
Function executed successfully
Related functions
is_GetCameraList()
Example 1
// The camera has the device ID 1
UINT nDeviceId = 1;
IS_DEVICE_INFO deviceInfo;
memset(&deviceInfo, 0, sizeof(IS_DEVICE_INFO));
INT nRet = is_DeviceInfo((HIDS)(nDeviceId | IS_USE_DEVICE_ID),
IS_DEVICE_INFO_CMD_GET_DEVICE_INFO,
(void*)&deviceInfo, sizeof(deviceInfo));
if (nRet == IS_SUCCESS)
{
WORD wTemperature = deviceInfo.infoDevHeartbeat.wTemperature;
}
233