Advanced NMEA Data Logger

Trust In Confidence!

For Windows 2000 - Windows 11 (2019) (incl. Server, x86 and x64). Latest version: 3.5.0 build 1121. .


Saving selected NMEA values to an Excel file (CSV format)

Problem:

I have two data sources, depth sounder connected to COM4, 4800bps, 7 data bits, no parity, 1Hz, $DPDPT (with Aten USB), and GPS (Geomax Zenith20+Getac236) connected to COM3, 9600bps, 8 data bits, no parity, 1Hz, $GPGGA.

I want to write a GPS location and depth to an Excel-compatible file without additional unwanted data.

Preliminary requirements:

  1. Advanced NMEA Data Logger Enterprise, or a trial version (download).
  2. Local database data export plugin.
  3. You've configured a data parser as described in another tutorial.

Solution:

Configuring a data export plugin

1. Open the existing configuration for editing using the following menu item: Options → Manage configurations → Your configuration → Modify.

2. Enable the "Local database" plugin on the "Modules → Data export" tab (fig.1). FYI: you can use multiple data export plugins at the same time.

Enabling the Local database plugin
Fig. 1: Enabling the Local database plugin

3. Select the output type in the "Local database type" fields and configure file parameters, as shown in figure 2. The help file for this plugin contains a detailed description of all options.

Parameters of a CSV file
Fig. 2: Parameters of a CSV file

4. Switch to the "Export options" tab and adjust some formatting settings for timestamps and numbers.

Formatting settings
Fig. 3: Formatting settings

5. On the "Columns order" tab (fig. 4), you can define an order of the necessary NMEA values in the resulting CSV file. If you cannot find an NMEA value in a drop-down list with parser items, you can type the name of the necessary variable manually. We use the following parser items:

  • Timestamp → DATE_TIME_STAMP.
  • Latitude → GGA_LATITUDE_DEG.
  • Longitude → GGA_LONGITUDE_DEG.
  • Depth → DPT_DEPTH.

NMEA values
Fig. 4: NMEA values

6. Save the changes by clicking the "OK" button.

7. Wait for incoming data and check the result in the configured folder. Please, note that the plugin updates the file with a delay of 10 seconds.

FAQ

What data does the NMEA parser extract? How can I get the names of all available values?

  1. Enable the OPC server plugin (fig. 5) and click the "OK" button.
  2. Wait for incoming NMEA data.
  3. Open the plugin settings and goto to the "Active Items" tab (fig. 6).
  4. Disable the OPC plugin if you do not need it anymore.

Enabling the OPC server
Fig. 5: Enabling the OPC server

Listing of all NMEA values
Fig. 6: Listing of all NMEA values

I do not see the necessary value. What can I do?

  1. Please, check that you selected the necessary sentence type in the parser.
  2. Check incoming data in the main program's window contains the necessary sentence.
  3. Check the NMEA sentence has a valid format, starts with "$" and ends with CR+LF.
  4. Check log messages about wrong checksums in received data.

Related articles: