forked from M-Labs/artiq
artiq_sinara_tester: fix mirny/almazny freq type
This commit is contained in:
parent
86142db56b
commit
8c825505fd
@ -408,7 +408,7 @@ class SinaraTester(EnvExperiment):
|
||||
print("Testing attenuators. Frequencies:")
|
||||
for card_n, channels in enumerate(chunker(self.mirnies, 4)):
|
||||
for channel_n, (channel_name, channel_dev) in enumerate(channels):
|
||||
frequency = 2000 + card_n * 250 + channel_n * 50
|
||||
frequency = 2000. + card_n * 250 + channel_n * 50
|
||||
print("{}\t{}MHz".format(channel_name, frequency*2))
|
||||
self.setup_mirny(channel_dev, frequency)
|
||||
print("{} info: {}".format(channel_name, channel_dev.info()))
|
||||
@ -450,7 +450,7 @@ class SinaraTester(EnvExperiment):
|
||||
print("Frequencies:")
|
||||
for card_n, channels in enumerate(chunker(self.mirnies, 4)):
|
||||
for channel_n, (channel_name, channel_dev) in enumerate(channels):
|
||||
frequency = 1000*(card_n + 1) + channel_n * 100
|
||||
frequency = 1000.*(card_n + 1) + channel_n * 100
|
||||
print("{}\t{}MHz".format(channel_name, frequency))
|
||||
self.setup_mirny(channel_dev, frequency)
|
||||
print("{} info: {}".format(channel_name, channel_dev.info()))
|
||||
|
Loading…
Reference in New Issue
Block a user