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

comm_analyzer: remove interval, timestamp

This commit is contained in:
Simon Renblad 2024-02-19 10:44:50 +08:00 committed by Sébastien Bourdeauducq
parent 652bcc22c6
commit 1b0fd2e2d3

View File

@ -688,12 +688,10 @@ def create_channel_handlers(manager, devices, ref_period,
def get_channel_list(devices):
manager = ChannelSignatureManager()
create_channel_handlers(manager, devices, 1e-9, 3e9, False)
manager.get_channel("timestamp", 64, ty=WaveformType.VECTOR)
ref_period = get_ref_period(devices)
if ref_period is None:
ref_period = DEFAULT_REF_PERIOD
ndecimals = max(0, math.ceil(math.log10(1 / ref_period)))
manager.get_channel("interval", 64, ty=WaveformType.ANALOG, ndecimals=ndecimals)
manager.get_channel("rtio_slack", 64, ty=WaveformType.ANALOG, ndecimals=ndecimals)
return manager.channels