1Mhz is to fast for the Nano, so attached is a zip file with 100K sine and sq wave both xml and bmp. The bmp shows the screen display of the Nano with the signal measurements. Included in the zip is BenF’s latest release v3.61 zip that includes a User Guide PDF file and at the end of that file, he explains the file formats.
There is an excel template file located at viewtopic.php?f=12&t=1772 that may be useful for comparison to your results. It allows easy display of the xml file in an excel waveform chart. But your approach sounds much better.
Good luck. Am looking forward to seeing the results.
bainsbunch.zip (403 KB)