Log NMEA 0183 or AIS Data to CSV and Open It in Excel
Use Advanced NMEA Data Logger to capture a live GPS or AIS feed and write selected values to a CSV file. The examples below export GPS latitude and longitude from a GGA sentence or vessel MMSI from an AIS position report. Use Enterprise or the trial for the export plugin.
1. Connect to the GPS or AIS feed
Click the green + to add a configuration. For a serial or virtual COM port, match the receiver's baud rate and other port settings. For a network feed, choose the TCP or UDP mode that matches the feed and enter the appropriate address and port. Check that complete sentences appear in the data window.
2. Select the sentences and fields to export
Open Modules → Query Parse Filter and click Setup next to NMEA data parser. On the NMEA sentences page, choose one of the examples below. On Common, enable Add date/time stamp to each sentence parsed to include the computer's capture time as DATE_TIME_STAMP.
GPS coordinates from GGA
Select GGA for a GPS fix. For example, the following sentence contains a latitude of 48.117300° N and a longitude of 11.516667° E, rounded to six decimal places.
$GPGGA,123519,4807.038,N,01131.000,E,1,08,0.9,545.4,M,46.9,M,,*47Map DATE_TIME_STAMP, GGA_LATITUDE_DEG and GGA_LONGITUDE_DEG to the first three CSV columns.
Vessel MMSI from an AIS position report
Under AIS VDM sentence, choose the position report types your feed sends, such as VDM1 for the sample below. For own-vessel data, select the corresponding VDO type. Clear the aggregation list for this configuration so each decoded report can produce its own row.
!AIVDM,1,1,,A,15MgK45P3@G?fl0E`JbR0OwT0@MS,0*4EThis example has MMSI 366730000. Map the timestamp and the MMSI field published for the selected report type. If the MMSI field is absent from the export dropdown, use the DDE Server active items list to find its name and enter it manually. See the AIS field selection walkthrough.
3. Write the CSV file and open it in Excel
- Open Modules → Data export, enable Local database and click Setup.
- Choose Text files (fixed or delimited types) and set File type to Delimited. Set the folder and filename prefix. Choose a field separator such as a comma and enable column names if you want a header row.
- On Columns order, add an item for each field. Enter the desired column name and set its Parser item name to the matching field. Set the timestamp and numeric formats under Export options. Use a period for decimal values with comma-delimited output.
- Save the configuration and wait for a few messages. Check the CSV in a text editor, then import it with Excel's Data → From Text/CSV command. Select the same delimiter you configured in the logger.

Delimited file settings in the Local database plugin
Example output for the GGA sentence, with column labels shown and an illustrative capture time.
timestamp,latitude_deg,longitude_deg
2026-11-23 09:30:00,48.117300,11.516667Example output for the AIS position report.
timestamp,mmsi
2026-11-23 09:30:05,366730000If the file stays empty, check that the parser has the right sentence or report type enabled and that the output folder is writable. To process an existing capture, see how to decode a saved AIS file.
Related articles: Log NMEA 0183 or AIS Data to CSV and Open It in Excel
- FAQ.
- Get NMEA GPS and Sounder data through the OPC interface.
- Write NMEA data to a database (using MS Access in this example).
- Export AIS data to a database.
- Export all received AIS or NMEA data to XML or a text file.
- Saving NMEA or AIS data to a Microsoft Excel file (CSV format).
- Saving selected NMEA values to an Excel file (CSV format).
- Grouping NMEA data from two data sources to one row in a CSV file.
- Grouping NMEA data from two data sources with different communication parameters.
- Decoding AIS files (batch AIS files processing).
Related topics: Advanced NMEA Data Logger
hereSerial port interface RS232 pinout and signals Cables and signals Data monitor cables