mvGenTLAcquire_GetDigitalIOState
Returns the state of digital inputs or outputs from matrix vision cameras.
Syntax
C++
Python
def mvGenTLAcquire_GetDigitalIOState( state: MvGenTLAcquireState, /, *, inDeviceID: str | None = None, inIOIndex: int = 0 ) -> outValue: bool
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
ioState | MvGenTLAcquireState | ||
![]() |
inDeviceID | str | None | None | Device name or serial number of device |
![]() |
inIOIndex | int | 0 | Index of input or output line |
![]() |
outValue | bool | State of IO line |
Multithreaded environment
This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.



