© 2016 Thorlabs Scientific Imaging
4 Programming (SDK)
173
Status flags from DEVICE_FEATURE_MODE_CAPS
IS_DEVICE_FEATURE_CAP_LINESCAN_MODE_FAST
Fast line scan mode is supported/Set mode
IS_DEVICE_FEATURE_CAP_LINESCAN_NUMBER
Line number at fast line scan mode is
supported/Set number
4.3.15.7 Configuring the Timestamp
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:
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_TIMESTAMP_CONFI
GURATION
Returns the current configuration of the
timestamp (Example)
IS_DEVICE_FEATURE_CMD_SET_TIMESTAMP_CONFI
GURATION
Sets the new configuration of the timestamp
Pointer to a function parameter, whose function
depends on nCommand.
Size (in bytes) of the memory area to which
pParam refers.
Contents of the IS_TIMESTAMP_CONFIGURATION structure
Mode to be set:
IS_RESET_TIMESTAMP_ONCE:
Sets once the camera
timestamp to 0.
Pin for setting the timestamp:
TIMESTAMP_CONFIGURATION_PIN_
NONE: Timestamp is not reset.
TIMESTAMP_CONFIGURATION_PIN_
TRIGGER: Timestamp is set by
signal on the trigger pin.
TIMESTAMP_CONFIGURATION_PIN_
GPIO_1: Timestamp is set by