GoPxL_GrabImages


Captures images from GoPxL device.

Syntax

C++
Python
 
def GoPxL_GrabImages(
	state: GoPxL_State,
	outImage1: Image,
	outImage2: Image,
	/,
	*,
	inAddress: str | None = None,
	inInputQueueSize: int = 1,
	inSourceID1: int | None = None,
	inSourceID2: int | None = None
)
-> (
	outResult: bool,
	outFrameInfo: GoPxLFrameInfo
)

Parameters

Name Type Range Default Description
Input will be modified ioState GoPxL_State
Input value 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")
Input value inInputQueueSize int 1 - 50000 1 Number of incoming frames that can be buffered before the application is able to process them
Input value inSourceID1 int | None -1 - None ID of the data source in Gocator Protocol 1
Input value inSourceID2 int | None -1 - None ID of the data source in Gocator Protocol 2
Output value outImage1 Image Image 1
Output value outImage2 Image Image 2
Output value outFrameInfo GoPxLFrameInfo Frame metadata