knarfS / smuview

SmuView is a GUI for sigrok that supports power supplies, electronic loads and all sorts of measurement devices like multimeters, LCR meters and so on.
GNU General Public License v3.0
130 stars 25 forks source link

WIP: Add a script to output an mmdata.txt for FlexBV #46

Open mmuman opened 2 years ago

mmuman commented 2 years ago

This generates the mmdata.txt file as required by FlexBV to gather measurements for the OpenBoardData project.

Currently the device and channel names are hardcoded in the script, ideally these would be configurables.

mmuman commented 2 years ago

I had a hard time getting it to terminate properly, first the stop button didn't really stop, just would complain about blocked SIGINT due to a race condition… Now it does stop, although each time the script is re-run, the number of times each line is printed on the console is increased by one. At least it doesn't assert anymore due to already running interpreter.