Skip to content

Commit

Permalink
Merge pull request #547 from jenshnielsen/zi_clear_history
Browse files Browse the repository at this point in the history
ZI: clear history when reusing scope
  • Loading branch information
WilliamHPNielsen authored Mar 30, 2017
2 parents a957e51 + 45c389f commit b44ceae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qcodes/instrument_drivers/ZI/ZIUHFLI.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit b44ceae

Please sign in to comment.