Here's a new snippet. See if you can figure it out. The VI still needs work,
- What device are you using?
- You are reading 1 point at a time, eventually you will run out of buffer. Read 1/10 of the sample rate and average those values instead of a single point.
- Try to implement the math in the loop.
- Following GerdW's advice I read the file outside the loop.
