2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

coredevice/analyzer: update rtio_slack on output messages only

This commit is contained in:
Sebastien Bourdeauducq 2015-12-26 17:47:08 +08:00
parent b931096ec3
commit 2b70fa14a6

View File

@ -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)