From 6c54c0f8346e8a520bca9efaaaeb64b39fd4ab1a Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Sat, 10 Jun 2017 11:52:48 +0200 Subject: [PATCH] sawg: update example --- artiq/examples/phaser/repository/demo_2tone.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/artiq/examples/phaser/repository/demo_2tone.py b/artiq/examples/phaser/repository/demo_2tone.py index b276efc9c..7089996b4 100644 --- a/artiq/examples/phaser/repository/demo_2tone.py +++ b/artiq/examples/phaser/repository/demo_2tone.py @@ -19,17 +19,9 @@ class SAWGTestTwoTone(EnvExperiment): self.sawg0.config.set_clr(1, 1, 1) delay(10*us) - self.sawg0.config.set_duc_i_max(0x7fff) + self.sawg0.config.set_out_max(1.) delay(10*us) - self.sawg0.config.set_duc_i_min(-0x8000) - 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) + self.sawg0.config.set_out_min(-1.) delay(10*us) while True: