Gocator_GrabSection


Captures Section from Gocator device.

Syntax

C++
Python
 
def Gocator_GrabSection(
	state: Gocator_State,
	inInputQueueSize: int,
	/,
	*,
	inAddress: str | None = None,
	inSectionID: int = 0
)
-> (
	outResult: bool,
	outSectionData: list[Point2D],
	outSectionIntensity: Profile | None,
	outXScale: float,
	outXOffset: float,
	outZScale: float,
	outZOffset: float,
	outFrameInfo: GocatorFrameInfo
)

Parameters

Name Type Range Default Description
Input will be modified ioState Gocator_State
Input value inAddress str | None None Gocator Device identifying IP address (e.g. "127.0.0.1") or serial number (e.g. "SN:17335")
Input value inInputQueueSize int 1 - 50000 Number of incoming frames that can be buffered before the application is able to process them
Input value inSectionID int 0 - 0
Output value outSectionData list[Point2D]
Output value outSectionIntensity Profile | None
Output value outXScale float X scale in mm
Output value outXOffset float X offset in mm
Output value outZScale float Z scale in mm
Output value outZOffset float Z offset in mm
Output value outFrameInfo GocatorFrameInfo