GoPxL_GrabImages_WithTimeout
Captures images from GoPxL device.
Syntax
C++
Python
def GoPxL_GrabImages_WithTimeout( state: GoPxL_State, /, *, inAddress: str | None = None, inInputQueueSize: int = 1, inTimeout: int = 100, inSourceID1: int | None = None, inSourceID2: int | None = None ) -> ( outResult: bool, outImage1: Image | None, outImage2: Image | None, outFrameInfo: GoPxLFrameInfo | None )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
ioState | GoPxL_State | |||
![]() |
inAddress | str | None | None | GoPxL Device identifying IP address (e.g. "127.0.0.1" or "127.0.0.1:3600") or serial number (e.g. "SN:17335") | |
![]() |
inInputQueueSize | int | 1 - 50000 | 1 | Number of incoming frames that can be buffered before the application is able to process them |
![]() |
inTimeout | int | 10 - ![]() |
100 | Maximum time to wait for data in milliseconds |
![]() |
inSourceID1 | int | None | -1 - ![]() |
None | ID of the data source in Gocator Protocol 1 |
![]() |
inSourceID2 | int | None | -1 - ![]() |
None | ID of the data source in Gocator Protocol 2 |
![]() |
outImage1 | Image | None | Image 1 | ||
![]() |
outImage2 | Image | None | Image 2 | ||
![]() |
outFrameInfo | GoPxLFrameInfo | None | Frame metadata |




