forked from M-Labs/artiq
1
0
Fork 0

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
"""
core: KernelInvariant[Core]
mirny_cpld: KernelInvariant[Mirny]
att_mu: Kernel[list[int32]]
channel_sw: Kernel[list[int32]]

View File

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