[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] block for continuous production of samples
From: |
Daniele Bertussi |
Subject: |
Re: [Discuss-gnuradio] block for continuous production of samples |
Date: |
Tue, 02 Mar 2010 11:49:46 +0100 |
User-agent: |
Internet Messaging Program (IMP) H3 (4.1.5) |
Citando Martin Braun <address@hidden>:
On Thu, Feb 25, 2010 at 04:16:20PM +0100, Daniele Bertussi wrote:
Good morning,
I need to implement a double 802.15.4-802.11b transmitter that transmits
packets in asynchronous (or aperiodical) mode.
I realized a simple program where the output of the two trasmitters are added
together to generate the output stream.
Unfortunately, when one of the two transmitters ends to generate a packet,
also the other one stops. It happens ( i think! ) because there are no samples
for the adder to combine with and the forecast() method stops the execution.
By the way, I found online a similar discussion:
http://www.mail-archive.com/address@hidden/msg08387.html
In order to have a countinuos output stream even when the two transmitters are
inactive, could I implement a gnuradio c++ block with the following
characteristics?
-performs a continuous production of null samples (when there are no input to
the block)
-lets the samples unchanged if there are samples at his input.
...here you *really* go...
MB
--
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)
Dipl.-Ing. Martin Braun
Research Associate
Kaiserstraße 12
Building 05.01
76131 Karlsruhe
Phone: +49 721 608-3790
Fax: +49 721 608-6071
www.cel.kit.edu
KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association
Goodmorning,
thanks a lot for your help! It's exactly what i want.
But during installation "make check" give this:
Making check in config
make[1]: Entering directory `/home/sdr3/gritloop/config'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/sdr3/gritloop/config'
Making check in src
make[1]: Entering directory `/home/sdr3/gritloop/src'
Making check in lib
make[2]: Entering directory `/home/sdr3/gritloop/src/lib'
make check-am
make[3]: Entering directory `/home/sdr3/gritloop/src/lib'
make[3]: Nothing to be done for `check-am'.
make[3]: Leaving directory `/home/sdr3/gritloop/src/lib'
make[2]: Leaving directory `/home/sdr3/gritloop/src/lib'
Making check in python
make[2]: Entering directory `/home/sdr3/gritloop/src/python'
make check-TESTS
make[3]: Entering directory `/home/sdr3/gritloop/src/python'
Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in
<type 'exceptions.AttributeError'> ignored
Traceback (most recent call last):
File "./qa_burst2stream.py", line 23, in <module>
import gritloop
File "/home/sdr3/gritloop/src/lib/gritloop.py", line 6, in <module>
import _gritloop
ImportError: /home/sdr3/gritloop/src/lib/.libs/_gritloop.so: undefined symbol:
_ZTIN5boost21thread_resource_errorE
Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in
<type 'exceptions.AttributeError'> ignored
Traceback (most recent call last):
File "./qa_channels.py", line 25, in <module>
import gritloop, gritloopchans
File "/home/sdr3/gritloop/src/lib/gritloop.py", line 6, in <module>
import _gritloop
ImportError: /home/sdr3/gritloop/src/lib/.libs/_gritloop.so: undefined symbol:
_ZTIN5boost21thread_resource_errorE
./run_tests: line 39: ./qa_flow_sync.py: Permission denied
FAIL: run_tests
===================
1 of 1 tests failed
===================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/home/sdr3/gritloop/src/python'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/home/sdr3/gritloop/src/python'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/sdr3/gritloop/src'
make: *** [check-recursive] Error 1
And after "sudo make install" I have tried a script with the following row
"from gnuradio import gritloop"
but return an error and doesn't find your libraries ( libraries are installed
in the right Python path).
What can i do?
Thanks a lot,
Bertussi Daniele- University of Brescia
Informativa sulla privacy: http://help.ing.unibs.it/privacy.php