commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r5947 - gnuradio/trunk/gnuradio-examples/python/digita


From: jcorgan
Subject: [Commit-gnuradio] r5947 - gnuradio/trunk/gnuradio-examples/python/digital
Date: Thu, 12 Jul 2007 12:25:10 -0600 (MDT)

Author: jcorgan
Date: 2007-07-12 12:25:09 -0600 (Thu, 12 Jul 2007)
New Revision: 5947

Modified:
   gnuradio/trunk/gnuradio-examples/python/digital/transmit_path.py
Log:
Fix gain setting in digital example transmit path.  Only affects BasicTX and 
LFTX operation.

Modified: gnuradio/trunk/gnuradio-examples/python/digital/transmit_path.py
===================================================================
--- gnuradio/trunk/gnuradio-examples/python/digital/transmit_path.py    
2007-07-12 15:28:08 UTC (rev 5946)
+++ gnuradio/trunk/gnuradio-examples/python/digital/transmit_path.py    
2007-07-12 18:25:09 UTC (rev 5947)
@@ -87,7 +87,7 @@
 
         # Set the USRP for maximum transmit gain
         # (Note that on the RFX cards this is a nop.)
-        self.set_gain(self.subdev.gain_range()[0])
+        self.set_gain(self.subdev.gain_range()[1])
 
         self.amp = gr.multiply_const_cc(1)
         self.set_tx_amplitude(self._tx_amplitude)





reply via email to

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