![Data Logging](https://d27wgn5g4t3wja.cloudfront.net/img/07ab5402-1422-08df-aa91-449b063389c4/144260.png)
Data Logging
The LogTxt macro can be used together with a timer macro in a loop to produce a data log that consists of a timed series of data samples. Each line in the file can be anything you want, typically a time-stamp (including date, if desired) plus one or more values recorded at that time. The interval between samples can typically be from less than a tenth of a second, up to hours or days... or even longer.