Roseek_SetOutputState


Sets output I/O state.

Syntax

C++
Python
 
def Roseek_SetOutputState(
	state: Roseek_State,
	inState: bool,
	/,
	*,
	inId: int = 0
)
-> None

Parameters

Name Type Range Default Description
Input will be modified ioState Roseek_State
Input value inId int 0 - 7 0 Index of I/O output port
Input value 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.