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 #174 background imageLoading...
Page #174 background image
© 2016 Thorlabs Scientific Imaging172
DCx Camera Functional Description and SDK Manual
Example 4
// Query the default setting for the image memory via camera handle
int nMemoryMode;
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_GET_MEMORY_MODE_ENABLE_DEFAULT, &nMemoryMode, sizeof(nMemoryMode));
if (nMemoryMode == IS_MEMORY_MODE_ON)
{
}
// Query the default setting for the image memory via device ID
int nMemoryMode;
nRet = is_DeviceFeature(nDevID | IS_USE_DEVICE_ID, IS_DEVICE_FEATURE_CMD_GET_MEMORY_MODE_ENABLE_DEFAULT, &nMemoryMode, sizeof(nMemoryMode));
if (nMemoryMode == IS_MEMORY_MODE_ON)
{
}
4.3.15.6 Using the Line Scan 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
Only the monochrome camera models DCC1240/DCC3240 currently support the "fast
line scan" mode.
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_LINESCAN_MODE
Sets the line scan mode, see
DEVICE_FEATURE_MODE_CAPS
IS_DEVICE_FEATURE_CMD_GET_LINESCAN_MODE
Returns the current set line scan mode
IS_DEVICE_FEATURE_CMD_SET_LINESCAN_NUMBER
Sets the scan line used for the line scan mode
IS_DEVICE_FEATURE_CMD_GET_LINESCAN_NUMBER
Returns the scan line used for the line scan
mode
pParam
Pointer to a function parameter, whose function
depends on nCommand.
cbSizeOfParam
Size (in bytes) of the memory area to which
pParam refers.

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