
Gocator Line Profile Sensors: User Manual
Development Kits • 542
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);
}
Содержание Gocator 2130
Страница 250: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 250...
Страница 262: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 262 2D View 3D View...
Страница 263: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 263 Measurement Panel...
Страница 279: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 279 Measurement Panel...
Страница 285: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 285...
Страница 292: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 292 Measurement Panel...
Страница 298: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 298 2D View 3D View...
Страница 305: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 305 2D View 3D View...
Страница 309: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 309 2D View 3D View...
Страница 586: ...Gocator Line Profile Sensors User Manual Specifications 587 Dimensions Envelope...
Страница 588: ...Gocator Line Profile Sensors User Manual Specifications 589 Envelope...
Страница 590: ...Gocator Line Profile Sensors User Manual Specifications 591 Dimensions Envelope...
Страница 592: ...Gocator Line Profile Sensors User Manual Specifications 593 Dimensions Envelope...
Страница 594: ...Gocator Line Profile Sensors User Manual Specifications 595 Dimensions...
Страница 595: ...Gocator Line Profile Sensors User Manual Specifications 596 Envelope...
Страница 597: ...Gocator Line Profile Sensors User Manual Specifications 598 Dimensions...
Страница 598: ...Gocator Line Profile Sensors User Manual Specifications 599 Envelope...
Страница 600: ...Gocator Line Profile Sensors User Manual Specifications 601 Dimensions...
Страница 601: ...Gocator Line Profile Sensors User Manual Specifications 602 Envelope...
Страница 603: ...Gocator Line Profile Sensors User Manual Specifications 604 Dimensions...
Страница 604: ...Gocator Line Profile Sensors User Manual Specifications 605 Envelope...
Страница 608: ...Gocator Line Profile Sensors User Manual Specifications 609 Dimensions...
Страница 609: ...Gocator Line Profile Sensors User Manual Specifications 610 Envelope...
Страница 611: ...Gocator Line Profile Sensors User Manual Specifications 612 Dimensions...
Страница 612: ...Gocator Line Profile Sensors User Manual Specifications 613 Envelope...
Страница 615: ...Gocator Line Profile Sensors User Manual Specifications 616 Dimensions...
Страница 616: ...Gocator Line Profile Sensors User Manual Specifications 617 Envelope...