MDF Demo

There is an example implementation of MDF demo available in apps folder.In this implementation, a simple data is append into the mdf4 file format.

mdf4 calls

Function

Description

rs_mdf4_init

To Initialize the mdf4

rs_mdf4_set_compression

To sets the mode of the mdf4

rs_mdf4_set_prog_identity

To sets the program identification of the mdf4

rs_mdf4_set_file_info

To sets the file name and file path of the mdf4

rs_mdf4_data_log

To log the data into mdf file

Using these ‘rs’ calls set the input required for the mdf file.once set all the inputs , call the function ‘rs_mdf4_data_log’ it will log the data into mdf file.

Refer to the MDF4 File Format page for an example about how the RAPIDSEA uses the mdf file format.