Good point. I believe it will also be a more logical structure when it comes to GUI development.
Thanks a lot Will. Both scripts works well.
I was wondering if there is an easy way I can plot the measurement data of the Rodeostat live while running e.g. a CV measurement? It should be noted that I am not in any way experienced when it comes to Python programming and I am also only a beginner when it comes to Arduino programming.
I have managed to create a data collection system with live data plotting for our old manual potentiostat/galavanostat using Arduino and C# but I chose to order the Rodeostat instead of trying to develop a similar microcontroller based system myself.