Deluo TRISTAR25 GPS Receiver User Manual


 
Deluo Electronics http://www.deluo.com
32
4.3.3 Data Logging Programming Description
4.3.3.1 Configuring for Data Logging
1. Send LogConfig Set command to the receiver to enable data logging.
2. The receiver will start logging data and return the LogConfig Info message three
times. The logged receiver position-velocity-time data is stored in a circular buffer.
When the buffer becomes full, oldest data is over-written.
3. The LogConfig Read command may be issued to request sending of LogConfig
Info message again three times.
4.3.3.2 Retrieving Logged Data
1. Issue LogData Dump command to the receiver.
2. Upon reception of the LogData Dump command, the receiver disables data
logging automatically and starts to output the logged data either in NMEA format or
in binary LogData message format, according to the format requested in the
previously issued LogData Dump command, until all logged data dumped.
3. Another issue of the LogData Dump command to the receiver will cause step 2 to
be performed again; the same set of data will be dumped.
4. To continue data logging operation, send LogConfig Set command to the receiver
again. Newly logged data will be placed right after the latest logged data in the
circular buffer. If the LogData Dump command is issued and the data buffer is not
used up yet, both the newly logged data and the previously logged data will be
dumped. Note that LogData Dump command dumps everything in the data buffer.
5. To ensure only newly logged data is dumped after LogConfig Set command is
issued, send LogData Erase command to clear the log buffer prior to sending the
LogConfig Set command.