I was running a GMSK demodulator to demodulate a file source signal, and
I have come up with the following error. I think there is a data type
problem associated. Does anybody have similar problem ? I check the
previous posts but there is no answer on that.
Here is the code :
fasika@fasikachess:~$python demod_file.py
On Mon, Feb 04, 2008 at 02:27:09AM -0800, Fasika A. wrote:
Hi ,
I was running a GMSK demodulator to demodulate a file source signal,
and I have come up with the following error. I think there is a data
type problem associated. Does anybody have similar problem ? I check
the previous posts but there is no answer on that.
Which GMSK demodulator?
gnuadio-core/src/python/gnuradio/blks2impl/gmsk.py?
Which version of GNU Radio?
Here is the code :
fasika@fasikachess:~$python demod_file.py
I am using GNU radio 3.1.1 but I have been using the block blks2. Now I
am using blks2impl and the error is gone. But I am now facing a new
problem.
“/usr/local/lib/python2.5/site-packages/gnuradio/gr/basic_flow_graph.py”,
line 84, in coerce_endpoint
raise ValueError, “Not coercible to endpoint: %s” % (x,)
ValueError: Not coercible to endpoint:
<gnuradio.blks2impl.gmsk.gmsk_demod object at 0xb649deac>
Here is the code:
from gnuradio import gr
from gnuradio.blks2impl import gmsk
from optparse import OptionParser
from gnuradio.eng_option import eng_option
import struct
if name == ‘main’:
try:
graph().run()
except KeyboardInterrupt:
pass
Fasika
Eric B. [email protected] wrote: On Mon, Feb 04, 2008 at 02:27:09AM
-0800, Fasika A. wrote:
Hi ,
I was running a GMSK demodulator to demodulate a file source signal,
and I have come up with the following error. I think there is a data
type problem associated. Does anybody have similar problem ? I check
the previous posts but there is no answer on that.
Which GMSK demodulator?
gnuadio-core/src/python/gnuradio/blks2impl/gmsk.py?
Which version of GNU Radio?
Here is the code :
fasika@fasikachess:~$python demod_file.py
On Tue, Feb 05, 2008 at 12:21:37AM -0800, Fasika A. wrote:
I am using GNU radio 3.1.1 but I have been using the block blks2. Now I am using blks2impl and the error is gone. But I am now facing a new problem.
“/usr/local/lib/python2.5/site-packages/gnuradio/gr/basic_flow_graph.py”, line 84, in coerce_endpoint
raise ValueError, “Not coercible to endpoint: %s” % (x,)
ValueError: Not coercible to endpoint: <gnuradio.blks2impl.gmsk.gmsk_demod object at 0xb649deac>
You can’t mix flow_graph and blk2. You should be subclassing
gr.top_block, not gr.flow_graph
def __init__(self):
if name == ‘main’:
try:
graph().run()
except KeyboardInterrupt:
pass
Eric B. [email protected] wrote: On Tue, Feb 05, 2008 at 12:21:37AM
-0800, Fasika A. wrote:
I am using GNU radio 3.1.1 but I have been using the block blks2. Now I am using blks2impl and the error is gone. But I am now facing a new problem.
“/usr/local/lib/python2.5/site-packages/gnuradio/gr/basic_flow_graph.py”, line 84, in coerce_endpoint
raise ValueError, “Not coercible to endpoint: %s” % (x,)
ValueError: Not coercible to endpoint:
You can’t mix flow_graph and blk2. You should be subclassing
gr.top_block, not gr.flow_graph
def __init__(self):
if name == ‘main’:
try:
graph().run()
except KeyboardInterrupt:
pass
Eric
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.