Skip to content

Commit

Permalink
Making the UHFLI work
Browse files Browse the repository at this point in the history
  • Loading branch information
fluthi committed Aug 17, 2018
1 parent f9253f3 commit fe934c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pycqed/instrument_drivers/meta_instrument/heterodyne.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def prepare_UHFQC(self):
IF=self.f_RO_mod(), weight_function_I=0, weight_function_Q=1)

if self._UHFQC_awg_parameters_changed and self.auto_seq_loading():
self._acquisition_instr.awg_sequence_acquisition()
# self._acquisition_instr.awg_sequence_acquisition() # Dirty hack to get the UHFLI to cooperate
self._UHFQC_awg_parameters_changed = False

# this sets the result to integration and rotation outcome
Expand Down Expand Up @@ -254,7 +254,7 @@ def probe_UHFQC(self):
self.prepare()

dataset = self._acquisition_instr.acquisition_poll(
samples=1, acquisition_time=0.001, timeout=10)
samples=1, acquisition_time=0.001) # timeout=10 throws an error!
dat = (self.scale_factor_UHFQC*dataset[0][0] +
self.scale_factor_UHFQC*1j*dataset[1][0])
return dat
Expand Down

0 comments on commit fe934c0

Please sign in to comment.