![]() |
![]() |
---|---|
USB 2.0 GigE |
USB 2.0 GigE |
Syntax
INT is_SetFlashDelay (HIDS hCam, ULONG ulDelay, ULONG ulDuration)
Description
This function is obsolete and should not be used anymore. We recommend to use the is_IO() function instead. |
is_SetFlashDelay() sets a delay for driving the flash output. In addition, you can specify the flash duration.
This allows the implementation of a global flash functionality which exposes all rows of a rolling shutter sensor. In addition, it is possible, for a camera with global shutter sensors, to set the flash start in free-run mode to the start time of the exposure window.
Note on the accuracy of flash synchronization
The following parameters have an influence on the camera's internal timing:
•Image geometry (CMOS and CCD sensors)
•Pixel clock (CMOS and CCD sensors)
•Exposure time (CCD sensors)
If you change any of these parameters, you will have to set the flash duration and flash delay parameters once again.
Input parameters
hCam |
Camera handle |
ulDelay |
Time by which the flash start is delayed (in µs) 0: No delay For 0 < ulDelay < 40 the driver automatically sets ulDelay = 40 |
IS_GET_FLASH_DELAY |
Returns the currently set delay time. |
IS_GET_FLASH_DURATION |
Returns the currently set flash duration. |
IS_GET_MIN_FLASH_DELAY |
Returns the minimum value for the delay. |
IS_GET_MIN_FLASH_DURATION |
Returns the minimum value for the flash duration. |
IS_GET_MAX_FLASH_DELAY |
Returns the maximum value for the delay. |
IS_GET_MAX_FLASH_DURATION |
Returns the maximum value for the flash duration. |
IS_GET_FLASH_DELAY_GRANULARITY |
Returns the increment of the adjustable delay time. |
IS_GET_FLASH_DURATION_GRANULARITY |
Returns the increment of the adjustable flash duration. |
ulDuration |
Time during which the flash is on (in µs). If 0 is passed, the flash output will be active until the end of the exposure time. For sensors with Global Start Shutter this is the time until the end of exposure of the last sensor row |
Return values
IS_SUCCESS |
Function executed successfully |
IS_NO_SUCCESS |
General error message |
When used with |
Current setting |
Related functions
•is_IO()
•is_SetExternalTrigger()
•is_SetTriggerDelay()