Re: [Discuss-gnuradio] error related to -ImportError: and swig_import_helper()

2011-08-04 Thread patiljagdish154
thanks i am getting about linking comedilib. i think the above error is sort out.now i am getting File "/home/jagdish/top_block.py", line 36, in tb = top_block() File "/home/jagdish/top_block.py", line 28, in __init__ self.comedi_source_s_0 = comedi.source_s( ) AttributeError: 'module'

Re: [Discuss-gnuradio] anyone help me understand usrp fpga code fragment which count rssi

2011-08-04 Thread Marcus D. Leech
On 08/04/2011 10:55 PM, Josh Blum wrote: > > It was never used. That rssi.v file is just there so people can ask > about it every few weeks. Its probably one of the least interesting > things in the library of verilog components. > > Because, hey, otherwise you might get lonely, right? :-) -

Re: [Discuss-gnuradio] anyone help me understand usrp fpga code fragment which count rssi

2011-08-04 Thread Josh Blum
On 08/04/2011 07:12 PM, Marcus D. Leech wrote: > On 08/04/2011 09:52 PM, Page Jack wrote: >> Hi Colby, >> I know cheaper in hardware, but now I don't understand how using IIR >> filter can compute the RSSI? >> > Seems to me that the RSSI-in-FPGA stuff was not really fully baked, > unless I'm mis

Re: [Discuss-gnuradio] anyone help me understand usrp fpga code fragment which count rssi

2011-08-04 Thread Marcus D. Leech
On 08/04/2011 09:52 PM, Page Jack wrote: > Hi Colby, > I know cheaper in hardware, but now I don't understand how using IIR > filter can compute the RSSI? > Seems to me that the RSSI-in-FPGA stuff was not really fully baked, unless I'm mistaken, the RSSI function isn't used by any higher-level f

Re: [Discuss-gnuradio] anyone help me understand usrp fpga code fragment which count rssi

2011-08-04 Thread Marcus D. Leech
On 08/04/2011 09:52 PM, Page Jack wrote: > Hi Colby, > I know cheaper in hardware, but now I don't understand how using IIR > filter can compute the RSSI? > > The power estimate in a complex channel is computed as: AVG(I**2 + Q**2) An IIR filter is a simple way of approximating the AVG part of t

Re: [Discuss-gnuradio] anyone help me understand usrp fpga code fragment which count rssi

2011-08-04 Thread Page Jack
Hi Colby, I know cheaper in hardware, but now I don't understand how using IIR filter can compute the RSSI? On Fri, Aug 5, 2011 at 9:18 AM, Colby Boyer wrote: > Cheaper in hardware. You only need one adder. > > > On Thu, Aug 4, 2011 at 6:13 PM, Page Jack wrote: > >> Hi Colby, >> I don't underst

Re: [Discuss-gnuradio] anyone help me understand usrp fpga code fragment which count rssi

2011-08-04 Thread Colby Boyer
Cheaper in hardware. You only need one adder. On Thu, Aug 4, 2011 at 6:13 PM, Page Jack wrote: > Hi Colby, > I don't understand why compute RSSI need an IIR filter? as I know the rssi > can be compute > like that: (sample[0]*sample[0]+...sample[i]*sample[i]) / (i+1) > > > Regards! > > > On Thu,

Re: [Discuss-gnuradio] anyone help me understand usrp fpga code fragment which count rssi

2011-08-04 Thread Page Jack
Hi Colby, I don't understand why compute RSSI need an IIR filter? as I know the rssi can be compute like that: (sample[0]*sample[0]+...sample[i]*sample[i]) / (i+1) Regards! On Thu, Aug 4, 2011 at 2:44 PM, Colby Boyer wrote: > On Wed, Aug 3, 2011 at 6:30 PM, Page Jack wrote: > >> the code belo

Re: [Discuss-gnuradio] Full Duplex communication on E100, with separate antenna

2011-08-04 Thread Meyer S. Jacobs
Using gnuradio-companion for code generation, with the UHD drivers for the E100, it still locks up. I can provide my .grc files and generated python code when I get back to my desk. -Meyer S. Jacobs ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu

Re: [Discuss-gnuradio] Full Duplex communication on E100, with separate antenna

2011-08-04 Thread Nick Foster
On Thu, 2011-08-04 at 13:22 -0700, Meyer S. Jacobs wrote: > I've seen this issue on a few other posts, and it comes up a lot in > searches, but I can't find a clear solution or answer. > > I have two antennas for the E100 that both overlap the 915MHz range, > and would like to send a constant 915M

[Discuss-gnuradio] Full Duplex communication on E100, with separate antenna

2011-08-04 Thread Meyer S. Jacobs
I've seen this issue on a few other posts, and it comes up a lot in searches, but I can't find a clear solution or answer. I have two antennas for the E100 that both overlap the 915MHz range, and would like to send a constant 915MHz wave with one, while receiving a modulated 915MHz wave on the oth

Re: [Discuss-gnuradio] How to check at which GPS time correspond the pps edge of set_time_next_pps()

2011-08-04 Thread Nick Foster
On Thu, 2011-08-04 at 21:11 +0200, Bastien Auneau wrote: > Hi > > > USRP N210, UHD 3.2.1, GPSDO Jackson Labs installed > windows7 > > > Using set_time_next_pps() > How can I be sure at which GPS time (in seconds from 01/01/1970) the > pps egde correspond to > > > So far, here is how I do : >

[Discuss-gnuradio] How to check at which GPS time correspond the pps edge of set_time_next_pps()

2011-08-04 Thread Bastien Auneau
Hi USRP N210, UHD 3.2.1, GPSDO Jackson Labs installed windows7 Using set_time_next_pps() How can I be sure at which GPS time (in seconds from 01/01/1970) the pps egde correspond to So far, here is how I do : _ get GPS time (get_mboard_sensors("gps_time")), let it be gps_t_0 _ set_time_next_pps(0

Re: [Discuss-gnuradio] Gain distribution with Flex 400

2011-08-04 Thread Nick Foster
On Thu, 2011-08-04 at 12:54 +0300, Sivan Toledo wrote: > How is gain distributed when the UHD USRP block is told to set the > total gain to a particular value? > > I am using GRC with UHD controlling a USRP with a Flex400 daughter > board. I set the gain in the GRC block to 20dB, which results in

Re: [Discuss-gnuradio] Error Make gnuradio

2011-08-04 Thread Marcus D. Leech
On 04/08/2011 1:39 PM, Sindy Acosta wrote: Hello, I using ubuntu 11.04 and I want to install the gnuradio, but when I do "make" for gnuradio 3.3.0 or 3.3.2 i unfortunately get this: gnuradio make[5]: * [libgnuradio-qtgui.la ] Error 1 ..and i've done this and

Re: [Discuss-gnuradio] 'gr_top_block_sptr' object has no attribute '_setup_usrp'

2011-08-04 Thread Marcus D. Leech
On 04/08/2011 1:28 PM, saketh kumar wrote: Hi I am trying to make digital-bert scripts work with USRP N200, RFX2400. I have changed my code a little bit. But it shows me an error saying "object has no attribute". aravind@COE-2X85V91:~/gnuradio/gnuradio-examples/python/digital-bert$ ./ben

[Discuss-gnuradio] Error Make gnuradio

2011-08-04 Thread Sindy Acosta
Hello, I using ubuntu 11.04 and I want to install the gnuradio, but when I do "make" for gnuradio 3.3.0 or 3.3.2 i unfortunately get this: gnuradio make[5]: * [libgnuradio-qtgui.la] Error 1 ..and i've done this and i get the same error: -sudo apt-get build-dep gnuradio -install all the depend

[Discuss-gnuradio] 'gr_top_block_sptr' object has no attribute '_setup_usrp'

2011-08-04 Thread saketh kumar
Hi I am trying to make digital-bert scripts work with USRP N200, RFX2400. I have changed my code a little bit. But it shows me an error saying "object has no attribute". aravind@COE-2X85V91:~/gnuradio/gnuradio-examples/python/digital-bert$ ./benchmark_tx1.py -f 2500M linux; GNU C++ version 4.4

Re: [Discuss-gnuradio] GPS query get_mboard_sensors("gps_locked") fails sometimes

2011-08-04 Thread Bastien Auneau
Hi Nick How do I get notice that code has been changed ? should I directly check repository commit history ? Are the changes you talk about in host code ? or firmware ? Please do not hesitate to request me to test some code/firmware. Or if there's anything else I can help with ? Regards Bastien

Re: [Discuss-gnuradio] error related to -ImportError: and swig_import_helper()

2011-08-04 Thread Josh Blum
On 08/03/2011 11:07 PM, patiljagdish154 wrote: > > hi all , > i have write comedi block while running program i am getting error > Traceback (most recent call last): > File "/home/jagdish/top_block.py", line 13, in > import comedi > File "/usr/local/lib/python2.6/dist-packages/comedi/__

[Discuss-gnuradio] access clock_recovery values from packet_sink

2011-08-04 Thread bjoernm
Hi, I'm currently using the UCLA ZigBee PHY implementation by Thomas Schmid and have got the following question: In the file "clock_recovery_mm_ff.cc" is a parameter "omega", which I would like to change from within "ucla_ieee802_15_4_packet_sink.cc". Now there is the public function: voi

[Discuss-gnuradio] Gain distribution with Flex 400

2011-08-04 Thread Sivan Toledo
How is gain distributed when the UHD USRP block is told to set the total gain to a particular value? I am using GRC with UHD controlling a USRP with a Flex400 daughter board. I set the gain in the GRC block to 20dB, which results in the line "self.uhd_usrp_source_0.set_gain(20, 0)" in the Python o