SmartRay_SetDigitalOutput


Sets digital output of SmartRay device.

Syntax

C++
Python
 
def SmartRay_SetDigitalOutput(
	state: SmartRay_State,
	inAddress: str,
	inPort: int,
	inConnectionTimeout: int,
	inChannel: int,
	inEnable: bool,
	/
)
-> None

Parameters

Name Type Range Default Description
Input will be modified ioState SmartRay_State
Input value inAddress str Device identifying address
Input value inPort int Device identifying network port
Input value inConnectionTimeout int 1 - 1000 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.