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 | |
|---|---|---|---|---|---|
![]() |
ioState | GoPxL_State | |||
![]() |
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") | |
![]() |
inInputQueueSize | int | 1 - 50000 | 1 | Number of incoming frames that can be buffered before the application is able to process them |
![]() |
inSourceID | int | None | 0 - ![]() |
None | ID of the data source in Gocator Protocol |
![]() |
outValue | float | Value | ||
![]() |
outDecision | bool | Decision | ||
![]() |
outDecisionCode | GoPxLDecisionCode | Decision code | ||
![]() |
outFrameInfo | GoPxLFrameInfo | Frame metadata |




