|
Re: best practices for logging sensors?
The first thing you may want to do is to write an equivalent amount of data that you would want to store and time it to see how long it actually takes for the write operation. This will help you determine if you need to make it more complicated. Ideally, you can simply write in the sensor loop and let the caching improve the performance.
The TDMS file is great for more complex data sets, but I think it is overkill for what you are likely doing. I'd recommend either a csv or a binary array file.
Greg McKaskle
|