diff options
author | jblum | 2009-01-20 22:44:51 +0000 |
---|---|---|
committer | jblum | 2009-01-20 22:44:51 +0000 |
commit | a6b928438657b86426c6ca04adec2030a865dab2 (patch) | |
tree | 20d74e84efd93df7811c638b3d2234cfac5dfe14 /grc/scripts/usrp_probe | |
parent | 89d75b7d46fbc06a1190e672ee5742e1f413062a (diff) | |
download | gnuradio-a6b928438657b86426c6ca04adec2030a865dab2.tar.gz gnuradio-a6b928438657b86426c6ca04adec2030a865dab2.tar.bz2 gnuradio-a6b928438657b86426c6ca04adec2030a865dab2.zip |
probe for the usrp2
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10271 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'grc/scripts/usrp_probe')
-rwxr-xr-x | grc/scripts/usrp_probe | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/grc/scripts/usrp_probe b/grc/scripts/usrp_probe index c92603482..bff6e1479 100755 --- a/grc/scripts/usrp_probe +++ b/grc/scripts/usrp_probe @@ -1,6 +1,6 @@ #!/usr/bin/env python """ -Copyright 2008 Free Software Foundation, Inc. +Copyright 2009 Free Software Foundation, Inc. This file is part of GNU Radio GNU Radio Companion is free software; you can redistribute it and/or @@ -68,12 +68,12 @@ class USRPProbeWindow(gtk.Window): frame.add(vbox) vbox.pack_start(usrp_number_param.get_input_object(), False) vbox.pack_start(usrp_dboard_param.get_input_object(), False) - self.diagnose_button = gtk.Button('Probe') - self.diagnose_button.connect('clicked', self._probe_usrp) - vbox.pack_start(self.diagnose_button, False) + self.probe_button = gtk.Button('Probe') + self.probe_button.connect('clicked', self._probe_usrp) + vbox.pack_start(self.probe_button, False) #Create a text box for USRP queries self.query_buffer = TextDisplay() - self.query_buffer.set_text('Press "Probe" to retrieve USRP information...') + self.query_buffer.set_text(block.get_doc()) vbox.pack_start(self.query_buffer) self.show_all() @@ -114,8 +114,5 @@ if __name__ == '__main__': try: gtk.window_set_default_icon(gtk.IconTheme().load_icon('gnuradio-grc', 256, 0)) except: pass #enter the mainloop - gtk.gdk.threads_init() - gtk.gdk.threads_enter() USRPProbeWindow() gtk.main() - gtk.gdk.threads_leave() |