Author: jcorgan
Date: 2007-03-01 13:23:14 -0700 (Thu, 01 Mar 2007)
New Revision: 4678
Modified:
gnuradio/branches/developers/jcorgan/est/gnuradio-examples/python/hier/sounder/usrp_sink.py
Log:
Fix tuning method.
Modified:
gnuradio/branches/developers/jcorgan/est/gnuradio-examples/python/hier/sounder/usrp_sink.py
===================================================================
---
gnuradio/branches/developers/jcorgan/est/gnuradio-examples/python/hier/sounder/usrp_sink.py
2007-03-01 18:28:35 UTC (rev 4677)
+++
gnuradio/branches/developers/jcorgan/est/gnuradio-examples/python/hier/sounder/usrp_sink.py
2007-03-01 20:23:14 UTC (rev 4678)
@@ -104,7 +104,7 @@
the result of that operation and our target_frequency to
determine the value for the digital down converter.
"""
- self._tune_result = usrp.tune(self._u, 0, self._subdev, freq+self._cal)
+ self._tune_result = self._u.tune(self._subdev._which, self._subdev,
freq+self._cal)
if self._tune_result:
if self._verbose:
print "Baseband frequency is",
n2s(self._tune_result.baseband_freq), "Hz"
_______________________________________________
Commit-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnuradio