View Single Post
  #2   Spotlight this post!  
Unread 30-12-2012, 11:15
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
Reply With Quote