AILDigitizer_GrabImage_WithTimeout
Captures an image from the digitizer with timeout.
Syntax
C++
Python
def AILDigitizer_GrabImage_WithTimeout( state: AIL_DigitizerState, inInputQueueSize: int, inTimeout: int, inSkipInvalidFrames: bool, /, *, inDeviceID: AILSystemAndDeviceIdentifierDigitizer | None = None ) -> ( outResult: bool, outImage: Image | None, outFrameData: AILFrameInformation | None )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
ioState | AIL_DigitizerState | |||
![]() |
inDeviceID | AILSystemAndDeviceIdentifierDigitizer | None | None | Device identification. | |
![]() |
inInputQueueSize | int | 1 - ![]() |
Capacity of output frames queue. | |
![]() |
inTimeout | int | 100 - ![]() |
Maximum time to wait. | |
![]() |
inSkipInvalidFrames | bool | Skips invalid frames. | ||
![]() |
outImage | Image | None | Captured image. | ||
![]() |
outFrameData | AILFrameInformation | None | Frame data of the captured image. |




