Gocator Line Profile Sensors: User Manual
Gocator Accelerator • 353
Clicking the X icon in the application only minimizes the application.
2. Choose Exit.
Dashboard and Health Indicators
After a sensor is accelerated, the values of some health indicators come from the accelerating PC instead
of the sensor. Others come from a combination of the accelerated sensor and the accelerating PC.
l For information on which indicators are affected in the Dashboard in the web interface, see State and
Health Information on page 330.
l For information on which indicators accessed through the Gocator protocol are affected, see Health
Results on page 499.
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;
}