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 #171 background imageLoading...
Page #171 background image
© 2016 Thorlabs Scientific Imaging
4 Programming (SDK)
169
Example
/* Query the current settings */
INT nMode = IS_LEVEL_CONTROLLED_TRIGGER_INPUT_OFF;
INT nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_GET_LEVEL_CONTROLLED_TRIGGER_INPUT_MODE,
(void*)&nMode, sizeof(nMode));
if (IS_SUCCESS == nRet)
{
if (IS_LEVEL_CONTROLLED_TRIGGER_INPUT_OFF == nMode)
{
/* Level controlled trigger is disabled */
}
else if (IS_LEVEL_CONTROLLED_TRIGGER_INPUT_ON == nMode)
{
/* Level controlled trigger is enabled */
}
}
/* Enable level controlled trigger */
nMode = IS_LEVEL_CONTROLLED_TRIGGER_INPUT_ON;
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_SET_LEVEL_CONTROLLED_TRIGGER_INPUT_MODE,
(void*)&nMode, sizeof(nMode));
if (IS_SUCCESS == nRet)
{
/* Level controlled trigger is enabled */
}
/* Get default setting */
nRet = is_DeviceFeature(hCam,
IS_DEVICE_FEATURE_CMD_GET_LEVEL_CONTROLLED_TRIGGER_INPUT_MODE_DEFAULT,
(void*)&nMode, sizeof(nMode));
if (IS_SUCCESS == nRet)
{
/* nMode returns the default setting */
}
4.3.15.4 Switching the Shutter 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 models: Toggle between shutter modes, see Basics: Shutter methods.
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
nCommand
IS_DEVICE_FEATURE_CMD_SET_SHUTTER_MODE
Sets the shutter mode, see
DEVICE_FEATURE_MODE_CAPS

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