Back to Adaptive Vision Library website

You are here: Start » Function Reference » AvSMART » AvSMART_SetOutputState

AvSMART_SetOutputState


Header:ThirdPartySdk.h
Namespace:avl

Set output I/O state.

Syntax

void avl::AvSMART_SetOutputState
(
	AvSmart_State& ioState,
	int inId,
	bool inState
)

Parameters

Name Type Range Default Description
ioState AvSmart_State& Object used to maintain state of the function.
inId int 0 - 7 Index of I/O output port
inState bool true = TURN_ON, false = TURN_OFF

Multithreaded environment

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