commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r11342 - gnuradio/branches/developers/trondeau/qt/gnur


From: trondeau
Subject: [Commit-gnuradio] r11342 - gnuradio/branches/developers/trondeau/qt/gnuradio-examples/python/digital
Date: Sat, 4 Jul 2009 17:49:12 -0600 (MDT)

Author: trondeau
Date: 2009-07-04 17:49:12 -0600 (Sat, 04 Jul 2009)
New Revision: 11342

Modified:
   
gnuradio/branches/developers/trondeau/qt/gnuradio-examples/python/digital/benchmark_qt_loopback.py
   
gnuradio/branches/developers/trondeau/qt/gnuradio-examples/python/digital/benchmark_qt_rx.py
Log:
Fixing qt programs for new qtsink api.

Modified: 
gnuradio/branches/developers/trondeau/qt/gnuradio-examples/python/digital/benchmark_qt_loopback.py
===================================================================
--- 
gnuradio/branches/developers/trondeau/qt/gnuradio-examples/python/digital/benchmark_qt_loopback.py
  2009-07-04 23:46:20 UTC (rev 11341)
+++ 
gnuradio/branches/developers/trondeau/qt/gnuradio-examples/python/digital/benchmark_qt_loopback.py
  2009-07-04 23:49:12 UTC (rev 11342)
@@ -229,10 +229,10 @@
                 fftsize = 2048
 
                 self.snk_tx = qtgui.sink_c(fftsize, 
gr.firdes.WIN_BLACKMAN_hARRIS,
-                                           -1/2, 1/2,
+                                           0, 1,
                                            "Tx", True, True, False, True, True)
                 self.snk_rx = qtgui.sink_c(fftsize, 
gr.firdes.WIN_BLACKMAN_hARRIS,
-                                           -1/2, 1/2,
+                                           0, 1,
                                            "Rx", True, True, False, True, True)
 
                 self.snk_tx.set_frequency_axis(-80, 0)

Modified: 
gnuradio/branches/developers/trondeau/qt/gnuradio-examples/python/digital/benchmark_qt_rx.py
===================================================================
--- 
gnuradio/branches/developers/trondeau/qt/gnuradio-examples/python/digital/benchmark_qt_rx.py
        2009-07-04 23:46:20 UTC (rev 11341)
+++ 
gnuradio/branches/developers/trondeau/qt/gnuradio-examples/python/digital/benchmark_qt_rx.py
        2009-07-04 23:49:12 UTC (rev 11342)
@@ -216,10 +216,10 @@
 
             bw_in = self.u.adc_rate() / self.decim()
             self.snk_rxin = qtgui.sink_c(fftsize, 
gr.firdes.WIN_BLACKMAN_hARRIS,
-                                         -bw_in/2.0, bw_in/2.0,
+                                         self._rx_freq, bw_in,
                                          "Received", True, True, False, True, 
True, False)
             self.snk_rx = qtgui.sink_c(fftsize, gr.firdes.WIN_BLACKMAN_hARRIS,
-                                       -self._bitrate/2.0, self._bitrate/2.0,
+                                       0, self._bitrate,
                                        "Post-Synchronizer", True, True, False, 
True, True, False)
 
             self.snk_rxin.set_frequency_axis(-60, 60)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]