mirror of https://github.com/m-labs/artiq.git
coredevice/analyzer: update rtio_slack on output messages only
This commit is contained in:
parent
b931096ec3
commit
2b70fa14a6
|
@ -312,7 +312,6 @@ def decoded_dump_to_vcd(fileobj, devices, dump):
|
||||||
vcd_manager.set_time(
|
vcd_manager.set_time(
|
||||||
get_message_time(message) - start_time)
|
get_message_time(message) - start_time)
|
||||||
channel_handlers[message.channel].process_message(message)
|
channel_handlers[message.channel].process_message(message)
|
||||||
if (hasattr(message, "rtio_counter")
|
if isinstance(message, OutputMessage):
|
||||||
and hasattr(message, "timestamp")):
|
|
||||||
slack.set_value_double(
|
slack.set_value_double(
|
||||||
(message.timestamp - message.rtio_counter)*ref_period)
|
(message.timestamp - message.rtio_counter)*ref_period)
|
||||||
|
|
Loading…
Reference in New Issue