Hi.
I´m getting data from a A/D at 40SPS connected to a laptop, but i wish to store it in a SD-Card, to do some field tests. The issue is: i need to store the data to make it compatible with a software i use to plot the data, with the following structure:
-The software receives the ASCII data and stores in a *.Z file.
-It stores the data in a *.Z file per hour, one folder per day..but to make it easy, doesnt need to create folders: 0.z ; 1.z...15.z; 16.z...; 26.z;...; 30.z....
-Every Z file has a 4 byte header which tells how long the file is in samples.
-After the 4 byte header, it stores data in 16bit short words (1 sample, 1 16bit short word?).
-The *.Z file covers an entire hour so when reading it, the program figures out the sample rate by dividing the number of samples by 3600.
Before starting on the SD-Card to store the data, will the Arduino be able to work on the A/D code and save the data to a SD-Card?
If the Arduino be able to do this, how can programme it to store the data following that structure?
I aprecciate any help. If it helps, i can share some Z files.
Thanks.