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 | |
|---|---|---|---|---|---|
![]() |
ioState | Lumenera_State | |||
![]() |
inDeviceID | int | None | 1 - 10000 | None | Device identifying number |
![]() |
outGpi0 | bool | |||
![]() |
outGpi1 | bool | |||
![]() |
outGpi2 | bool | |||
![]() |
outGpi3 | bool |
Multithreaded environment
This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.



