forked from M-Labs/artiq
Merge pull request #1551 from quartiq/tester_tweaks
modified urukul instructions in sinara tester script
This commit is contained in:
commit
6ceb3f3095
@ -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])
|
||||||
|
Loading…
Reference in New Issue
Block a user