Closed roboguy222 closed 7 years ago
Fuck, this was sent from @amopremcak, i didnt see Chris had logged in.
Yes, it would be great to go over this together.
A couple points though.
addData()
calls is not the best idea but as far as I can recall, the manual did not explicitly instruct to avoid this. The fact that you can save several things at once does not mean that you should and, the opposite is true, the fact that you can save the things incrementally does not mean that you should. If I remember correctly, this was the easiest way to save data. We can revise this.This has been addressed in this commit. There is only negligible difference in saving time between different formats now.
The way the dataChest is implemented in the measurement code needs to be modified. The data saving is inefficient, thousands of calls are made to the method
addData()
that can handle all of the data at once. The overhead in that alone would speed things up by quite a bit if I had to guess. The code is also creating multiple hdf5 datasets for a single scan, where as only one .txt and .mat file is created for the same run. I realize that this is probably due to the broken grapher. Lets take a look at this together sometime this week @patzinak.