# RAW to DAT Application¶

This application allows you to read events from a RAW file and convert them to a DAT file.

The source code is installed in <install-prefix>/share/metavision/sdk/driver/apps/metavision_raw_to_dat/metavision_raw_to_dat.cpp.

## Expected Output¶

The application reads data from a RAW file, converts them to a DAT file and saves the DAT file to the same directory as the input RAW file.

Note

As the output file will be written to the same directory as the input file, ensure that you have write permission in the directory with the input RAW file.

## How to start¶

You can directly execute pre-compiled binary installed with Metavision software or compile the source code as described in this tutorial.

To start the pre-compiled executable based on recorded data, provide the full path to a RAW file:

Linux

metavision_raw_to_dat -i FILE_NAME.raw


Windows

metavision_raw_to_dat.exe -i FILE_NAME.raw


To check for additional options:

Linux

metavision_raw_to_dat -h


Windows

metavision_raw_to_dat.exe -h