hephy-dd / diode-measurement

IV/CV measurements for silicon sensors.
GNU General Public License v3.0
0 stars 2 forks source link

Crashes on file permission errors #10

Closed arnobaer closed 3 years ago

arnobaer commented 3 years ago

File permission error exceptions are not handled and result in application crashes.

The cause seems to be connecting the file writer methods using Qt signals while executing the measurement in another thread. A workaround might be to add a simple callback mechanism to the measurement object (avoiding using Qt signals and executing file writer operations in the measurement thread).