From 5036230ff3bc2fdc87cc974fb043a315f899e2ba Mon Sep 17 00:00:00 2001 From: Simon Renblad Date: Mon, 22 Jan 2024 14:40:51 +0800 Subject: [PATCH] waveform: change log channel update --- artiq/dashboard/waveform.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/artiq/dashboard/waveform.py b/artiq/dashboard/waveform.py index 48012b3bc..e4c9e89ee 100644 --- a/artiq/dashboard/waveform.py +++ b/artiq/dashboard/waveform.py @@ -178,8 +178,7 @@ class WaveformDock(QtWidgets.QDockWidget): decoded_dump = comm_analyzer.decode_dump(dump) waveform_data = comm_analyzer.decoded_dump_to_waveform_data(self._ddb, decoded_dump) self._waveform_data.update(waveform_data) - for log in self._waveform_data['logs']: - self._channel_model[log] = (0, WaveformType.LOG) + self._channel_model.update(self._waveform_data['logs']) async def load_trace(self): try: