EasyManuals Logo

THORLABS DCU223 SERIES User Manual

THORLABS DCU223 SERIES
530 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #197 background imageLoading...
Page #197 background image
© 2013 Thorlabs GmbH
4 Programming (SDK)
195
Example 4
/* Read default Log pixel mode manual value */
UINT nDefaultLogModeManualValue = 0;
INT nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_GET_LOG_MODE_MANUAL_VALUE_DEFAULT,
(void*)&nDefaultLogModeManualValue,
sizeof(nDefaultLogModeManualValue));
/* Get the range of the manual value */
IS_RANGE_S32 nLogModeManualValueRange;
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_GET_LOG_MODE_MANUAL_VALUE_RANGE,
(void*)&nLogModeManualValueRange,
sizeof(nLogModeManualValueRange);
if (nRet == IS_SUCCESS) {
INT nMin = nLogModeManualValueRange.s32Min;
INT nMax = nLogModeManualValueRange.s32Max;
INT nInc = nLogModeManualValueRange.s32Inc;
}
Example 5
UINT nLogModeValue = 0;
/* Read current Log mode manual value */
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_GET_LOG_MODE_MANUAL_VALUE,
(void*)&nLogModeValue, sizeof(nLogModeValue));
/* Set log pixel mode value */
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_SET_LOG_MODE_MANUAL_VALUE,
(void*)&nLogModeValue, sizeof(nLogModeValue));
Example 6
/* Read default Log mode manual gain */
UINT nDefaultLogModeManualGain = 0;
INT nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_GET_LOG_MODE_MANUAL_GAIN_DEFAULT,
(void*)&nDefaultLogModeManualGain,
sizeof(nDefaultLogModeManualGain));
/* Get the range of the manual value */
IS_RANGE_S32 nLogModeManualGainRange;
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_GET_LOG_MODE_MANUAL_GAIN_RANGE,
(void*)&nLogModeManualGainRange,
sizeof(nLogModeManualGainRange));
if (nRet == IS_SUCCESS) {
INT nMin = nLogModeManualGainRange.s32Min;
INT nMax = nLogModeManualGainRange.s32Max;
INT nInc = nLogModeManualGainRange.s32Inc;
}
Example 7
UINT nLogModeGain = 0;
/* Read current Log mode gain */
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_GET_LOG_MODE_MANUAL_GAIN,
(void*)&nLogModeGain, sizeof(nLogModeGain));
/* Set Log mode gain*/
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_SET_LOG_MODE_MANUAL_GAIN,
(void*)&nLogModeGain, sizeof(nLogModeGain));

Table of Contents

Other manuals for THORLABS DCU223 SERIES

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the THORLABS DCU223 SERIES and is the answer not in the manual?

THORLABS DCU223 SERIES Specifications

General IconGeneral
BrandTHORLABS
ModelDCU223 SERIES
CategorySecurity Camera
LanguageEnglish

Related product manuals