discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] gr_add_cc use


From: Ben Olsen
Subject: [Discuss-gnuradio] gr_add_cc use
Date: Sat, 6 Jan 2007 15:33:25 -0600

Hello,

I am having a problem in trying to add multiple complex filter outputs using the gr_add_cc code, I think the solution might be pretty simple but I'm not very experienced with GNURadio! (I'm working on it...)

Here is a code snippet: 
~~~~~~~~~~
self.packet_transmitter1 = blks.gmsk2_mod_pkts(fg, spb=self._spb, bt=bt, msgq_limit=2)
self.packet_transmitter2 = blks.gmsk2_mod_pkts(fg, spb=self._spb, bt=bt, msgq_limit=2)

self.chan_filt1 = gr.freq_xlating_fir_filter_ccc(sw_interp,
                                                         chan_coeffs,
                                                         freq1,
                                                         sw_interp * self._spb)

self.chan_filt2 = gr.freq_xlating_fir_filter_ccc(sw_interp,
                                                         chan_coeffs,
                                                         freq2,
                                                         sw_interp * self._spb)
self.adder = gr.add_cc()

self.amp = gr.multiply_const_cc (self.gain)

fg.connect(self.packet_transmitter1, self.chan_filt1, self.adder)
fg.connect(self.packet_transmitter2, self.chan_filt2, self.adder) (*)
fg.connect(self.adder, self.amp, self.u)
~~~~~~~
When I try to run this code I get a "destination endpoint already in use" error at (*), so what is the correct way to add multiple streams? 

Thank you so very much for your help!

Ben
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]