diff options
author | jblum | 2008-09-22 02:37:46 +0000 |
---|---|---|
committer | jblum | 2008-09-22 02:37:46 +0000 |
commit | 407bbe4bb7c8f73ac7d79de2f209f0a0e375cd65 (patch) | |
tree | 0d7bcb324a36bc87bac6abc5525bdfadf2a570d6 /gr-wxgui/src/python/number_window.py | |
parent | e35b75b4951a8a1c35dd6c8563db066391876f9d (diff) | |
download | gnuradio-407bbe4bb7c8f73ac7d79de2f209f0a0e375cd65.tar.gz gnuradio-407bbe4bb7c8f73ac7d79de2f209f0a0e375cd65.tar.bz2 gnuradio-407bbe4bb7c8f73ac7d79de2f209f0a0e375cd65.zip |
config properties and rates for gl sinks
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9637 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-wxgui/src/python/number_window.py')
-rw-r--r-- | gr-wxgui/src/python/number_window.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-wxgui/src/python/number_window.py b/gr-wxgui/src/python/number_window.py index 83f19f6eb..e3fc4653e 100644 --- a/gr-wxgui/src/python/number_window.py +++ b/gr-wxgui/src/python/number_window.py @@ -27,6 +27,7 @@ import numpy import wx import pubsub from constants import * +from gnuradio import gr #for gr.prefs ################################################## # Constants @@ -34,7 +35,7 @@ from constants import * NEG_INF = float('-inf') SLIDER_STEPS = 100 AVG_ALPHA_MIN_EXP, AVG_ALPHA_MAX_EXP = -3, 0 -DEFAULT_NUMBER_RATE = 5 +DEFAULT_NUMBER_RATE = gr.prefs().get_long('wxgui', 'number_rate', 5) DEFAULT_WIN_SIZE = (300, 300) DEFAULT_GAUGE_RANGE = 1000 |