Please enable JavaScript to view this site.

IDS Software Suite - obsolete functions 4.97

Windows_Logo
Linux_Logo

USB 2.0

GigE

USB 2.0

GigE

Syntax

INT is_SetFlashStrobe (HIDS hCam, INT nMode, INT nLine)

Description

hint_info

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.

hint_info

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

hmtoggle_plus0nMode (Flash mode)

nLine

Currently not used

Return values

IS_SUCCESS

Function executed successfully

IS_NO_SUCCESS

General error message

When used with
IS_GET_FLASHSTROBE_MODE

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_SetFlashDelay()

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);