Atmel Software Framework

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Extraction

This program is used to extract data from a buffer and print them with the following format on the standard output.


It parses every line of the input buffer and check if it matches with the given pattern (gave in argument to this program). If it does, it will extract the specified data from the buffer and print it, else it will ignore the line.


DataExtract input_buffer_file_path pattern n_arg

Usage example:
To extract the 2nd number of a file which lines are defined as follow: integer float integer

DataExtract ./buffer.txt "%i %f %i" 2


All the files related to this module are located under /avr32/services/dsp/dsplib/utils/program/data_extract
In this directory you can find the source code and the binary of this module.