A set of data recording functions to locally store data in a circular buffer, with functions for offloading to an SD Card when convenient. dataRecorderr.h shows accessible functions to the main program - all direct SD operations are abstracted away by the library. When using this library, #include dataRecorder.h

Dependencies:   sd-driver_compatible_with_MAX32630FTHR

Fork of CircularBufferSDCardLib by Daniel Levine

Embed: (wiki syntax)

« Back to documentation index

DataRecorder Class Reference

DataRecorder Class Reference

Data Recorder is a class that stores data measurements in a ring buffer. More...

#include <dataRecorder.h>

Public Member Functions

int getDataQuantity ()
 Get Information.
void logDistancePoint (uint16_t value)
 Set Information.
void saveLoggedData (string filename)
 Save logged data to SD card.

Detailed Description

Data Recorder is a class that stores data measurements in a ring buffer.

It contains an SD Card Reader with a filesystem to store measurements when required

Definition at line 20 of file dataRecorder.h.


Member Function Documentation

int getDataQuantity (  )

Get Information.

Definition at line 18 of file dataRecorder.cpp.

void logDistancePoint ( uint16_t  value )

Set Information.

Definition at line 61 of file dataRecorder.cpp.

void saveLoggedData ( string  filename )

Save logged data to SD card.

Definition at line 93 of file dataRecorder.cpp.