Gocator Line Profile Sensors: User Manual
Development Kits • 539
After receiving the GoDataSet object, you should call GoDestroy to dispose the GoDataSet object. You do
not need to dispose objects within the GoDataSet object individually.
All objects that are explicitly created by the user or passed via callbacks should be destroyed by
using the GoDestroy function.
MeasurementValues and Decisions
Measurement values and decisions are 32-bit signed values (k32s). See Value Types on page 537 for
more information on value types.
The following table lists the decisions that can be returned.
Decision Description
1 The measurement value is between the maximum and minimum decision values. This
is a pass decision.
0 The measurement value is outside the maximum and minimum. This is a fail decision.
-1 The measurement is invalid (for example, the target is not within range). Provides the
reason for the failure.
-2 The tool containing the measurement is anchored and has received invalid
measurement data from one of its anchors. Provides the reason for the failure.
Measurement Decisions
Refer to the SetupMeasurement example for details on how to add and configure tools and
measurements. Refer to the ReceiveMeasurement example for details on how to receive measurement
decisions and values.
You should check a decision against <=0 for failure or invalid measurement.
Operation Workflow
Applications created using the SDKtypically use the following programming sequence: