[Discuss-gnuradio] USRP2 + BBN receiver

2010-11-27 Thread Bishal Thapa
Hi, Does this happen to anyone using BBN code (USRP2 version) with gnuradio-3.3.0, that only when I set the decimation factor to 4, I see the most of the beacon messages sent from the APs around the lab at 1Mbps captured, otherwise, I hardly see half of the beacons sent (I compare the capture wit

[Discuss-gnuradio] A basic USRP2 + BBN receiver + Samples_per_symbol question + An observation

2010-11-26 Thread Bishal Thapa
Hello list, I have been fiddling around with USRP2 version of BBN code for a week now. First, one observation I found is: if and only if I set decimation to 4 (i.e., 25Msps), I see almost all of the 1Mbps packets sent by my 802.11 sender. This includes data packets (1400 bytes payload), and IEEE8

Re: [Discuss-gnuradio] Switching of UHD/Raw-Ethernet Driver

2010-11-18 Thread Bishal Thapa
On Thu, Nov 18, 2010 at 3:43 PM, Josh Blum wrote: > >Thank you for your answers. For this second answer, I didn't understand >> your reply. The link you sent does not say anything about how to set the >> TX/RX to J1/J2. It just says it could be set to either one. My question >> is, >> is ther

Re: [Discuss-gnuradio] Switching of UHD/Raw-Ethernet Driver

2010-11-18 Thread Bishal Thapa
> > 2. I am using XCVR2450 with USRP2. I initially just wanted to find out >> which >> antenna (J1 or J2 -- connected to RF2 and RF1 in my USRP2 respectively), >> was >> defined to be RX and which one to be TX? I found out from a file >> "db_xcvr2450.cc" that J1 was defined to be RX and J1-TX, howe

[Discuss-gnuradio] Switching of UHD/Raw-Ethernet Driver

2010-11-17 Thread Bishal Thapa
I have two small questions... 1. I successfully installed UHD (gr-uhd) following the guide " http://www.ettus.com/uhd_docs/manual/html/usrp2.html"; But now, I want to be able to switch back and forth between the UHD and Raw-Ethernet Driver. Do I need to uninstall the UHD, or just using (burni

Re: [Discuss-gnuradio] USRP2 printing of character "S" bothersome!!

2010-11-11 Thread Bishal Thapa
ts of APs broadcasting few too many beacons? Thank you once again. On Thu, Nov 11, 2010 at 5:47 PM, Eric Blossom wrote: > On Thu, Nov 11, 2010 at 04:57:56PM -0500, Bishal Thapa wrote: > > Hello, > > I am using USRP2 version of BBN code to look at AP beacons as seen by > t

[Discuss-gnuradio] USRP2 printing of character "S" bothersome!!

2010-11-11 Thread Bishal Thapa
Hello, I am using USRP2 version of BBN code to look at AP beacons as seen by the USRP2 host. There is lots of "S" printing going on, which keeps me from reading AP beacon information from STDOUT (unless I save the output to a file, which I prefer not to). Is there anyway to enforce the printing o

Re: [Discuss-gnuradio] Clarification of lock() and unlock() in Dynamic Flow-Graph Reconfiguration

2010-08-29 Thread Bishal Thapa
Quick Question.. Is there a reason you do not want to use time.sleep(). Just curious? On Sun, Aug 29, 2010 at 8:27 PM, Venkat Vinod wrote: > Hello All, > > I am having some difficulties implementing a cognitive receiver program > that involves dynamically reconfiguring the USRP between sensing

[Discuss-gnuradio] Re: Dynamic multiply_const_cc()

2010-07-25 Thread Bishal Thapa
B.connect(gr.vector_source_c([],True), B.multiply_const_cc(), usrp_sink_c). Sorry On Sun, Jul 25, 2010 at 5:22 PM, Bishal Thapa wrote: > Hi, > I have one last question for today :). I have a GNURadio Python > application that runs two gr.top_block() flow graphs simultaneous

[Discuss-gnuradio] Dynamic multiply_const_cc()

2010-07-25 Thread Bishal Thapa
Hi, I have one last question for today :). I have a GNURadio Python application that runs two gr.top_block() flow graphs simultaneously on two different daughterboards (RFX2400). My dream is that B is running forever (using B.run()) sending a continuous series of complex numbers with the followin

Re: [Discuss-gnuradio] Standard firmware for 1 rx and 1 tx

2010-07-25 Thread Bishal Thapa
Great. Thank you. Just wanted to double check. On Sun, Jul 25, 2010 at 2:48 PM, Thomas Tsou wrote: > On Sun, Jul 25, 2010 at 12:45 AM, Bishal Thapa > wrote: > > Hi GNURadioers, > > I have a quick question. I am trying to use USRP running gnuradio-3.3.0 > > with two d

[Discuss-gnuradio] Re: Standard firmware for 1 rx and 1 tx

2010-07-25 Thread Bishal Thapa
estion? Sincerely, On Sun, Jul 25, 2010 at 3:45 AM, Bishal Thapa wrote: > Hi GNURadioers, > I have a quick question. I am trying to use USRP running gnuradio-3.3.0 > with two daughterboards... RFX2400. I am going to use one daughterboard to > receive and another to transmit. Do

[Discuss-gnuradio] Standard firmware for 1 rx and 1 tx

2010-07-25 Thread Bishal Thapa
Hi GNURadioers, I have a quick question. I am trying to use USRP running gnuradio-3.3.0 with two daughterboards... RFX2400. I am going to use one daughterboard to receive and another to transmit. Do I use the standard firmware that is loaded by default, std_2rxhb_2tx.rbf or is there a std_1rx_1t

Re: [Discuss-gnuradio] Interesting observation regarding varying time duration it takes to execute fg.start() [a flowgraph start ala thread spawning??]

2010-03-08 Thread Bishal Thapa
som wrote: > >> On Sun, Mar 07, 2010 at 04:07:58PM -0500, Bishal Thapa wrote: >> >>> Thank you for your reply Eric. >>> I did print delta and delta.microseconds and guess what I did get this: >>> >>> Receiver (0) = BABA0002 >>> Re

Re: [Discuss-gnuradio] Interesting observation regarding varying time duration it takes to execute fg.start() [a flowgraph start ala thread spawning??]

2010-03-07 Thread Bishal Thapa
not get 309us? I am sorry if I don't get something fundamental here. Thanks again for helping me out :) On Sun, Mar 7, 2010 at 3:15 PM, Eric Blossom wrote: > On Sun, Mar 07, 2010 at 02:05:12PM -0500, Bishal Thapa wrote: > > Hi, > > I have an interesting observation to shar

[Discuss-gnuradio] Interesting observation regarding varying time duration it takes to execute fg.start() [a flowgraph start ala thread spawning??]

2010-03-07 Thread Bishal Thapa
Hi, I have an interesting observation to share, and I want to see if anybody can help me shed some light. When I measure time in python in the following way: t1 = datetime.now() self.start() t2=datetime.now() diff = t2.microsecond - t1.microsecond print "Difference %d", diff I get very differen

[Discuss-gnuradio] Quick question regarding plotting samples captured by usrp_rx_cfile.py against time!!

2010-03-04 Thread Bishal Thapa
Hi, I have a quick question regarding the complex binary samples captured by using usrp_rx_cfile.py. I would like to draw them against time. So, (Magnitude on Y-axis and Time on X-axis) in matlab. I was able to do the following 1. ./usrp_rx_cfile.py -f 2.5G capture.dat 2. d = read_complex_binary(

[Discuss-gnuradio] USRP/GNURadio Turn around Time

2010-02-22 Thread Bishal Thapa
Sorry, if I emailed this twice. I was confused if I had to subscribe to the list first, before I could post questions. It was not clear from the website http://www.gnu.org/software/gnuradio/mailinglists.html --My inquiry---

[Discuss-gnuradio] Unexpected Bit errors when using benchmark_tx.py and benchmark_rx.py

2009-10-26 Thread Bishal Thapa
Dear GNURadioers, I am doing some experiment to calculate BER (Bit error rate) with GNuradio version 3.2.2 on Ubuntu 9.04. I run sender and receiver using two programs as follows: 1. Receiver: ./benchmark_rx.py -f 2.5G -d 128 -m dbpsk 2. Sender: ./benchmark_tx.py -f 25G -i 256 -m dbpsk -

[Discuss-gnuradio] Two samples per symbol..how can we use both samples to create a symbol during demod!!

2009-09-28 Thread Bishal Thapa
Dear Thomas and Tim, Thank you for replying all my questions previously. I have another question for the list. Hope you don't mind. I wrote a demod for dbpsk. I had to because I am spreading/despreading packets using dbpsk modulation. DBPSK demod turned out pretty easy, except I committed a serio

Re: [Discuss-gnuradio] One question regarding "-B FUSB_BLOCK_SIZE" and "-N FUSB_NBLOCKS"

2009-09-28 Thread Bishal Thapa
ing a full packet in that case, and it will look > like packet loss. > > Tim > > > Bishal Thapa wrote: > >> Dear Eric, Jonathan, List >> I am stuck in a simple problem, and I am wondering if I understand what >> "-B FUSB_BLOCK_SIZE" and "-N FUSB_

[Discuss-gnuradio] One question regarding "-B FUSB_BLOCK_SIZE" and "-N FUSB_NBLOCKS"

2009-09-27 Thread Bishal Thapa
Dear Eric, Jonathan, List I am stuck in a simple problem, and I am wondering if I understand what "-B FUSB_BLOCK_SIZE" and "-N FUSB_NBLOCKS" options do, then it MIGHT help a little bit. I am using benchmark_tx.py to send a payload of size 102 bytes, but with added header, CRC, padded "0x55"s

[Discuss-gnuradio] ./usrp_rx_cfile capture and ./benchmark_rx capture differs in bit-rate set even with same parameters

2009-09-15 Thread Bishal Thapa
Dear list, I have a question. I just want to make sure I am not hallucinating infront of my comp here. I run this script as follows: 1. ./usrp_rx_cfile.py -f 2.4G -d 128 foo.dat @ the receiver => I get, the bitrate set to 500k But, when I run this script as follows: 2. //benchmark_rx.py -f 2.4G

[Discuss-gnuradio] "Continuous Stream Reading" off of the usrp_rx_cfile.py capture possible?

2009-05-27 Thread Bishal Thapa
Dear list, I have one question regarding the samples captured using usrp_rx_cfile.py at the receiver. Is there anyway that I let the usrp_rx_cfile.py run forever, and it will keep on capturing samples through USRP forever, while I keep on taking out 10K samples (lets say) at a time from that "con

Re: [Discuss-gnuradio] Simultaneous RX/TV with RFX2400

2009-04-13 Thread Bishal Thapa
Dear Michael and Jakub, I was working on the similar problem. What about using two TX daughter boards in the same motherboard, and BOTH TRANSMITTING signals simultaneously, one from each daughter board, but in an "overlapped" fashion. Is it easily possible? What I mean is, I would like to have two

[Discuss-gnuradio] Is it possible to change the 1500 bytes packet fragmentation threshold!!

2009-03-16 Thread Bishal Thapa
Hi, I am worried this might be a very stupid question, but is it possible for a personalized application of gnuradio that I am developing, I change the 1500 (approximately) bytes limit on the payload before the packets get fragmented. If it is possible, could you please give me few pointers. I am

[Discuss-gnuradio] Please help me understand wave.jpg [attached] representing the plot of the usrp_rx_cfile.py output

2009-03-06 Thread Bishal Thapa
Dear all, Please help me understand this output from usrp_rx_cfile.py. I have attached the plot as the jpeg at the end: 1. I send a file with 1500 bytes of spaces (Space = 0x20 = 0010 in binary) 2. I use usrp_rx_cfile.py to capture the samples, and focus in on roughly 24600 samples (because

[Discuss-gnuradio] How to read rx_unpack.dat in MatLab

2009-02-17 Thread Bishal Thapa
Hi, I am a newbie to Matlab and less experienced (not a newbie anymore :)) in GNUradio. I have a quick question. How can I load rx_unpack.dat in the Matlab. The simple "load" function didn't work. Most probably it is because, it has to be read in "one byte at a time" format? Thank you. __

[Discuss-gnuradio] Calculating Phase angle between received downconverted complex baseband samples!!

2009-02-11 Thread Bishal Thapa
Hi All, I am using ./benchmark_tx.py -f 2.4G to send some bytes from my own input file, and using ./usrp_rx_cfile -f 2.4G to receive the downconverted complex baseband samples. The modulation I am using on the sender side is dbpsk. Then, I use read_complex_binary.m to read the samples into the ma

[Discuss-gnuradio] Two Questions regarding the very beginning steps of implementing DSSS!!

2009-02-08 Thread Bishal Thapa
Dear Gnuradio, I had two questions..I did spend some time searching for my answers in the mailing list and couldn't find "if already discussed" solutions. Please forgive if so. Q.1. TX side: I simply want to take a packet and XOR each bit of the packet with a PN-code (hint: final goal will be to