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 #176 background imageLoading...
Page #176 background image
© 2016 Thorlabs Scientific Imaging174
DCx Camera Functional Description and SDK Manual
signal on GPIO 1.
TIMESTAMP_CONFIGURATION_PIN_
GPIO_2: Timestamp is set by
signal on GPIO 2.
INT
s32Edge
The timestamp is set by rising or
falling edge:
TIMESTAMP_CONFIGURATION_EDGE
_FALLING
TIMESTAMP_CONFIGURATION_EDGE
_RISING
Status flags from DEVICE_FEATURE_MODE_CAPS
IS_DEVICE_FEATURE_CAP_TIMESTAMP_CONFIGURA
TION
Configuration of the timestamp (e.g. reset the
timestamp to 0 at a signal on the trigger pin).
Example
IS_TIMESTAMP_CONFIGURATION timestampConfiguration;
/* Returns the current timestamp configuration */
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_GET_TIMESTAMP_CONFIGURATION,
(void*) &timestampConfiguration, sizeof(timestampConfiguration));
/* A falling edge on the trigger pin will reset the device timestamp once. All 3 parameters will be set at the same time */
timestampConfiguration.s32Mode = IS_RESET_TIMESTAMP_ONCE;
timestampConfiguration.s32Edge = TIMESTAMP_CONFIGURATION_EDGE_FALLING; timestampConfiguration.s32Pin = TIMESTAMP_CONFIGURATION_PIN_TRIGGER;
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_SET_TIMESTAMP_CONFIGURATION,
(void*) &timestampConfiguration, sizeof(timestampConfiguration));
/* Set only the edge */
timestampConfiguration.s32Mode = IS_IGNORE_PARAMETER;
timestampConfiguration.s32Edge = TIMESTAMP_CONFIGURATION_EDGE_RISING;
timestampConfiguration.s32Pin = IS_IGNORE_PARAMETER;
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_SET_TIMESTAMP_CONFIGURATION,
(void*)&timestampConfiguration, sizeof(timestampConfiguration));
/* Set only the pin */
timestampConfiguration.s32Mode = IS_IGNORE_PARAMETER;
timestampConfiguration.s32Edge = IS_IGNORE_PARAMETER;
timestampConfiguration.s32Pin = TIMESTAMP_CONFIGURATION_PIN_GPIO_1;
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_SET_TIMESTAMP_CONFIGURATION,
(void*)&timestampConfiguration, sizeof(timestampConfiguration));
/* Set only the mode */
timestampConfiguration.s32Mode = IS_RESET_TIMESTAMP_ONCE;
timestampConfiguration.s32Edge = IS_IGNORE_PARAMETER;
timestampConfiguration.s32Pin = IS_IGNORE_PARAMETER;
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_SET_TIMESTAMP_CONFIGURATION,
(void*)&timestampConfiguration, sizeof(timestampConfiguration));
4.3.16 is_DeviceInfo
USB 3
USB 3
Note
This command is supported by DCC3240x USB3 cameras only!
Syntax
INT is_DeviceInfo (HIDS hCam, UINT nCommand, void* pParam, UINT cbSizeOfParam)

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