EasyManuals Logo

THORLABS DCC1645C Description And Sdk Manual

THORLABS DCC1645C
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 #167 background imageLoading...
Page #167 background image
© 2016 Thorlabs Scientific Imaging
4 Programming (SDK)
165
sizeof(nVerticalAoiMergeModeHeightNumber));
if (nRet == IS_SUCCESS)
{
UINT* pVerticalAoiMergeModeHeightList = new UINT[nVerticalAoiMergeModeHeightNumber];
/* Get the vertical AOI merge mode height list */
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_GET_VERTICAL_AOI_MERGE_HEIGHT_LIST,
(void*)pVerticalAoiMergeModeHeightList,
nVerticalAoiMergeModeHeightNumber * sizeof(UINT));
if (nRet == IS_SUCCESS)
{
/* Set the maximum possible vertical AOI merge mode height depending on the current image height */
UINT nMaxHeight = pVerticalAoiMergeModeHeightList[nVerticalAoiMergeModeHeightNumber - 1];
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_SET_VERTICAL_AOI_MERGE_HEIGHT,
(void*)&nMaxHeight, sizeof(nMaxHeight));
}
}
Example 3
UINT nModes;
/* Get mask with all supported vertical AOI merge line modes */
INT nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_GET_VERTICAL_AOI_MERGE_MODE_SUPPORTED_LINE_MODES, (void*)&nModes, sizeof(nModes));
if (nRet == IS_SUCCESS)
{
if (nModes & IS_VERTICAL_AOI_MERGE_MODE_LINE_FREERUN)
{
// freerun supported
}
if (nModes & IS_VERTICAL_AOI_MERGE_MODE_LINE_SOFTWARE_TRIGGER)
{
// software triggered supported
}
if (nModes & IS_VERTICAL_AOI_MERGE_MODE_LINE_GPIO_TRIGGER)
{
// GPIO triggered supported
}
}
4.3.15.2 Using the Log Mode
USB 2.0
USB 3.0
USB 2.0
USB 3.0
Syntax
INT is_DeviceFeature (HIDS hCam, UINT nCommand, void* pParam, UINT cbSizeOfParam)
Description
Using is_DeviceFeature() you can configure special camera functions provided by specific uc480
models:
DCC1240/DCC3240
The nCommand input parameter is used to select the function mode. The pParam input parameter
depends on the selected function mode. If you select functions for setting or returning a value,
pParam contains a pointer to a variable of the UINT type. The size of the memory area to which
pParam refers is specified in the cbSizeOfParam input parameter.
Input parameters
hCam
Camera handle

Table of Contents

Other manuals for THORLABS DCC1645C

Questions and Answers:

Question and Answer IconNeed help?

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

THORLABS DCC1645C Specifications

General IconGeneral
BrandTHORLABS
ModelDCC1645C
CategorySecurity Camera
LanguageEnglish

Related product manuals