VisionBox_GetDigitalInput


Reads a digital input state of Imago VisionBox computers.

Syntax

C++
Python
 
def VisionBox_GetDigitalInput(
	state: VisionBox_State,
	inPort: int,
	inInput: int,
	/
)
-> outState: bool

Parameters

Name Type Default Description
Input will be modified ioState VisionBox_State
Input value inPort int Number of DigitalInput device to use
Input value inInput int Number of input to read
Output value outState bool State of selected input pin

Multithreaded environment

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