EasyManuals Logo

THORLABS DCU223 SERIES Description And Sdk Manual

THORLABS DCU223 SERIES
513 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 #169 background imageLoading...
Page #169 background image
© 2016 Thorlabs Scientific Imaging
4 Programming (SDK)
167
Example 2
/* Read current Log pixel mode */
UINT nLogMode = 0;
INT nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_GET_LOG_MODE,
(void*)&nLogMode, sizeof(nLogMode));
Example 3
/* 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 4
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 5
/* 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 6
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