Gocator_GrabProfile


Captures profile from Gocator device.

Syntax

C++
Python
 
def Gocator_GrabProfile(
	state: Gocator_State,
	inInputQueueSize: int,
	/,
	*,
	inAddress: str | None = None
)
-> (
	outResult: bool,
	outProfileData: list[Point2D],
	outProfileIntensity: 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
Output value outProfileData list[Point2D]
Output value outProfileIntensity 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