Hi,
I wanted to ask you that if i want to send two independent data streams to
two daughter boards mounted on one usrp, wats the command for it.
If i want to explicitly send data1 to sub(0,0) and data 2 to subdev(0,1)
SIMULTANEOUSLY..then how do you do it?
I have read few examples but im not able to solve the issue. Here is the ref 
code posted  by Mr.Sungro 
Yoon________________________________________________________________________________________________________________
self._pkt_input1 = gr.message_source(gr.sizeof_char, msgq_limit)
self._pkt_input2 = gr.message_source(gr.sizeof_char, msgq_limit)

intl = gr.interleave(gr.sizeof_char)

self.connect(self._pkt_input1, (intl, 0))
self.connect(self._pkt_input2, (intl, 1))

self.connect(intl, self)



self._u = usrp.sink_c (which=self._which,
nchan=2,
fusb_block_size=self._fusb_block_size,
fusb_nblocks=self._fusb_nblocks)

self._subdev = (self._u.db(0, 0), self._u.db(1, 0))
self._u.set_mux(0xba98)

self._subdev[0].set_gain(self._subdev[0].gain_range()[1]) #
set max Tx gain
self._subdev[1].set_gain(self._subdev[1].gain_range()[1]) #
set max Tx gain

self.set_freq(0, freq0)
self.set_freq(1, freq1)

self._subdev[0].set_enable(True) # enable
transmitter
self._subdev[1].set_enable(True) # enable
transmitter

self._dxc = self._which

self.connect(self, self._u) 
_______________________________________________________________________________________

here you are simultaneously transmitting , but its one stream that both the
subdev are simultaneously transmitting.

In my case i have two independent streams.

Thanks in advance.

Regards,

Nadia

                                          
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/196390707/direct/01/
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to