Back to FabImage Library website
You are here: Start » Function Reference » Gocator » Gocator_GrabMeasurement_WithTimeout
Header: | ThirdPartySdk.h |
---|---|
Namespace: | fil |
Captures Measurement data from Gocator device.
Syntax
bool fil::Gocator_GrabMeasurement_WithTimeout ( Gocator_State& ioState, const ftl::Optional<fil::GocatorAddress>& inAddress, int inInputQueueSize, int inTimeout, int inMeasurementID, ftl::Conditional<ftl::real64>& outValue, ftl::Conditional<bool>& outDecision, ftl::Conditional<fil::GocatorDecisionCode::Type>& outDecisionCode, ftl::Conditional<fil::GocatorFrameInfo>& outFrameInfo )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | Gocator_State& | Object used to maintain state of the function. | |||
![]() |
inAddress | const Optional<GocatorAddress>& | NIL | Gocator Device identifying IP address (e.g. "127.0.0.1") or serial number (e.g. "SN:17335") | |
![]() |
inInputQueueSize | int | 1 - 200 | Number of incoming frames that can be buffered before the application is able to process them | |
![]() |
inTimeout | int | 10 - ![]() |
100 | |
![]() |
inMeasurementID | int | 0 - ![]() |
||
![]() |
outValue | Conditional<real64>& | |||
![]() |
outDecision | Conditional<bool>& | |||
![]() |
outDecisionCode | Conditional<GocatorDecisionCode::Type>& | |||
![]() |
outFrameInfo | Conditional<GocatorFrameInfo>& |
Multithreaded environment
This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.