|
Re: best practices for logging sensors?
The code used to make the measurement is shown in the attached screenshot.
I'd honestly expect that you will log closer to .1kB per 20ms, meaning that the whole match is hardly any data at all. That means that you can pretty easily append it to an array in a subVI or you can use the disk I/O. I didn't test enough to understand the 60ms, but I've seen it before on other controllers when flash pages had to be flushed. If it happened once a second, it would affect the robot, but if it happens once in a match, I would think that is a reasonable tradeoff. I'm eager to hear what you discover and which approach you decide to use.
Greg McKaskle
|