GoPxL_GrabSurface
Captures Surface from GoPxL device.
Syntax
C++
Python
def GoPxL_GrabSurface( state: GoPxL_State, outSurface: Surface, /, *, inAddress: str | None = None, inInputQueueSize: int = 1, inSourceID: int | None = None ) -> ( outResult: bool, outSurfaceIntensity: Image | None, outFrameInfo: GoPxLFrameInfo )
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 |
![]() |
inSourceID | int | None | 0 - ![]() |
None | ID of the data source in Gocator Protocol |
![]() |
outSurface | Surface | Surface | ||
![]() |
outSurfaceIntensity | Image | None | SurfaceIntensity | ||
![]() |
outFrameInfo | GoPxLFrameInfo | Frame metadata |




