artiq_sinara_tester: fix almazny attenuation type

This commit is contained in:
mwojcik 2022-04-27 11:57:20 +08:00
parent 8c825505fd
commit 4c21d4a19c
2 changed files with 1 additions and 2 deletions

View File

@ -193,7 +193,6 @@ class Almazny:
:param host_mirny - Mirny device Almazny is connected to :param host_mirny - Mirny device Almazny is connected to
""" """
core: KernelInvariant[Core]
mirny_cpld: KernelInvariant[Mirny] mirny_cpld: KernelInvariant[Mirny]
att_mu: Kernel[list[int32]] att_mu: Kernel[list[int32]]
channel_sw: Kernel[list[int32]] channel_sw: Kernel[list[int32]]

View File

@ -423,7 +423,7 @@ class SinaraTester(EnvExperiment):
input() input()
print("RF ON, all attenuators OFF. Press ENTER when done.") print("RF ON, all attenuators OFF. Press ENTER when done.")
for i in range(4): for i in range(4):
self.almazny_set_attenuators(almazny, i, 0) self.almazny_set_attenuators(almazny, i, 0.)
input() input()
print("SR outputs are OFF. Press ENTER when done.") print("SR outputs are OFF. Press ENTER when done.")
self.almazny_toggle_output(almazny, False) self.almazny_toggle_output(almazny, False)