Re: [Discuss-gnuradio] Muliple top_block()

2011-06-20 Thread Mike Clark
try tb1.start() and tb2.start(). That should run them in separate threads. Mike On Mon, Jun 20, 2011 at 6:34 AM, smith mark wrote: > Hi all, > I wanted to know that whether one can have multiple gr.top_block() or not? > for example > tb1=gr.top_block() > tb2=gr.top_block() > tb1.run() > tb2.run(

Re: [Discuss-gnuradio] Designing a good receiver

2011-06-02 Thread Mike Clark
an antenna on both ports and report back. If you have any other advice though, I'd love to hear it. Mike On Thu, Jun 2, 2011 at 8:10 AM, Marcus D. Leech wrote: > On 06/02/2011 07:10 AM, Mike Clark wrote: >> This comes from a discussion over on the USRP-users mailing list, but &g

[Discuss-gnuradio] Designing a good receiver

2011-06-02 Thread Mike Clark
This comes from a discussion over on the USRP-users mailing list, but I felt it would be more appropriate to post here. Over on that list, someone was asking about problems they were having consistently receiving data on their USRP. My background is in CS, not RF comms, so please forgive me as I'm

Re: [Discuss-gnuradio] USRP2 on switch?

2011-05-08 Thread Mike Clark
I have an N210 (UHD) hooked to a switch. It works just fine. I think the reason it is recommended to hook it directly to the computer doing the processing is that a switch will have a limit as to how much data can go through it at any time. So you probably shouldn't have 10 USRPs hooked to the same

Re: [Discuss-gnuradio] Question for installation of UHD driver

2011-04-29 Thread Mike Clark
That is where ever you checked the repository out to. So if I am in my home directory (/home/me/) and I ran the git command to checkout the repository, would be /home/me/uhd/. The same is true if you downloaded the archive (zip or tar.gz) Mike On Fri, Apr 29, 2011 at 8:05 PM, Nakajo Tomoyuki wr

Re: [Discuss-gnuradio] GNU Radio conditional operation

2011-04-27 Thread Mike Clark
I recently started using the USRP at work, so I thought I'd share a few things. Obviously python is important (http://diveintopython.org/ is a good resource). To learn the basics of how gnuradio works, it helped me to use gnuradio-companion. So what I would do is put together some blocks in grc and

Re: [Discuss-gnuradio] "ImportError: No module named myblock" when generating py file in GRC

2011-04-20 Thread Mike Clark
> Do your mean PYTHONPATH or just system search path? > I have set my block path as the PYTHONPATH in ~/.profile, but it still > cannot work. Is there a way to check whether the path is set appropriately? You are in linux I presume? "echo $PYTHONPATH" (without quotes) should tell you what your py

Re: [Discuss-gnuradio] UHD disable receive

2011-04-19 Thread Mike Clark
> Are you sure you're really using TX/RX for receive?  As the link Josh > supplied says "The user may set the receive antenna to be TX/RX or RX2. > However, when using an RFX board in full-duplex mode, the receive antenna > will always be set to RX2, regardless of the settings." As far as I know,

Re: [Discuss-gnuradio] UHD disable receive

2011-04-19 Thread Mike Clark
> I might suggest: > 1) shut off the demodulation in software when transmitting. > 2) transmit and receive on different frequencies. > 3) reject the received packet at the mac layer > Thanks for the info. I wasn't sure how to shut off demodulation in software. I ended up finding the "valve" block

[Discuss-gnuradio] UHD disable receive

2011-04-18 Thread Mike Clark
I just got my shiny new N210's last week. I've setup UHD and GnuRadio from GIT. I've done some simple tests and have been able to transmit data from one N210 to the other. Today I started working on bidirectional communication. For my simple setup I've got 2 N210's each with an RFX2400 (using TX/RX