View/Trap/powerSpectra.py
def exit_safe(self):
        """ Exits the application stopping the working Thread.
        """
        if self._session.highSpeedTime>5:
            # To avoid impatience to force the shutdown.
            print('Waiting for the acquisition to finish.')
            print('It may take up to %s more seconds.'%_session.highSpeedTime)
        self.workThread.terminate()
        self.close()
 Exits the application stopping the working Thread.
        
Exits the application stopping the working Thread.
Exits the application stopping the working Thread .
def exit_safe(self):
        if self._session.highSpeedTime>5:
            print('Waiting for the acquisition to finish.')
            print('It may take up to %s more seconds.'%_session.highSpeedTime)
        self.workThread.terminate()
        self.close()
def exit_safe ( self ) : if self . _session . highSpeedTime > 5 : print ( 'Waiting for the acquisition to finish.' ) print ( 'It may take up to %s more seconds.' % _session . highSpeedTime ) self . workThread . terminate ( ) self . close ( )
Exits the application stopping the working Thread.
Exits the application stopping the working Thread .
""" Exits the application stopping the working Thread.
        """ # To avoid impatience to force the shutdown.
self