Lumenera_GpioRead


Reads GPI pins.

Syntax

C++
Python
 
def Lumenera_GpioRead(
	state: Lumenera_State,
	/,
	*,
	inDeviceID: int | None = None
)
-> (
	outGpi0: bool,
	outGpi1: bool,
	outGpi2: bool,
	outGpi3: bool
)

Parameters

Name Type Range Default Description
Input will be modified ioState Lumenera_State
Input value inDeviceID int | None 1 - 10000 None Device identifying number
Output value outGpi0 bool
Output value outGpi1 bool
Output value outGpi2 bool
Output value outGpi3 bool

Multithreaded environment

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