forked from M-Labs/artiq
1
0
Fork 0

Merge pull request #1551 from quartiq/tester_tweaks

modified urukul instructions in sinara tester script
This commit is contained in:
Robert Jördens 2020-11-26 16:22:44 +01:00 committed by GitHub
commit 6ceb3f3095
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -259,6 +259,8 @@ class SinaraTester(EnvExperiment):
eeprom.write_i32(offset, eeprom_word) eeprom.write_i32(offset, eeprom_word)
print("...done") print("...done")
print("All urukul channels active.")
print("Check each channel amplitude (~1.6Vpp/8dbm at 50ohm) and frequency.")
print("Frequencies:") print("Frequencies:")
for card_n, channels in enumerate(chunker(self.urukuls, 4)): for card_n, channels in enumerate(chunker(self.urukuls, 4)):
for channel_n, (channel_name, channel_dev) in enumerate(channels): for channel_n, (channel_name, channel_dev) in enumerate(channels):
@ -270,7 +272,8 @@ class SinaraTester(EnvExperiment):
sw = [channel_dev for channel_name, channel_dev in self.urukuls if hasattr(channel_dev, "sw")] sw = [channel_dev for channel_name, channel_dev in self.urukuls if hasattr(channel_dev, "sw")]
if sw: if sw:
print("Testing RF switch control. Press ENTER when done.") print("Testing RF switch control. Check LEDs at urukul RF ports.")
print("Press ENTER when done.")
for swi in sw: for swi in sw:
self.cfg_sw_off_urukul(swi) self.cfg_sw_off_urukul(swi)
self.rf_switch_wave([swi.sw for swi in sw]) self.rf_switch_wave([swi.sw for swi in sw])