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 ?
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 ?