discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] run two USRP simultaneously


From: Fengyuan Gong
Subject: [Discuss-gnuradio] run two USRP simultaneously
Date: Tue, 19 Apr 2011 22:04:18 -0400

Hi, All,

I want to run benchmark_tx.py and benchmark_rx.py simultaneously. So I
write a shell script to do that.
#-----------------------run.sh-------------------------------
sudo ./benchmark_tx.py -f 24e8 -w 0 &
sudo ./benchmark_rx.py -f 24e8 -w 1 &

>From the output result, sometimes, the first output message from the
receiver is:
.ok =  True  pktno =    0
it means the first packet that receiver could get, is the first
transmitted packet.
But sometimes, the first output message from the receiver is:
.ok =  True  pktno =    2
it means the first packet that receiver could get, is only the second
transmitted packet.
Then I run "sudo ./run.sh" again,
.ok =  True  pktno =    1

It seems like the first received packet number is random. It may be 0,
or 1, or 2. After receiving the first packet, the following received
packet will all be correct.
So the receiver will miss the first or second transmitted packets if I
run benchmark_tx.py and benchmark_rx.py simultaneously.

Has anyone seen the same case before? Why will the receiver lose the
first one or two packets?

-- 
Best Regards~
Fengyuan Gong



reply via email to

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