summaryrefslogtreecommitdiff
path: root/gr-wxgui/src/python/waterfall_window.py
diff options
context:
space:
mode:
authorjblum2008-09-22 02:37:46 +0000
committerjblum2008-09-22 02:37:46 +0000
commit407bbe4bb7c8f73ac7d79de2f209f0a0e375cd65 (patch)
tree0d7bcb324a36bc87bac6abc5525bdfadf2a570d6 /gr-wxgui/src/python/waterfall_window.py
parente35b75b4951a8a1c35dd6c8563db066391876f9d (diff)
downloadgnuradio-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/waterfall_window.py')
-rw-r--r--gr-wxgui/src/python/waterfall_window.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-wxgui/src/python/waterfall_window.py b/gr-wxgui/src/python/waterfall_window.py
index 51bd01881..702f97099 100644
--- a/gr-wxgui/src/python/waterfall_window.py
+++ b/gr-wxgui/src/python/waterfall_window.py
@@ -29,13 +29,14 @@ import numpy
import math
import pubsub
from constants import *
+from gnuradio import gr #for gr.prefs
##################################################
# Constants
##################################################
SLIDER_STEPS = 100
AVG_ALPHA_MIN_EXP, AVG_ALPHA_MAX_EXP = -3, 0
-DEFAULT_FRAME_RATE = 30
+DEFAULT_FRAME_RATE = gr.prefs().get_long('wxgui', 'waterfall_rate', 30)
DEFAULT_WIN_SIZE = (600, 300)
DIV_LEVELS = (1, 2, 5, 10, 20)
MIN_DYNAMIC_RANGE, MAX_DYNAMIC_RANGE = 10, 200