Gocator Line Profile Sensors: User Manual
Gocator Acceleration • 455
Clicking the X icon in the application only minimizes the application.
2. Choose Exit.
SDK Application Integration
Gocator acceleration can be fully integrated into an SDK application. Users simply need to instantiate the
GoAccelerator object and connect it to a sensor object.
GoAccelerator accelerator = kNULL;
// obtain GoSensor object by sensor IP address
if ((status = GoSystem_FindSensorByIpAddress(system, &ipAddress, &sensor)) != kOK)
{
printf("Error: GoSystem_FindSensorByIpAddress:%d\n", status);
return;
}
// construct accelerator
if ((status = GoAccelerator_Construct(&accelerator, kNULL)) != kOK)
{
printf("Error: GoAccelerator_Construct:%d\n", status);
return;
}
// start accelerator
if ((status = GoAccelerator_Start(accelerator)) != kOK)
{
printf("Error: GoAccelerator_Start:%d\n", status);
return;
}
printf ("GoAccelerator_Start completed\n");
if ((status = GoAccelerator_Attach(accelerator, sensor)) != kOK)
{
printf("Error: GoAccelerator_Attach:%d\n", status);
return;
}
// create connection to GoSensor object
if ((status = GoSensor_Connect(sensor)) != kOK)
{
printf("Error: GoSensor_Connect:%d\n", status);
return;
}
After, the SDK application can control an accelerated sensor in the same way as an unaccelerated sensor.
Estimated Performance
The following table lists the running time of various measurement tools, with and without GoMax, as
well as the performance increase factor when running with GoMax.
Note that although sensor models and job file configurations will affect running times, the performance
increase factor for tools should be consistent across models and configurations.