Skip to content
Snippets Groups Projects
Commit 22aec4b9 authored by Sander de Snoo's avatar Sander de Snoo
Browse files

Fixed Qblox acquisitions for cases without threshold.

parent f466a46a
No related branches found
No related tags found
No related merge requests found
......@@ -268,7 +268,7 @@ class PulsarUploader:
nco_freq = dig_channel.frequency
if nco_freq is not None:
job.program[ch_name].nco_frequency = nco_freq
if job.acq_data_scaling[ch_name]: # TODO @@@ refactor data structure acquisiton
if job.acq_data_scaling[ch_name] and job.acquisition_thresholds[ch_name] is not None: # TODO @@@ refactor data structure acquisiton
in_ranges = self.q1instrument.get_input_ranges(ch_name)
ch_number = dig_channel.channel_numbers[0]
mv2threshold = 1/(in_ranges[ch_number]/2*job.acq_data_scaling[ch_name]*1000)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment