VisionBox_SetDigitalOutput


Sets a digital output state of Imago VisionBox computers.

Syntax

C++
Python
 
def VisionBox_SetDigitalOutput(
	state: VisionBox_State,
	inPort: int,
	inOutput: int,
	inState: bool,
	/
)
-> None

Parameters

Name Type Default Description
Input will be modified ioState VisionBox_State
Input value inPort int Number of DigitalOutput device to use
Input value inOutput int Number of output to change
Input value inState bool State of pin output to set

Multithreaded environment

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