From 2b70fa14a6eb13fb0b2d5cfbb57aebdc941aa6ff Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 26 Dec 2015 17:47:08 +0800 Subject: [PATCH] coredevice/analyzer: update rtio_slack on output messages only --- artiq/coredevice/analyzer.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/artiq/coredevice/analyzer.py b/artiq/coredevice/analyzer.py index 125e30d79..0cdbe85f6 100644 --- a/artiq/coredevice/analyzer.py +++ b/artiq/coredevice/analyzer.py @@ -312,7 +312,6 @@ def decoded_dump_to_vcd(fileobj, devices, dump): vcd_manager.set_time( get_message_time(message) - start_time) channel_handlers[message.channel].process_message(message) - if (hasattr(message, "rtio_counter") - and hasattr(message, "timestamp")): + if isinstance(message, OutputMessage): slack.set_value_double( (message.timestamp - message.rtio_counter)*ref_period)