I tried calling the EndCallback functions from main.c and altough I was succesful in stopping the measurement, the GUI Freezes (No HardFault or anyting like that). The GUI simply becomes irresponsive.Therefore, I was wondering if there is another way...