From 8ea6e7c6676b41c0d7c3fd4e659c511768c22cdf 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 3bdf439ba..89c2036c9 100644 --- a/artiq/dashboard/waveform.py +++ b/artiq/dashboard/waveform.py @@ -93,8 +93,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: