Ejemplo n.º 1
0
 def _end_measurement(self):
     t = threading.Thread(
         target=qviewkit.save_plots,
         args=[self._hdf.get_filepath(), self._plot_comment])
     t.start()
     self._hdf.close_file()
     waf.close_log_file(self._log)
Ejemplo n.º 2
0
    def close_files(self):

        # save plots and close files
        # t = threading.Thread(target=qviewkit.save_plots, args=[self._data_file.get_filepath()])
        # t.start()

        self._data_file.flush()
        self._data_file.close_file()
        waf.close_log_file(self._log_file)
Ejemplo n.º 3
0
 def _end_measurement(self):
     '''
     the data file is closed and filepath is printed
     '''
     print self._data_file.get_filepath()
     qviewkit.save_plots(self._data_file.get_filepath(),comment=self._plot_comment)
     self._data_file.close_file()
     waf.close_log_file(self._log)
     self.dirname = None
Ejemplo n.º 4
0
 def _end_measurement(self):
     '''
     the data file is closed and filepath is printed
     '''
     print self._data_file.get_filepath()
     #qviewkit.save_plots(self._data_file.get_filepath(),comment=self._plot_comment) #old version where we have to wait for the plots
     t = threading.Thread(target=qviewkit.save_plots,args=[self._data_file.get_filepath(),self._plot_comment])
     t.start()
     self._data_file.close_file()
     waf.close_log_file(self._log)
     self.dirname = None
Ejemplo n.º 5
0
 def _end_measurement(self):
     try:
         self.readout.cleanup()
     except AttributeError:
         pass
     t = threading.Thread(
         target=qviewkit.save_plots,
         args=[self._hdf.get_filepath(), self._plot_comment])
     t.start()
     self._hdf.close_file()
     waf.close_log_file(self._log)
     qkit.flow.end()
Ejemplo n.º 6
0
 def _end_measurement(self):
     t = threading.Thread(target=qviewkit.save_plots,args=[self._hdf.get_filepath(),self._plot_comment])
     t.start()
     self._hdf.close_file()
     waf.close_log_file(self._log)