Skip to content

Commit

Permalink
modify qrm_rf driver so that it acquires only if there is an acquisit…
Browse files Browse the repository at this point in the history
…ion pulse
  • Loading branch information
aorgazf committed Feb 13, 2024
1 parent 758e9a1 commit 97c8b63
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/qibolab/instruments/qblox/cluster_qrm_rf.py
Original file line number Diff line number Diff line change
Expand Up @@ -613,14 +613,18 @@ def process_pulse_sequence(
}

# Acquisitions
pulse = None
for acquisition_index, pulse in enumerate(sequencer.pulses.ro_pulses):
sequencer.acquisitions[pulse.serial] = {
"num_bins": num_bins,
"index": acquisition_index,
}

# Add scope_acquisition to default sequencer
if sequencer.number == self.DEFAULT_SEQUENCERS[port]:
if (
sequencer.number == self.DEFAULT_SEQUENCERS[port]
and not pulse == None
):
sequencer.acquisitions["scope_acquisition"] = {
"num_bins": 1,
"index": acquisition_index + 1,
Expand Down

0 comments on commit 97c8b63

Please sign in to comment.