Re: [Discuss-gnuradio] Raw Samples from Receiver

2011-12-01 Thread Suleja, Lukasz
Noted... but in my defence the questions were asked to aid my
understanding of what is happening in the (stock) UHD code... the
background was to explain why I was bothering.


-Original Message-
From: Marcus D. Leech [mailto:mle...@ripnet.com] 
Sent: 30 November 2011 23:54
To: Suleja, Lukasz; Discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Raw Samples from Receiver

 As background, I have 10 32-bit words of metadata prefixed to a
burst
 of complex samples and I need to extract (and remove) them. I noticed
 recently that the trunk has some code related to tagging; in your
 opinion would the transport of my metadata be better done using
 tagging or is there an alternative method you can suggest. It is
 important that the metadata remain associated exactly with the burst
 samples.

So, a friendly note that if you're running non-standard firmware/FPGA, 
you should note that earlier, rather than later,
   when you're asking for help from this list.   99% of the folks on 
this list use the as-shipped FPGA/Firmware that
   is compatible directly with gr-uhd/Gnu Radio.

So when a question is asked the context that most answerers have is 
the as-shipped FPGA/Firmware.  Which is why I delivered
   my lecture about ADC samples getting mangled by the decimators in 
the FPGA, and why would you care, etc, etc.



-- 
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org


-- 
Queen's Award for Enterprise and Innovation 2011

Roke Manor Research Ltd
Romsey, Hampshire, SO51 0ZN, United Kingdom
http://www.roke.co.uk
Part of the Chemring Group
Registered in England  Wales at:
Chemring Group PLC, Chemring House, 1500 Parkway,
Whiteley, Fareham, Hampshire PO15 7AF, ENGLAND. 
Registered No: 267550

The information contained in this e-mail and any attachments is
proprietary to Roke Manor Research Ltd and must not be passed to any
third party without permission. This communication is for information
only and shall not create or change any contractual relationship.

Please consider the environment before printing this email




___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] USRP/WBX DUPLEXER TUNING

2011-12-01 Thread Marcus D. Leech

On 1-12-2011 11:36 AM, dave k wrote:

If i were to use a usrp to tune a repeater duplexer, could i just connect both 
WBX ports directly to the can's, and use one port to tx and the other to RX? 
Would i need to add some inline attenuation? For clarification i would be doing 
this with 1 WBX

The absolute maximum RX power on a WBX is about -10dBm, when turned up 
to maximum gain. Beyond that, and damage to

  the 2nd-stage LNA is almost guaranteed.

So, as a safety precaution, I'd put a 30dB to 60dB attenuator in-line in 
front of the RX2 port on the WBX, depending on what your

  expected TX power is going to be.

When you're tuning cans, you're trying to maximum the isolation 
between TX and RX, with split-frequencies between TX and RX.
  And you can easily pass through a region where TX and RX isolation is 
zero while tuning them up.






___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] USRP/WBX DUPLEXER TUNING

2011-12-01 Thread dave k
ok thaks. I wasnt sure if i should add attunetion or simply decrease tx power. 
Now that im thinking about it, maybe its not really neccessary to sweep the 
feeq range? The usrp could just shoot a 8mhz wide signal (noise?) into the 
thing, and visualize in realtime the notches and pass bands change as i adjust 
the cavities. Rx and tx seperatly of course. Thoughts?

Sent from Yahoo! Mail on Android

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] stream tags in Python

2011-12-01 Thread Yan Nie
Dear all,

I need to use stream tags and the get_time_last_pps informations to control the 
received data storage. I am wondering how to get the stream tags in Python? 

I tried the method used in C++ and transfered in Python
    samp0_count = self.nitems_read(0)
    get_tags_in_range(rx_time_tags, 0, samp0_count, samp0_count + ninput_items)

but got the error:'gr_top_block_sptr' object has no attribute 'nitems_read'

I tried gr.tagged_file_sink to directly store the time tags with the received 
data into one data file, though I could not really see the data file created by 
this file sink block. 

How can I pull out the stream tag from the downstream corresponding with the 
received data in order to get the time or number of samples of certain received 
data?

Any suggestion will be really appreciated. Thank you so much!

Thanks,
Yan
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Gr-UHD thinks i have the wrong firmware

2011-12-01 Thread Scott Johnston

Hello,

Why does gr-uhd think I have the wrong firmware, when UHD says I have 
the right firmware?


I am getting the expected compatibility number 8, but got 6 error with 
gr-uhd, but all the UHD example work properly.


The background is that I recently upgraded to gnuradio 3.5 but then 
switched back to 3.4.1.


Thanks

Scott

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] submission to academic paper section

2011-12-01 Thread Arturo Rinaldi
I'd like to submit my own graduation thesis to the academic section of 
the gnuradio wiki. Which is the right way to do it ?


Regards, Arturo

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] submission to academic paper section

2011-12-01 Thread Jens Elsner

Arturo,

Am 01.12.2011 20:05, schrieb Arturo Rinaldi:

I'd like to submit my own graduation thesis to the academic section
of the gnuradio wiki. Which is the right way to do it ?


congratulations! Just add it yourself. Have a look at the mailing list
archive or the web page on how to do that.

Jens

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Gr-UHD thinks i have the wrong firmware

2011-12-01 Thread Josh Blum


On 12/01/2011 01:31 PM, Scott Johnston wrote:
 Hello,
 
 Why does gr-uhd think I have the wrong firmware, when UHD says I have
 the right firmware?
 

Perhaps you have multiple versions installed and you linked gr-uhd
against one, and the uhd examples against another. I recommend just
cleaning your installs and re-building gr-uhd with exactly the version
you want installed.

-josh

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] stream tags in Python

2011-12-01 Thread Josh Blum


On 12/01/2011 01:31 PM, Yan Nie wrote:
 Dear all,
 
 I need to use stream tags and the get_time_last_pps informations to
 control the received data storage. I am wondering how to get the
 stream tags in Python?
 

You need my next branch installed. (BTW, I am working on squashing
some of this work so Tom will feel safe to merge it into the mainline).

http://gnuradio.org/redmine/projects/gnuradio/wiki/WriteBlocksInPython
http://gnuradio.org/redmine/projects/gnuradio/wiki/BlocksCodingGuide

-josh

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] which math library to link with

2011-12-01 Thread Achilleas Anastasopoulos
We are writing a block that requires SVD of matrices.
Is there a preferred library (eg, LAPACK) that other gnuradio blocks
are already using that we can link with.
I don't want to add another library dependence...

thanks
Achilleas

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] which math library to link with

2011-12-01 Thread Tim O'Shea
gsl


On Dec 1, 2011, at 4:56 PM, Achilleas Anastasopoulos anas...@umich.edu wrote:

 We are writing a block that requires SVD of matrices.
 Is there a preferred library (eg, LAPACK) that other gnuradio blocks
 are already using that we can link with.
 I don't want to add another library dependence...
 
 thanks
 Achilleas
 
 ___
 Discuss-gnuradio mailing list
 Discuss-gnuradio@gnu.org
 https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Question about benchmark_tx and benchmark_rx

2011-12-01 Thread Muhammad Rosli
Hi,

Thanks for reading my mail. I would like to ask is there any additional
setup or configuration required to execute benchmark_tx.py and
benchmark_rx.py?

My problem is I tried to initiate simple communication between two USRP1
using benchmark_rx.py and benchmark_tx.py . I had browse through the
mailing list looking on how to use the file appropriately. Running
benchmark_tx.py also execute help which I follow closely but failed to
receive any packets. If I tried to execute at transmitter:

benchmark_tx.py -f 400M -S 10

and at receiver

benchmark_rx.py -f 400M -S 10

I did not received packet status. I only received '0' in the terminal. Is
it correspond to error?

I also read mailing list sent by other members but none mentioned about not
able to execute benchmark_tx.py . If I missed any post, could anyone please
provide me the link.

For additional information:
Gnuradio version used: v3.5.0rc0
USRP1 : revision 4
Ubuntu: 11.10
Daugtherboard: SBX

Please let me know if I had to provide any additional information.

-- 
Regards,
Muhammad b Rosli
Student
Bachelor of Electrical and Electronic
University of Canterbury
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Question about benchmark_tx and benchmark_rx

2011-12-01 Thread Marcus D. Leech

On 12/01/2011 09:36 PM, Muhammad Rosli wrote:

Hi,

Thanks for reading my mail. I would like to ask is there any 
additional setup or configuration required to execute benchmark_tx.py 
and benchmark_rx.py?


My problem is I tried to initiate simple communication between two 
USRP1 using benchmark_rx.py and benchmark_tx.py . I had browse through 
the mailing list looking on how to use the file appropriately. Running 
benchmark_tx.py also execute help which I follow closely but failed to 
receive any packets. If I tried to execute at transmitter:


benchmark_tx.py -f 400M -S 10

and at receiver

benchmark_rx.py -f 400M -S 10

I did not received packet status. I only received '0' in the terminal. 
Is it correspond to error?


I also read mailing list sent by other members but none mentioned 
about not able to execute benchmark_tx.py . If I missed any post, 
could anyone please provide me the link.


For additional information:
Gnuradio version used: v3.5.0rc0
USRP1 : revision 4
Ubuntu: 11.10
Daugtherboard: SBX

Please let me know if I had to provide any additional information.

--
Regards,
Muhammad b Rosli
Student
Bachelor of Electrical and Electronic
University of Canterbury

You're asking for 10 samples per symbol, which may exceed the rate at 
which your receiver computer can keep up, depending on
  the modulation used, and the complexity of the modulation 
techniques.  Are you using the narrowband or ofdm examples?


The 'O' means overrun.  The hardware (USRP1) is sending samples faster 
than your computer can keep up.





--
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Question about benchmark_tx and benchmark_rx

2011-12-01 Thread Muhammad Rosli
Hi,

Thanks for your reply. I am using the narrowband example.

If I attempt using

./benchmark_tx.py -f 400M -r 250k -S 4

and

./benchmark_rx.py -f 400M -r 250k -S 4

which I worked out from reading the README file, the receiver still output
overrun (many '0'). I verified that the transmitter working since my
spectrum analyser can pickup the signal from the transmitter.

-- 
Regards,
Muhammad b Rosli
Student
Bachelor of Electrical and Electronic
University of Canterbury

On Fri, Dec 2, 2011 at 3:56 PM, Marcus D. Leech mle...@ripnet.com wrote:

 **
 On 12/01/2011 09:36 PM, Muhammad Rosli wrote:

 Hi,

 Thanks for reading my mail. I would like to ask is there any additional
 setup or configuration required to execute benchmark_tx.py and
 benchmark_rx.py?

 My problem is I tried to initiate simple communication between two USRP1
 using benchmark_rx.py and benchmark_tx.py . I had browse through the
 mailing list looking on how to use the file appropriately. Running
 benchmark_tx.py also execute help which I follow closely but failed to
 receive any packets. If I tried to execute at transmitter:

 benchmark_tx.py -f 400M -S 10

 and at receiver

 benchmark_rx.py -f 400M -S 10

 I did not received packet status. I only received '0' in the terminal. Is
 it correspond to error?

 I also read mailing list sent by other members but none mentioned about
 not able to execute benchmark_tx.py . If I missed any post, could anyone
 please provide me the link.

 For additional information:
 Gnuradio version used: v3.5.0rc0
 USRP1 : revision 4
 Ubuntu: 11.10
 Daugtherboard: SBX

 Please let me know if I had to provide any additional information.

 --
 Regards,
 Muhammad b Rosli
 Student
 Bachelor of Electrical and Electronic
 University of Canterbury

  You're asking for 10 samples per symbol, which may exceed the rate at
 which your receiver computer can keep up, depending on
   the modulation used, and the complexity of the modulation techniques.
 Are you using the narrowband or ofdm examples?

 The 'O' means overrun.  The hardware (USRP1) is sending samples faster
 than your computer can keep up.




 --
 Marcus Leech
 Principal Investigator
 Shirleys Bay Radio Astronomy Consortiumhttp://www.sbrac.org


 ___
 Discuss-gnuradio mailing list
 Discuss-gnuradio@gnu.org
 https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio