Back to Adaptive Vision Library website

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

VisionBox_SetLed


Sets led state

Syntax

void avl::VisionBox_SetLed
(
	VisionBox_State& ioState,
	const int inLedIndex,
	const bool inLedState
)

Parameters

Name Type Default Description
ioState VisionBox_State& Object used to maintain state of the function.
inLedIndex const int Selects led
inLedState const bool Whether to turn led on or off

Description

This filter is simple wrapper over Led::SetLED 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.