© 2016 Thorlabs Scientific Imaging388
DCx Camera Functional Description and SDK Manual
Pointer to a function parameter, whose function
depends on nCommand.
Size (in bytes) of the memory area to which
pParam refers.
Function modes
TRIGGER_DEBOUNCE_MODE_NONE
Disables debouncing the digital input.
TRIGGER_DEBOUNCE_MODE_FALLING_EDGE
Debounces the digital input for falling edge
signals.
TRIGGER_DEBOUNCE_MODE_RISING_EDGE
Debounces the digital input for rising edge
signals.
TRIGGER_DEBOUNCE_MODE_BOTH_EDGES
Debounces the digital input for rising or falling
edge signals.
TRIGGER_DEBOUNCE_MODE_AUTOMATIC
Debounces the digital input with automatic edge
selection (recommended). The edge is selected
based on the set trigger edge (see
is_SetExternalTrigger()).
Return values
IS_CANT_COMMUNICATE_WITH_DRIVER
Communication with the driver failed because
no driver has been loaded.
An attempt to initialize or select the camera
failed (no camera connected or initialization
error).
One of the submitted parameters is outside the
valid range or is not supported for this sensor or
is not available in this mode.
An IO request from the uc480 driver failed.
Possibly the versions of the uc480.dll (API) and
the driver file (uc480_usb.sys) do not match.
The camera model used here does not support
this function or setting.
Function executed successfully
Related functions
is_SetExternalTrigger()
is_SetTriggerDelay()
Example
INT value = TRIGGER_DEBOUNCE_MODE_AUTOMATIC;
is_TriggerDebounce(hCam, TRIGGER_DEBOUNCE_CMD_SET_MODE, (void*)&value, sizeof(value));