gpib_plotter.py

changeset 27
0f8f2621418f
parent 12
a04bea92c509
--- a/gpib_plotter.py	Sun Jan 20 17:09:31 2008 +0100
+++ b/gpib_plotter.py	Fri Jan 25 20:25:39 2008 +0100
@@ -18,6 +18,9 @@
                  address=5):
         super(GPIBplotter, self).__init__(device, baudrate, timeout, address, mode=0)
 
+    def plotStarted(self):
+        pass
+
     def load_plot(self, wait_timeout=0):
         """
         Make a full plot process.
@@ -43,6 +46,7 @@
             if firstloop:
                 self._cnx.timeout = self._timeout
                 firstloop = False
+                self.plotStarted()
             if l == "":
                 if i == 0:# > (self._retries/2):
                     # ie. we just received new stuffs (i is reset in the else block)

mercurial