From a3e31484320f7f2726e9bb48b831133e65806235 Mon Sep 17 00:00:00 2001
From: sldesnoo-Delft <s.l.desnoo@tudelft.nl>
Date: Thu, 4 May 2023 15:38:06 +0200
Subject: [PATCH] Fixed Keysight digitizer configuration for time-traces

---
 pulse_lib/keysight/M3202A_uploader.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pulse_lib/keysight/M3202A_uploader.py b/pulse_lib/keysight/M3202A_uploader.py
index b11f5de2..c7fcc5c8 100644
--- a/pulse_lib/keysight/M3202A_uploader.py
+++ b/pulse_lib/keysight/M3202A_uploader.py
@@ -195,6 +195,7 @@ class M3202A_Uploader:
         for dig_name,channel_nums in enabled_channels.items():
             dig = self.digitizers[dig_name]
             dig.set_operating_mode(2) # HVI
+            dig.set_data_handling_mode(0) # Full mode, no averaging
             dig.set_active_channels(channel_nums)
             if hasattr(dig, 'set_timeout'):
                 dig.set_timeout(timeout)
-- 
GitLab