Hey jiqun,

Thanks for the reply. Alright heres how i structure my
codes. I define two payloads at the transmitter-
payload0 and payload1. Lets say payload0 is 10101010
and payload1 is 01010101. In transmit_path.py i
specify  2 different function, send_pkt0 and send_pkt1
as :

def send_pkt0(self, payload0='', eof=False):

        print "Antennna 0"
        self.subdev0 = (self.u.db[0][0])
        self.subdev0.set_enable(bool(1)
   
self.subdev0.set_gain(self.subdev0.gain_range()[1])   

        self.packet_transmitter.send_pkt(payload0, eof)
        return True

def send_pkt1(self, payload1='', eof=False):

        print "Antennna 1"
        self.subdev1 = (self.u.db[1][0])
        self.subdev1.set_enable(bool(1)
   
self.subdev1.set_gain(self.subdev0.gain_range()[1])   

        self.packet_transmitter.send_pkt(payload1, eof)
        return True

So i forced payload0 to be sent by antenna0 and
payload1 to be sent by antenna1. Then in
benchmark_tx.py i used the following codes to send the
data:

                send_pkt0(payload)
                send_pkt1(payload1)

Now i think the transmitter is still sending the
payloads in sequence and not simultaneously. The
question is how to code the transmitter such that
simultaneous transmission is possible? I currently
have no idea on how and any suggestions or ideas will
be greatly appreciated. Thanks in advance.

Regards,
ShinHan

--- jiqun qi <[EMAIL PROTECTED]> wrote:

> Hey shinhan,
> 
> Could you post your changed .py code so that the
> issues may be clear?
> 
> I guess, your transmitted signals are still
> transmitted separately in
> s1 and s2 sequence, not "simultaneously".
> 



      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs



_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to