[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Having issues getting APT-DECODER Sample working
From: |
Tommy James Tracy II |
Subject: |
[Discuss-gnuradio] Having issues getting APT-DECODER Sample working |
Date: |
Sat, 06 Oct 2012 16:51:54 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 |
Dear Gnuradio,
I'm trying to run the following gnuradio program:
http://www.oz9aec.net/index.php/gnu-radio/gnu-radio-blog/440-simple-apt-decoder-prototype
I found a WAV file online to use as the input to the APT-Decoder, so I
fed it in. Unfortunately, the output file resulted in a bunch of '^@'
characters instead of the expected ASCII(0) through ASCII(255).
To make sure that the Audio file source was actually producing an
output, I hooked up an AUDIO_SINK block between the File Source and the
Band Pass Filter. I heard the expected APT sound.
I then proceeded to drop in a WX GUI FFT Sink, and kept getting the
following error:
Has anyone seen this?
-----
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/plotter/plotter_base.py",
line 187, in _on_paint
for fcn in self._draw_fcns: fcn[1]()
File
"/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/plotter/plotter_base.py",
line 59, in draw
self._draw()
File
"/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/plotter/grid_plotter_base.py",
line 407, in _draw_point_label
label_str = self._populate_point_label(x_val, y_val)
File
"/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/plotter/channel_plotter.py",
line 151, in _populate_point_label
label_str += '\n%s: %s'%(channel, common.eng_format(y_value,
self.y_units))
File
"/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/plotter/common.py",
line 82, in eng_format
coeff, exp, prefix = get_si_components(num)
File
"/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/plotter/common.py",
line 48, in get_si_components
exp = get_exp(num)
File
"/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/plotter/common.py",
line 37, in get_exp
return int(math.floor(math.log10(abs(num))))
ValueError: cannot convert float NaN to integer
-----
I think this means that the WAV file (float output) is producing NAN
outputs. Is there any way that I can remove those? Anyone have any
success doing this before?
Thanks in advance!
--
Tommy J. Tracy II
Computer Engineering
University of Virginia
signature.asc
Description: OpenPGP digital signature
- [Discuss-gnuradio] Having issues getting APT-DECODER Sample working,
Tommy James Tracy II <=
- Re: [Discuss-gnuradio] Having issues getting APT-DECODER Sample working, Patrik Tast, 2012/10/06
- Re: [Discuss-gnuradio] Having issues getting APT-DECODER Sample working, Tommy James Tracy II, 2012/10/06
- Re: [Discuss-gnuradio] Having issues getting APT-DECODER Sample working, Patrik Tast, 2012/10/07
- Re: [Discuss-gnuradio] Having issues getting APT-DECODER Sample working, Tommy James Tracy II, 2012/10/07
- Re: [Discuss-gnuradio] Having issues getting APT-DECODER Sample working, Patrik Tast, 2012/10/07
- Re: [Discuss-gnuradio] Having issues getting APT-DECODER Sample working, Tommy James Tracy II, 2012/10/07
- Re: [Discuss-gnuradio] Having issues getting APT-DECODER Sample working, Patrik Tast, 2012/10/07
- Re: [Discuss-gnuradio] Having issues getting APT-DECODER Sample working, Tommy James Tracy II, 2012/10/07
- Re: [Discuss-gnuradio] Having issues getting APT-DECODER Sample working, Marcus D. Leech, 2012/10/07
- Re: [Discuss-gnuradio] Having issues getting APT-DECODER Sample working, Tommy James Tracy II, 2012/10/07