Skip to content

Commit

Permalink
Fix: zi ensure single trigger mode is always set
Browse files Browse the repository at this point in the history
This get reset when enabling the read
  • Loading branch information
jenshnielsen committed Mar 24, 2017
1 parent 7b3f11b commit ad05a69
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions qcodes/instrument_drivers/ZI/ZIUHFLI.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,13 @@ def get(self):
params['scope_runstop'].set('run')

log.info('[*] Starting ZI scope acquisition.')
# one shot per trigger. This needs to be set every time
# a the scope is enabled as below using scope_runstop
# We should also test if scopeModule/mode and scopeModule/averager/weight
# needs to be set every time since we are creating a new scopemodule
# here
self._instrument.daq.setInt('/{}/scopes/0/single'.format(self._instrument.device), 1)
self._instrument.daq.sync()
# Start something... hauling data from the scopeModule?
scope.execute()

Expand Down

0 comments on commit ad05a69

Please sign in to comment.