Back to Adaptive Vision Library website

You are here: Start » Function Reference » Hikvision » Hikvision_ConfigureStrobe

Hikvision_ConfigureStrobe


Header:ThirdPartySdk.h
Namespace:avl

Sets strobe parameters.

Syntax

void avl::Hikvision_ConfigureStrobe
(
	Hikvision_State& ioState,
	atl::Optional<const atl::String&> inDeviceID,
	avl::HikvisionLine::Type inLineSelector,
	avl::HikvisionEvent::Type inLineSource,
	atl::Optional<bool> inLineInverter,
	bool inStrobeEnabled,
	atl::Optional<int> inStrobeDuration,
	atl::Optional<int> inStrobeDelay
)

Parameters

Name Type Range Default Description
ioState Hikvision_State& Object used to maintain state of the function.
inDeviceID Optional<const String&> NIL Camera serial number, name or IP address, Auto = first camera
inLineSelector HikvisionLine::Type Strobe output line
inLineSource HikvisionEvent::Type ExposureActive Strobe source
inLineInverter Optional<bool> NIL True if inverting output signal
inStrobeEnabled bool True if using strobe on selected line
inStrobeDuration Optional<int> 0 - NIL Duration of strobe pulse in microseconds
inStrobeDelay Optional<int> 0 - NIL Delay of strobe pulse in microseconds

Remarks

Camera driver software

This filter is intended to cooperate with camera using its vendor Hikvision SDK. To be able to connect to camera it is required to install Hikvision Machine Vision Software with camera dedicated drivers. Currently Adaptive Vision Studio uses Hikvision SDK version 3.2.0 (DLL version 3.2.0.3).

Hikvision SDK can be downloaded from the following website: http://en.hikrobotics.com/service/soft.htm?type=1

Setting bandwidth for GigEVision cameras

Bandwidth of Hikvision GigEVision cameras needs to be configured before use, otherwise packet loss and image artifacts may occur.

Open MVS software from Hikvision and connect to the camera. Open Settings / Options menu and go to Network tab. Bandwidth Control slider will be shown. To preserve new value of bandwidth after disconnecting power from the camera, you will need to save it using User Set Control parameters in Features tab.

Multithreaded environment

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

See Also