2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-19 00:16:29 +08:00

sawg: update example

This commit is contained in:
Robert Jördens 2017-06-10 11:52:48 +02:00
parent d8aee931ba
commit 6c54c0f834

View File

@ -19,17 +19,9 @@ class SAWGTestTwoTone(EnvExperiment):
self.sawg0.config.set_clr(1, 1, 1) self.sawg0.config.set_clr(1, 1, 1)
delay(10*us) delay(10*us)
self.sawg0.config.set_duc_i_max(0x7fff) self.sawg0.config.set_out_max(1.)
delay(10*us) delay(10*us)
self.sawg0.config.set_duc_i_min(-0x8000) self.sawg0.config.set_out_min(-1.)
delay(10*us)
self.sawg0.config.set_duc_q_max(0x7fff)
delay(10*us)
self.sawg0.config.set_duc_q_min(-0x8000)
delay(10*us)
self.sawg0.config.set_out_max(0x7fff)
delay(10*us)
self.sawg0.config.set_out_min(-0x8000)
delay(10*us) delay(10*us)
while True: while True: