![]() |
![]() |
---|---|
USB 2.0 GigE |
USB 2.0 GigE |
Syntax
INT is_SetFlashStrobe (HIDS hCam, INT nMode, INT nLine)
Description
This function is obsolete and should not be used anymore. We recommend to use the is_IO() function instead. |
is_SetFlashStrobe() controls the uEye's digital outputs and defines the flash strobe behavior. The digital outputs can be used in both freerun mode and trigger mode. You can synchronize the output level to the exposure time or set it statically.
Note on duration and trigger delay You can set the flash duration and flash delay using the is_SetFlashDelay() function. The is_GetGlobalFlashDelays() returns the values required for precisely synchronizing the flash signal to the current timing settings. |
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 |
||
|
|||
nLine |
Currently not used |
Return values
IS_SUCCESS |
Function executed successfully |
IS_NO_SUCCESS |
General error message |
When used with |
Current setting |
When used with IS_GET_SUPPORTED_FLASH_IO_PORTS |
Returns the supported ports linked by a logical OR. IS_SET_FLASH_IO_1 IS_SET_FLASH_IO_2 |
Related functions
•is_IO()
•is_SetExternalTrigger()
•is_SetTriggerDelay()
•is_CaptureVideo()
Example
//Software trigger mode, HI_ACTIVE flash mode
is_SetExternalTrigger (hCam, IS_SET_TRIGGER_SOFTWARE);
is_SetFlashStrobe (hCam, IS_SET_FLASH_HI_ACTIVE, 0);
is_FreezeVideo (hCam, IS_WAIT);
// Flash additionally on second GPIO output
is_SetFlashStrobe (hCam, IS_SET_FLASH_HI_ACTIVE | IS_SET_FLASH_IO_2, 0);
// Flash only on normal flash output
is_SetFlashStrobe (hCam, IS_SET_FLASH_HI_ACTIVE, 0);