From 4d99da379b4b0ca01473a62d91929f609d2133b3 Mon Sep 17 00:00:00 2001 From: jana-d Date: Wed, 29 Mar 2017 15:12:43 +0200 Subject: [PATCH] fix: clear history when reusing scope --- qcodes/instrument_drivers/ZI/ZIUHFLI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcodes/instrument_drivers/ZI/ZIUHFLI.py b/qcodes/instrument_drivers/ZI/ZIUHFLI.py index e2e612947a3..ad27db21e43 100644 --- a/qcodes/instrument_drivers/ZI/ZIUHFLI.py +++ b/qcodes/instrument_drivers/ZI/ZIUHFLI.py @@ -391,7 +391,7 @@ def get(self): self._instrument.daq.sync() scope = self._instrument.scope # There are issues reusing the scope. - + scope.set('scopeModule/clearhistory', 1) # Subscribe to the relevant... publisher? scope.subscribe('/{}/scopes/0/wave'.format(self._instrument.device))