[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r11522 - gnuradio/branches/developers/eb/vrt2/gr-utils
From: |
matt |
Subject: |
[Commit-gnuradio] r11522 - gnuradio/branches/developers/eb/vrt2/gr-utils/src/python |
Date: |
Thu, 30 Jul 2009 18:59:44 -0600 (MDT) |
Author: matt
Date: 2009-07-30 18:59:44 -0600 (Thu, 30 Jul 2009)
New Revision: 11522
Modified:
gnuradio/branches/developers/eb/vrt2/gr-utils/src/python/qr_fft.py
Log:
settable ip address
Modified: gnuradio/branches/developers/eb/vrt2/gr-utils/src/python/qr_fft.py
===================================================================
--- gnuradio/branches/developers/eb/vrt2/gr-utils/src/python/qr_fft.py
2009-07-31 00:27:50 UTC (rev 11521)
+++ gnuradio/branches/developers/eb/vrt2/gr-utils/src/python/qr_fft.py
2009-07-31 00:59:44 UTC (rev 11522)
@@ -20,7 +20,7 @@
# Boston, MA 02110-1301, USA.
#
-from grc_gnuradio.wxgui import forms
+from gnuradio.wxgui import forms
from gnuradio import gr, gru
from gnuradio import vrt
from gnuradio import eng_notation
@@ -65,6 +65,8 @@
help="Set number of FFT bins [default=%default]")
parser.add_option("--samples-per-pkt", type="int", default=0,
help="Set number of SAMPLES-PER-PKT
[default=%default]")
+ parser.add_option("", "--ip-addr", type="string",
default="192.168.123.123",
+ help="IP address default=[%default]")
(options, args) = parser.parse_args()
if len(args) != 0:
parser.print_help()
@@ -72,7 +74,7 @@
self.options = options
self.show_debug_info = True
- self.u = vrt.quadradio_source_32fc("192.168.123.123",
+ self.u = vrt.quadradio_source_32fc(options.ip_addr,
int(62.5e6),
options.samples_per_pkt)
#self.u.set_decim(options.decim)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r11522 - gnuradio/branches/developers/eb/vrt2/gr-utils/src/python,
matt <=