EasyManuals Logo

LMI Technologies Gocator 3210 User Manual

Default Icon
563 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 #478 background imageLoading...
Page #478 background image
Gocator Snapshot Sensors: User Manual
Development Kits • 478
kIpAddress ipAddress;
GoSystem system = kNULL;
GoSensor sensor = kNULL;
GoSetup setup = kNULL;
//Construct the GoSdk library.
GoSdk_Construct(&api);
//Construct a Gocator system object.
GoSystem_Construct(&system, kNULL);
//Parse IP address into address data structure
kIpAddress_Parse(&ipAddress, SENSOR_IP);
//Obtain GoSensor object by sensor IP address
GoSystem_FindSensorByIpAddress(system, &ipAddress, &sensor)
//Connect sensor object and enable control channel
GoSensor_Connect(sensor);
//Enable data channel
GoSensor_EnableData(system, kTRUE)
//[Optional] Setup callback function to receive data asynchronously
//GoSystem_SetDataHandler(system, onData, &contextPointer)
//Retrieve setup handle
setup = GoSensor_Setup(sensor);
//Reconfigure system to use time-based triggering.
GoSetup_SetTriggerSource(setup, GO_TRIGGER_TIME);
//Send the system a "Start" command.
GoSystem_Start(system);
//Data will now be streaming into the application
//Data can be received and processed asynchronously if a callback function has been
//set (recommended)
//Data can also be received and processed synchronously with the blocking call
//GoSystem_ReceiveData(system, &dataset, RECEIVE_TIMEOUT)
//Send the system a "Stop" command.
GoSystem_Stop(system);
//Free the system object.
GoDestroy(system);
//Free the GoSdk library
GoDestroy(api);
}

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

LMI Technologies Gocator 3210 Specifications

General IconGeneral
BrandLMI Technologies
ModelGocator 3210
CategoryAccessories
LanguageEnglish

Related product manuals