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
Input will be modified ioState MvGenTLAcquireState
Input value inDeviceID str | None None Device name or serial number of device
Input value inIOIndex int 0 Index of input or output line
Output value 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.