GoPxL_GrabMeasurement


Captures Measurement data from GoPxL device.

Syntax

C++
Python
 
def GoPxL_GrabMeasurement(
	state: GoPxL_State,
	/,
	*,
	inAddress: str | None = None,
	inInputQueueSize: int = 1,
	inSourceID: int | None = None
)
-> (
	outResult: bool,
	outValue: float,
	outDecision: bool,
	outDecisionCode: GoPxLDecisionCode,
	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 inSourceID int | None 0 - None ID of the data source in Gocator Protocol
Output value outValue float Value
Output value outDecision bool Decision
Output value outDecisionCode GoPxLDecisionCode Decision code
Output value outFrameInfo GoPxLFrameInfo Frame metadata