Gocator_GrabMeasurement_WithTimeout


Captures Measurement data from Gocator device.

Syntax

C++
Python
 
def Gocator_GrabMeasurement_WithTimeout(
	state: Gocator_State,
	inInputQueueSize: int,
	inTimeout: int,
	/,
	*,
	inAddress: str | None = None,
	inMeasurementID: int = 0
)
-> (
	outResult: bool,
	outValue: float | None,
	outDecision: bool | None,
	outDecisionCode: GocatorDecisionCode | None,
	outFrameInfo: GocatorFrameInfo | None
)

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 inTimeout int 10 -
Input value inMeasurementID int 0 - 0
Output value outValue float | None
Output value outDecision bool | None
Output value outDecisionCode GocatorDecisionCode | None
Output value outFrameInfo GocatorFrameInfo | None