VisionBox_ConfigureLedGenerator


Configures led signal generator.

Syntax

C++
Python
 
def VisionBox_ConfigureLedGenerator(
	state: VisionBox_State,
	inGeneratorIndex: int,
	inBlinkCount: int,
	inMs_ton: int,
	inMs_toff: int,
	inMs_tpause: int,
	/
)
-> None

Parameters

Name Type Range Default Description
Input will be modified ioState VisionBox_State
Input value inGeneratorIndex int 0 - 1 Number of generator to configure
Input value inBlinkCount int 1 - 16 Count of LED blinks
Input value inMs_ton int 100 - 6400 Duration of "ON" signal
Input value inMs_toff int 100 - 6400 Duration of "OFF" signal
Input value inMs_tpause int 0 - 6400 Duration of pause between sequences

Multithreaded environment

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