mirror of https://github.com/m-labs/artiq.git
artiq_sinara_tester: change mirny frequencies
This commit is contained in:
parent
1fc127c770
commit
dbb77b5356
|
@ -431,7 +431,7 @@ class SinaraTester(EnvExperiment):
|
||||||
print("Frequencies:")
|
print("Frequencies:")
|
||||||
for card_n, channels in enumerate(chunker(self.mirnies, 4)):
|
for card_n, channels in enumerate(chunker(self.mirnies, 4)):
|
||||||
for channel_n, (channel_name, channel_dev) in enumerate(channels):
|
for channel_n, (channel_name, channel_dev) in enumerate(channels):
|
||||||
frequency = 1000*(card_n + 1) + channel_n * 100
|
frequency = 1000 + 100 * (card_n + 1) + channel_n * 10
|
||||||
print("{}\t{}MHz".format(channel_name, frequency))
|
print("{}\t{}MHz".format(channel_name, frequency))
|
||||||
self.setup_mirny(channel_dev, frequency)
|
self.setup_mirny(channel_dev, frequency)
|
||||||
print("{} info: {}".format(channel_name, channel_dev.info()))
|
print("{} info: {}".format(channel_name, channel_dev.info()))
|
||||||
|
|
Loading…
Reference in New Issue