File to DAT Application

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

The source code of this application can be found in <install-prefix>/share/metavision/sdk/driver/apps/metavision_file_to_dat when installing Metavision SDK from installer or packages. For other deployment methods, check the page Path of Samples.

Expected Output

The application reads data from a file, converts them to a DAT file and saves the DAT file to the same directory as the input 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 file.

How to start

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

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

Linux

metavision_file_to_dat -i FILE_NAME.raw

Windows

metavision_file_to_dat.exe -i FILE_NAME.raw