Decoding AIS files (batch AIS files processing)
Problem:
I frequently need to decode AIVDO/VDM messages from VDRs in order to investigate marine accidents. Your online AIS decoder can do it for few rows, but I need a software to extract the necessary information from thousands of NMEA rows at once and get one text file containing all the extracted and decoded data.
Preliminary requirements:
- Advanced NMEA Data Logger Enterprise, or a trial version (download).
- File Import plugin.
Solution:
Configuring the NMEA data logger
1. Install the File Import plugin. The new menu item should appear in the "File" main menu in the main window.

Fig. 1: Menu item
2. Create a new configuration to decode AIS data as described in another tutorial. You should select an unused COM or TCP port in the configuration. In this case, real-time incoming data will not mix with imported data.
3. You should select to decode VDO and VDM sentences in the parser settings.

Fig. 2: Parser plugin

Fig. 3: Selecting AIS sentences
4. Configure data view mode to display parsed data.

Fig. 4: Data view mode
5. Configure logging to a file of screen content.

Fig. 4: Log file settings
6. Go to the "File → Import files with data" menu and select the necessary files with AIS data.
7. Wait while the logger processes all records from the file. It may take a while.
8. Check the decoded log file at the folder from step #5.
FAQ
Can I change the format of the log file to the CSV format?
- 1. Disable the regular log file.
- 2. Enable and configure the Local database plugin instead.
I cannot find the MMSI number in decoded data. Where is it?
Our logger decodes this value as the "SOURCE_ID" value
Related articles: Decoding AIS files (batch AIS files processing)
- 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