EasyManuals Logo

LMI Technologies Gocator 2500 Series User Manual

Default Icon
800 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #686 background imageLoading...
Page #686 background image
Gocator Line Profile Sensors: User Manual
• 686
k64f height = rangeSrc[index] * scale->z + offset->z;
Extracting height information from profiles and surfaces.
The TestProfileSelect and TestSurfaceSelect examples show how to perform these
operations.
Setup and Region Info during Tool Initialization
Memory allocation is often done in the VInit or VStart function. To retrieve sensor and data
information such as active area settings and data scale outside of VProcess, you can use the following
function:
GdkDataInfo info = GdkSensorInfo_DataSource(GdkTool_SensorInfo(tool), GDK_DATA_SOURCE_
TOP);
Computing Region Based on the Offset from an Anchor Source
Just like built-in measurement tools, custom tools created with the GDKcan be anchored to another tool
(GDK-based tools or built-in tools).
To compute the offset region:
TestToolClass* obj = TestTool_Cast_(tool);
GdkParams params = GdkToolCfg_Parameters(config);
const kPoint3d64f* anchor = GdkToolInput_AnchorPosition(input);
GdkRegionXZ64f offsetRegion = {k64F_NULL, k64F_NULL, k64F_NULL, k64F_NULL };
param = GdkParams_Find(params, "Region");
obj->region = *GdkParam_AsProfileRegion(param);
offsetRegion = obj->region;
offsetRegion.x += anchor->x;
offsetRegion.z += anchor->z;
In the code above, we first retrieve the tool’s region settings (before anchoring is applied), and then
adjust the region based on the results from the anchored source in VProcess. If the anchored source
fails, the tools will not be invoked.
The TestProfileSelect and TestSurfaceSelect examples show how to extract height
information from anchored regions.
For more information on anchoring, see Measurement Anchoring in the Gocator user manual.
Part Matching
When part matching is enabled, the tool receives translated and corrected surface data. If part matching
fails for the current scan (for example, the quality score is too low), the tools will not be invoked.
For more information on part matching, see Part Matching in the Gocator user manual.
Accessing Sensor Local Storage
You can access a sensor's local storage by using the kFile API.
For example, to read and write a file to a sensor's storage, you could use the following:

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the LMI Technologies Gocator 2500 Series and is the answer not in the manual?

LMI Technologies Gocator 2500 Series Specifications

General IconGeneral
BrandLMI Technologies
ModelGocator 2500 Series
CategoryAccessories
LanguageEnglish

Related product manuals