Back to Aurora Vision Library website

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

SmartRay_SetDigitalOutput


Header: ThirdPartySdk.h
Namespace: avl
Module: ThirdParty

Sets 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
Input will be modified ioState SmartRay_State& Object used to maintain state of the function.
Input value inAddress const String& \"192.168.178.200\" Device identifying address
Input value inPort int 40 Device identifying network port
Input value inConnectionTimeout int 1 - 1000 60 Timeout in seconds
Input value inChannel int 1 - 2
Input value inEnable bool

Multithreaded environment

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