@@ -110,7 +110,9 @@ def module_default(mod: Module):
110
110
mod .scope_acq_sequencer_select (0 )
111
111
mod .scope_acq_trigger_level_path0 (0 )
112
112
mod .scope_acq_trigger_level_path1 (0 )
113
- # ---
113
+ if mod .slot_idx == 20 :
114
+ mod .out0_offset_path0 (- 8.1 )
115
+ mod .out0_offset_path1 (- 3.8 )
114
116
115
117
116
118
def module (
@@ -191,6 +193,7 @@ def sequencer_default(seq: Sequencer):
191
193
seq .set ("mod_en_awg" , True )
192
194
seq .set ("nco_freq" , 0 )
193
195
seq .set ("nco_phase_offs" , 0 )
196
+ seq .set ("integration_length_acq" , 480 )
194
197
195
198
if default :
196
199
seq .set ("cont_mode_en_awg_path0" , False )
@@ -247,14 +250,15 @@ def sequencer(
247
250
# acquisition
248
251
if address .input :
249
252
assert isinstance (config , AcquisitionConfig )
250
- length = _integration_length (sequence )
251
- if length is not None :
252
- seq .integration_length_acq (length )
253
+ # length = _integration_length(sequence)
254
+ # if length is not None:
255
+ # seq.integration_length_acq(length)
253
256
# discrimination
254
257
if config .iq_angle is not None :
255
258
seq .thresholded_acq_rotation (np .degrees (config .iq_angle % (2 * np .pi )))
256
259
if config .threshold is not None :
257
- seq .thresholded_acq_threshold (config .threshold )
260
+ # seq.thresholded_acq_threshold(config.threshold * length)
261
+ seq .thresholded_acq_threshold (config .threshold * 480 )
258
262
# demodulation
259
263
seq .demod_en_acq (acquisition is not AcquisitionType .RAW )
260
264
0 commit comments