Back to Adaptive Vision Library website

You are here: Start » Function Reference » Flir » FlyCapture_SetStrobe

FlyCapture_SetStrobe


Header:ThirdPartySdk.h
Namespace:avl

Configures Flir camera Strobe

Syntax

void avl::FlyCapture_SetStrobe
(
	FlyCapture_State& ioState,
	atl::Optional<int> inDeviceSerialNumber,
	int inSource,
	bool inEnabled,
	int inPolarity,
	float inDelay,
	float inDuration
)

Parameters

Name Type Range Default Description
ioState FlyCapture_State& Object used to maintain state of the function.
inDeviceSerialNumber Optional<int> NIL Source device serial number
inSource int 0 - + Source value
inEnabled bool Flag controlling on/off
inPolarity int Signal polarity
inDelay float 0.0 - Signal delay (in ms)
inDuration float 0.0 - Signal duration (in ms)

Remarks

Getting Started

This application note provides information on how to install, configure, and use Point Grey imaging cameras with Adaptive Vision software: Getting Started with Adaptive Vision.

Camera driver software

This filter is intended to cooperate with camera using its vendor SDK. To be able to connect to camera it is required to install Fly Capture 2 SDK software with camera dedicated drivers. Currently Adaptive Vision Studio requires Fly Capture version 2.13.3.31.

Fly Capture 2 SDK can be downloaded from the following website: https://www.flir.com/support/browse/camera-cores--components/machine-vision-cameras/sdks (registration may be required).

For 64 bit Adaptive Vision Studio it is required to install 64 bit SDK version.

Camera identification

When there is only one camera connected to computer, inDeviceSerialNumber field can be set to Auto. In this situation first available camera will be found and connected.

inDeviceSerialNumber can be used to pick one of multiple cameras connected to computer. Set this field to device serial number (for example "1234567", should be available on device casing as "s/n: 1234567").

Camera parameters

Most of parameters exposed by camera filters are optional, setting them to 'Auto' leaves related parameters for automatic configuration by camera driver (for example shutter time will be adjusted according to light conditions).

To change other and more advanced camera parameters use configuration tool "FlyCap2" available with Fly Capture 2 SDK. Refer to SDK documentation to find information about parameters and how to save parameters into memory channels.

Multithreaded environment

This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.

See Also