Back to Adaptive Vision Library website

You are here: Start » Function Reference » SmartRay » SmartRay_SetDigitalOutput

SmartRay_SetDigitalOutput


Header:ThirdPartySdk.h
Namespace:avl

Set digital output of SmartRay device.

Syntax

void avl::SmartRay_SetDigitalOutput
(
	SmartRay_State& ioState,
	const atl::String& inAddress,
	int inPort,
	int inConnectionTimeout,
	int inChannel,
	bool inEnable
)

Parameters

Name Type Range Default Description
ioState SmartRay_State& Object used to maintain state of the function.
inAddress const String& \"192.168.178.200\" Device identifying address
inPort int 40 Device identifying network port
inConnectionTimeout int 1 - 1000 60 Timeout in seconds
inChannel int 1 - 2
inEnable bool

Multithreaded environment

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