Back to Adaptive Vision Library website

You are here: Start » Function Reference » Imago Technologies » VisionBox_ConfigureLedGenerator

VisionBox_ConfigureLedGenerator


Configures led signal generator

Syntax

void avl::VisionBox_ConfigureLedGenerator
(
	VisionBox_State& ioState,
	const int inGeneratorIndex,
	const int inBlinkCount,
	const int inMs_ton,
	const int inMs_toff,
	const int inMs_tpause
)

Parameters

Name Type Range Default Description
ioState VisionBox_State& Object used to maintain state of the function.
inGeneratorIndex const int 0 - 1 Number of generator to configure
inBlinkCount const int 1 - 16 Count of LED blinks
inMs_ton const int 100 - 6400 Duration of "ON" signal
inMs_toff const int 100 - 6400 Duration of "OFF" signal
inMs_tpause const int 0 - 6400 Duration of pause between sequences

Description

This filter is simple wrapper over Led::ConfigureGenerator SDK function. Refer to AGE-X SDK to see how to use this function properly.

Remarks

Precondition for use of VisionBox filters is to have Imago Technologies AGE-X SKD installed on target computer. AGE-X SDK provides filters with necessary libraries (DLL files) and drivers. After installation of AGE-X SDK, system restart may be required.

Multithreaded environment

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