RouteTrak API
Extending the data
Using the RouteTrak API | See Also
The RouteTrak Engine saves GPS information to the log file by default. The application can extend this data with application specific information in the file header section and on a per record basis.
Remarks
Extra header information can be recorded using the RTWriteExtendedHeader method. The extended size should match the size supplied in the RTOpenLogFile method.

Each data record processed by the RouteTrak engine can be extended by the application by overriding OnRTGetExtendedData. The data supplied can be of any format, and the only restriction is that extension data has to be of a fixed size for all records in the log file that have it. The size is established in the call to RTOpenLogFile.

 

Some possible uses for data extensions are:

 

  • Logging engine data

  • Logging data from external Equipment

  • Recording location specific information such as customer idenification

 

By default, the RouteTrak Server component, which processes the the log files created by the RouteTrak Engine, will ignore the extended data. Contact Links Point for information about how to extend the Server component to interpret the data.

See Also
RTWriteExtendedHeader, OnRTGetExtendedData, RTOpenLogFile
Group
Links

Copyright (c) 2001-2004 Links Point Inc.