Gocator API

Gocator 3x00 API | Contents | Reference | Next

Gocator API
Topics
Description

The Gocator 2000 API provides classes for communicating with Gocator 2000 sensors via Ethernet.

The library is written in C, in an object-oriented style. Objects are represented by handles and functions are provided to perform operations on objects. The Go2Object class is the root of the inheritance hierarchy for all Gocator 2000 classes. Go2Object functions can be called on any Gocator 2000 object.

To get started using the Gocator 2000 API, refer to the documentation for the Go2System class. Go2System represents a connection to a Gocator 2000 sensor system, and enables the client to configure sensors and receive data from the network. Also refer to the Go2Console project, included in the installation folder, which demonstrates how to use the Gocator 2000 API.

This library is provided under the MIT open-source license. Source code is provided for all Gocator 2000 classes, as well as for classes in the Zen library. Zen is a platform abstraction library, used internally by Gocator 2000 classes, which enables the Gocator 2000 API to run on Windows or Linux.

A pre-built DLL ("Go2.dll") is provided for 32-bit editions of the Windows operating system. If you are targeting a 32-bit Windows system, then you can use the pre-built DLL without rebuilding the Gocator 2000 or Zen libraries.

To rebuild SDK targets on Windows, a Visual Studio 2008 solution is provided in the SDK scripts folder. The solution contains projects to build zApi.lib (Zen static library), Go2.dll (Go2 shared library), and Go2Console.exe (Go2Console sample application).

To rebuild SDK targets on Linux and then run the Go2Console sample program, execute the following shell commands from within the SDK directory (commands for Ubutu 9.10 shown here):

    > cd zApi
    > make -f Makefile_Static
    > cd ../Go2
    > make
    > sudo make install
    > cd ../Go2Console
    > make
    > ../bin/Go2Console

The Go2 library has been tested on the following operating system editions:

- Windows XP (SP3) 32-bit
- Windows 7 32-bit
- Ubuntu 9.10 32-bit
- Ubuntu 9.10 64-bit

Topics

Topic | Description
Go2 | General classes and definitions.
Go2.Output | Classes and definitions for output configuration.
Go2.Part | Classes and definitions for part measurement configuration.
Go2.Data | Classes and definitions for data messages, health messages, and file formats.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.

Copyright (c) 2013 by LMI Technologies Inc. All rights reserved.
Contents | Reference