Back to Adaptive Vision Library website

You are here: Start » Function Reference » Smart » Smart_SetDigitalOutputs

Smart_SetDigitalOutputs


Sets digital outputs using AvSMART interface.

Syntax

void avl::Smart_SetDigitalOutputs
(
	Smart_State& ioState,
	const avl::SmartIPAddress& inIpAddress,
	bool inVal1,
	bool inVal2,
	bool inVal3,
	bool inVal4,
	bool& outIsRemote
)

Parameters

Name Type Default Description
ioState Smart_State& Object used to maintain state of the function.
inIpAddress const SmartIPAddress&
inVal1 bool
inVal2 bool
inVal3 bool
inVal4 bool
outIsRemote bool&

Multithreaded environment

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

Errors

Error type Description
RuntimeError Smart_SetDigitalOutputs is not supported in the Lite edition.