
Gocator Line Profile Sensors: User Manual
• 556
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:
#include <kApi/Io/kFile.h>
…
ToolFx(kStatus) TestTool_VStart(TestTool tool)
{
…
kFile_Save("test.txt", stringBuf, (kSize) 1024);
kFile_Load("test.txt", stringBuf, &bufLen, kNULL);
Print Output
In the emulator, you can send output to Visual Studio or to programs such as DebugView by using the
OutputDebugString
function.
GtsFx(kStatus) TestTool_Trace(const kChar* format, ...)
{
kStatus status = kOK;
kChar debugLine[256];
kVarArgList argList;
kVarArgList_Start_(argList, format);
{
status = kStrPrintvf(debugLine, 256, format, argList);
}
kVarArgList_End_(argList);
OutputDebugStringA(debugLine);
return status;
}
OutputDebugString is NOT supported on sensor targets. Use #ifdef to comment out the code
when compiling against sensor targets.
Summary of Contents for Gocator 2130
Page 250: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 250...
Page 262: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 262 2D View 3D View...
Page 263: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 263 Measurement Panel...
Page 279: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 279 Measurement Panel...
Page 285: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 285...
Page 292: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 292 Measurement Panel...
Page 298: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 298 2D View 3D View...
Page 305: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 305 2D View 3D View...
Page 309: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 309 2D View 3D View...
Page 586: ...Gocator Line Profile Sensors User Manual Specifications 587 Dimensions Envelope...
Page 588: ...Gocator Line Profile Sensors User Manual Specifications 589 Envelope...
Page 590: ...Gocator Line Profile Sensors User Manual Specifications 591 Dimensions Envelope...
Page 592: ...Gocator Line Profile Sensors User Manual Specifications 593 Dimensions Envelope...
Page 594: ...Gocator Line Profile Sensors User Manual Specifications 595 Dimensions...
Page 595: ...Gocator Line Profile Sensors User Manual Specifications 596 Envelope...
Page 597: ...Gocator Line Profile Sensors User Manual Specifications 598 Dimensions...
Page 598: ...Gocator Line Profile Sensors User Manual Specifications 599 Envelope...
Page 600: ...Gocator Line Profile Sensors User Manual Specifications 601 Dimensions...
Page 601: ...Gocator Line Profile Sensors User Manual Specifications 602 Envelope...
Page 603: ...Gocator Line Profile Sensors User Manual Specifications 604 Dimensions...
Page 604: ...Gocator Line Profile Sensors User Manual Specifications 605 Envelope...
Page 608: ...Gocator Line Profile Sensors User Manual Specifications 609 Dimensions...
Page 609: ...Gocator Line Profile Sensors User Manual Specifications 610 Envelope...
Page 611: ...Gocator Line Profile Sensors User Manual Specifications 612 Dimensions...
Page 612: ...Gocator Line Profile Sensors User Manual Specifications 613 Envelope...
Page 615: ...Gocator Line Profile Sensors User Manual Specifications 616 Dimensions...
Page 616: ...Gocator Line Profile Sensors User Manual Specifications 617 Envelope...