EasyManuals Logo

THORLABS DCU22 Series Description And Sdk Manual

THORLABS DCU22 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 #166 background imageLoading...
Page #166 background image
© 2016 Thorlabs Scientific Imaging164
DCx Camera Functional Description and SDK Manual
pParam
Pointer to a function parameter, whose
function depends on nCommand.
cbSizeOfParam
Size (in bytes) of the memory area to which
pParam refers.
Status flags from DEVICE_FEATURE_MODE_CAPS
IS_DEVICE_FEATURE_CAP_VERTICAL_AOI_MERGE
Special AOI merge mode which combines the
lines of an AOI to a new image.
Example: The AOI merge mode height is 1 line
for a monochrome sensor. That means that the
image is composed of 4000 "merged" AOIs. If
the AOI merge mode height is 100 lines, the
image is composed of 400 "merged" AOIs.
Example 1
INT nVerticalAoiMergeMode = 0;
INT nVerticalAoiMergePosition = 0;
/* Read current vertical AOI merge mode */
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_GET_VERTICAL_AOI_MERGE_MODE,
(void*)&nVerticalAoiMergeMode, sizeof(nVerticalAoiMergeMode));
if (nRet == IS_SUCCESS)
{
if (nVerticalAoiMergeMode == IS_VERTICAL_AOI_MERGE_MODE_FREERUN)
{
/* Read current AOI merge position */
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_GET_VERTICAL_AOI_MERGE_POSITION,
(void*)&nVerticalAoiMergePosition,
sizeof(nVerticalAoiMergePosition));
}
}
/* Set vertical AOI merge mode */
nVerticalAoiMergeMode = IS_VERTICAL_AOI_MERGE_MODE_FREERUN;
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_SET_VERTICAL_AOI_MERGE_MODE,
(void*)&nVerticalAoiMergeMode , sizeof(nVerticalAoiMergeMode));
if (nRet == IS_SUCCESS)
{
INT nVerticalAoiMergePosition = 100;
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_SET_VERTICAL_AOI_MERGE_POSITION,
(void*)&nVerticalAoiMergePosition, sizeof(nVerticalAoiMergePosition));
}
Example 2
/* Get the default value for the vertical AOI merge mode height */
INT nHeight = 0;
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_GET_VERTICAL_AOI_MERGE_HEIGHT_DEFAULT,
(void*)&nHeight, sizeof(nHeight));
/* Get current value of the vertical AOI merge mode height */
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_GET_VERTICAL_AOI_MERGE_HEIGHT,
(void*)&nHeight, sizeof(nHeight));
/* Get the number of elements in the vertical AOI merge mode height list */
INT nVerticalAoiMergeModeHeightNumber;
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_GET_VERTICAL_AOI_MERGE_HEIGHT_NUMBER,
(void*)&nVerticalAoiMergeModeHeightNumber,

Table of Contents

Other manuals for THORLABS DCU22 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the THORLABS DCU22 Series and is the answer not in the manual?

THORLABS DCU22 Series Specifications

General IconGeneral
BrandTHORLABS
ModelDCU22 Series
CategorySecurity Camera
LanguageEnglish

Related product manuals