config properties and rates for gl sinks
[debian/gnuradio] / gr-wxgui / src / python / scope_window.py
index 2b220c9a71465087dc0d171d7882f24aedf7a547..57905ca4d54aadfa00b0285c1806fc51bce0353a 100644 (file)
@@ -29,11 +29,12 @@ import numpy
 import time
 import pubsub
 from constants import *
+from gnuradio import gr #for gr.prefs
 
 ##################################################
 # Constants
 ##################################################
-DEFAULT_FRAME_RATE = 30
+DEFAULT_FRAME_RATE = gr.prefs().get_long('wxgui', 'scope_rate', 30)
 DEFAULT_WIN_SIZE = (600, 300)
 DEFAULT_V_SCALE = 1000
 TRIGGER_MODES = (