© 2013 Thorlabs GmbH192
DCx Cameras
4.3.15 is_DeviceFeature
Note
This command is supported by DCC1240x / DCC3240x cameras only!
Syntax
INT is_DeviceFeature (HIDS hCam, UINT nCommand, void* pParam, UINT cbSizeOfParam)
Description
Using is_DeviceFeature() you can configure special camera functions provided by DCC1240x / DCC3240x
Camera models:
Set line scan mode, see Basics: Line scan mode (only monochrome models).
Toggle between shutter modes, see Basics: Shutter methods.
Control the Log mode, see uc480 Viewer: Shutter.
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
IS_DEVICE_FEATURE_CMD_GET_SUPPORTED_FEAT
URES
Returns the functions supported by the camera. See
Status flags table (Example 1 )
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 currently set line scan mode
IS_DEVICE_FEATURE_CMD_SET_LINESCAN_NUMBE
R
Sets the scan line used for the line scan mode
IS_DEVICE_FEATURE_CMD_GET_LINESCAN_NUMBE
R
Returns the scan line used for the line scan mode
IS_DEVICE_FEATURE_CMD_SET_SHUTTER_MODE
Sets the shutter mode, see
DEVICE_FEATURE_MODE_CAPS
IS_DEVICE_FEATURE_CMD_GET_SHUTTER_MODE
IS_DEVICE_FEATURE_CMD_GET_LOG_MODE_DEFAU
LT
Returns the default settings for the Log mode (Example 2
)
IS_DEVICE_FEATURE_CMD_GET_LOG_MODE
Returns the currect Log mode (Example 3 )
IS_DEVICE_FEATURE_CMD_SET_LOG_MODE
IS_DEVICE_FEATURE_CMD_GET_LOG_MODE_MANUA
L_VALUE_DEFAULT
Returns the default settings for the manual value of the
Log mode (Example 4 )
IS_DEVICE_FEATURE_CMD_GET_LOG_MODE_MANUA
L_VALUE_RANGE
Returns the range of the manual value of the Log mode.
IS_DEVICE_FEATURE_CMD_GET_LOG_MODE_MANUA
L_VALUE
Returns the current manual value of the Log mode
(Example 5 )
IS_DEVICE_FEATURE_CMD_SET_LOG_MODE_MANUA
L_VALUE
Sets the manual value of the Log mode
33
30
116
193 194
194
194
195
195