[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r10966 - in gnuradio/branches/features/experimental-gu
From: |
jblum |
Subject: |
[Commit-gnuradio] r10966 - in gnuradio/branches/features/experimental-gui: . forms |
Date: |
Tue, 5 May 2009 16:37:03 -0600 (MDT) |
Author: jblum
Date: 2009-05-05 16:37:03 -0600 (Tue, 05 May 2009)
New Revision: 10966
Removed:
gnuradio/branches/features/experimental-gui/generic_usrp.py
gnuradio/branches/features/experimental-gui/usrp_options.py
Modified:
gnuradio/branches/features/experimental-gui/
gnuradio/branches/features/experimental-gui/forms/
gnuradio/branches/features/experimental-gui/forms/forms.py
gnuradio/branches/features/experimental-gui/usrp_siggen.py
Log:
generic usrp and usrp options svn:externaled into experimental gui
Property changes on: gnuradio/branches/features/experimental-gui
___________________________________________________________________
Added: svn:externals
+ digital
http://gnuradio.org/svn/gnuradio/branches/developers/jblum/digital/
Property changes on: gnuradio/branches/features/experimental-gui/forms
___________________________________________________________________
Added: svn:ignore
+ *.pyc
Modified: gnuradio/branches/features/experimental-gui/forms/forms.py
===================================================================
--- gnuradio/branches/features/experimental-gui/forms/forms.py 2009-05-05
22:15:05 UTC (rev 10965)
+++ gnuradio/branches/features/experimental-gui/forms/forms.py 2009-05-05
22:37:03 UTC (rev 10966)
@@ -151,7 +151,7 @@
self._static_text.SetFont(font)
self._add_widget(self._static_text, label)
- def _update(self, label): self._static_text.SetLabel(label)
+ def _update(self, label): self._static_text.SetLabel(label);
self._parent.Layout()
########################################################################
# Text Box Form
Modified: gnuradio/branches/features/experimental-gui/usrp_siggen.py
===================================================================
--- gnuradio/branches/features/experimental-gui/usrp_siggen.py 2009-05-05
22:15:05 UTC (rev 10965)
+++ gnuradio/branches/features/experimental-gui/usrp_siggen.py 2009-05-05
22:37:03 UTC (rev 10966)
@@ -47,9 +47,13 @@
from optparse import OptionParser
import sys
import math
-#from this local folder
-import usrp_options
+#temporary development import #REMOVE later
+import os
+os.system('touch "%s"'%os.path.join(os.path.dirname(__file__), 'digital',
'__init__.py'))
+from digital import usrp_options
+#end temp import
+
n2s = eng_notation.num_to_str
waveforms = { gr.GR_SIN_WAVE : "Complex Sinusoid",
@@ -312,7 +316,7 @@
parser.add_option("--sweep", dest="type", action="store_const",
const="sweep",
help="Generate a swept sine wave")
parser.add_option("-a", "--amplitude", type="eng_float", default=0.15,
- help="Set output amplitude to AMPL [default=%default]",
metavar="AMPL")
+ help="Set output amplitude to AMPL (0.0-1.0)
[default=%default]", metavar="AMPL")
parser.add_option("-v", "--verbose", action="store_true", default=False,
help="Use verbose console output [default=%default]")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r10966 - in gnuradio/branches/features/experimental-gui: . forms,
jblum <=