© 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.
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*) ×tampConfiguration, 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*) ×tampConfiguration, 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*)×tampConfiguration, 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*)×tampConfiguration, 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*)×tampConfiguration, sizeof(timestampConfiguration));
4.3.16 is_DeviceInfo
Note
This command is supported by DCC3240x USB3 cameras only!
Syntax
INT is_DeviceInfo (HIDS hCam, UINT nCommand, void* pParam, UINT cbSizeOfParam)