summaryrefslogtreecommitdiff
path: root/gnuradio-examples
diff options
context:
space:
mode:
authorTom Rondeau2010-11-21 21:23:31 -0500
committerTom Rondeau2010-11-21 21:23:31 -0500
commit7c5dc0920240f566ad4482f47ca8b9095479f04e (patch)
tree06bd323cc5a3b56590a2484646ed6b2a2578266e /gnuradio-examples
parent9217bbcafe547fd5815265758370b07c375d72c9 (diff)
downloadgnuradio-7c5dc0920240f566ad4482f47ca8b9095479f04e.tar.gz
gnuradio-7c5dc0920240f566ad4482f47ca8b9095479f04e.tar.bz2
gnuradio-7c5dc0920240f566ad4482f47ca8b9095479f04e.zip
Removed comments to stdout from file tagger; made it easir to go from internally generated bursts to detected bursts (which needs work).
Diffstat (limited to 'gnuradio-examples')
-rwxr-xr-xgnuradio-examples/python/tags/uhd_burst_detector.py22
1 files changed, 12 insertions, 10 deletions
diff --git a/gnuradio-examples/python/tags/uhd_burst_detector.py b/gnuradio-examples/python/tags/uhd_burst_detector.py
index 17e71cb29..993c6807d 100755
--- a/gnuradio-examples/python/tags/uhd_burst_detector.py
+++ b/gnuradio-examples/python/tags/uhd_burst_detector.py
@@ -53,17 +53,19 @@ class uhd_burst_detector(gr.top_block):
self.connect((self.uhd_src, 0), (self.tagger, 0))
self.connect((self.tagger, 0), (self.fsnk, 0))
- # Connect a dummy signaler to the burst tagger
- self.connect((self.signal, 0), (self.tagger, 1))
+ if 0:
+ # Connect a dummy signaler to the burst tagger
+ self.connect((self.signal, 0), (self.tagger, 1))
- # Connect an energy detector signaler to the burst tagger
- #self.connect((self.uhd_src, 0), (self.c2m, 0))
- #self.connect((self.c2m, 0), (self.sub, 0))
- #self.connect((self.c2m, 0), (self.iir, 0))
- #self.connect((self.iir, 0), (self.sub, 1))
- #self.connect((self.sub, 0), (self.mult,0))
- #self.connect((self.mult, 0), (self.f2s, 0))
- #self.connect((self.f2s, 0), (self.tagger, 1))
+ else:
+ # Connect an energy detector signaler to the burst tagger
+ self.connect((self.uhd_src, 0), (self.c2m, 0))
+ self.connect((self.c2m, 0), (self.sub, 0))
+ self.connect((self.c2m, 0), (self.iir, 0))
+ self.connect((self.iir, 0), (self.sub, 1))
+ self.connect((self.sub, 0), (self.mult,0))
+ self.connect((self.mult, 0), (self.f2s, 0))
+ self.connect((self.f2s, 0), (self.tagger, 1))
def set_samp_rate(self, samp_rate):
self.samp_rate = samp_rate