Back to the Utilities main page
Copyright © 2007 Atmel Corporation
This program is used to extract data from a buffer and print them with the following format on the standard output.
0.2997845 -0.4710849 ...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_argThe input_buffer_file_path argument is the file path of the input buffer.
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
First of all, to compile this software you need to download a free compiler called Dev-C++, available here.
Then double click on the DataExtract.dev file and Dev-C++ will open. To compile the software, go to Execute>Compile and it will create an executable called DataExtract.exe that you can launch following the section "Usage" .