[issue] Instantianting an instrument block the main GUI
pyMatJ opened this issue · comments
pyMatJ commented
When instantiating an instrument, the main GUI is not responsive.
This can be annoying for some instruments that are long to instantiate (e.g. a laser that needs arming etc.).
Would it be possible to run the instantiation in a dedicated thread (maybe showing on the main GUI that something is happening using a color code/flashing/whatever) and update the GUI (with the QTreeWidgetItems) only after the init has finished ?
Jonathan Peltier commented
Hi! I did it in commit eb654f5 if you are still looking for a solution.