Lumenera_GrabImage_WithTimeout
Captures a frame using Lumenera.
Syntax
C++
Python
def Lumenera_GrabImage_WithTimeout( state: Lumenera_State, inTimeout: int, inImageFormat: LumeneraImageFormatParams, /, *, inDeviceID: int | None = None, inAcquisitionControl: LumeneraAcquisitionControlParams = LumeneraAcquisitionControlParams(False, None, None, None) ) -> ( outResult: bool, outImage: Image | None )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
ioState | Lumenera_State | |||
![]() |
inDeviceID | int | None | 1 - 10000 | None | Device identifying number |
![]() |
inTimeout | int | 100 - 3600000 | Maximum time to wait for frame in milliseconds | |
![]() |
inImageFormat | LumeneraImageFormatParams | Image format parameters | ||
![]() |
inAcquisitionControl | LumeneraAcquisitionControlParams | LumeneraAcquisitionControlParams(False, None, None, None) | Acquisition control parameters | |
![]() |
outImage | Image | None | Captured frame |
Multithreaded environment
This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.



