Re: [Discuss-gnuradio] complex vector output of a block

2010-06-12 Thread Eric Blossom
On Sat, Jun 12, 2010 at 03:40:21PM -0700, Sammour wrote: > > Thanks for everyone, I sorted the problem out. I needed to increment "out" > after memcpy and then return noutput_items/(N*N). > > Cheers, > Sam OK. Glad you (think) you solved your problem. Given that your block was asked to compute

Re: [Discuss-gnuradio] A block with different input signatures

2010-06-12 Thread Eric Blossom
On Sat, Jun 12, 2010 at 05:21:43AM -0700, Zohair wrote: > > Dear all, > > How can I define a 3-input block io signatures if the inputs are: > 1- two float vectors with length LENGTH1 each. (from 5 to 12) > 2- a complex vector with length LENGTH1^2 > > output is: > float vector with length LENGTH

RE: [Discuss-gnuradio] complex vector output of a block

2010-06-12 Thread Sammour
Thanks for everyone, I sorted the problem out. I needed to increment "out" after memcpy and then return noutput_items/(N*N). Cheers, Sam Sammour wrote: > > > Hi John, Thanks for the message sorry for using MATLAB notation without > clarification 2:12 = from 2 upto 12. > > To simplify the case

Re: [Discuss-gnuradio] bit rate of the random source

2010-06-12 Thread Josh Blum
The bit-rate or sample-rate is determined by the first block in the flow graph that conceptually treats the stream as having a "rate". The signal source block outputs periodic signals so it must have the concept of a sample rate. However, a random source, noise source, or a constant source doe

[Discuss-gnuradio] GRC: Need help in plotting a vector vs index

2010-06-12 Thread Samy Sammour
Dear engineers, I wonder if there's a way to plot a vector content vs. index in GRC? I mean analogous to MATLAB command: a=1:100; plot(a); Thanks Sam _ http://clk.atdmt.com/UKM/go/197222

Re: [Discuss-gnuradio] WBX power level

2010-06-12 Thread Timothy R. Newman
On 6/12/2010 11:54 AM, Philip Balister wrote: On 06/12/2010 11:15 AM, Charles Brain wrote: Hi All, Has anyone measure the power level coming out of their WBX board? Measured on a Gigatronics 8541 microwave power meter connected directly at the back of the USRP2 I am getting (with a CW ca

Re: [Discuss-gnuradio] WBX power level

2010-06-12 Thread Charles Brain
- Original Message - From: "Philip Balister" To: "Charles Brain" Cc: Sent: Saturday, June 12, 2010 4:54 PM Subject: Re: [Discuss-gnuradio] WBX power level Is your flowgraph delivering the maximum amplitude to the USRP? Philip I am not using gnuradio I am using C++ code that ta

Re: [Discuss-gnuradio] WBX power level

2010-06-12 Thread Philip Balister
On 06/12/2010 11:15 AM, Charles Brain wrote: Hi All, Has anyone measure the power level coming out of their WBX board? Measured on a Gigatronics 8541 microwave power meter connected directly at the back of the USRP2 I am getting (with a CW carrier) 100 MHz about 35 mW 1.3 GHz about 15 mW Ettu

[Discuss-gnuradio] WBX power level

2010-06-12 Thread Charles Brain
Hi All, Has anyone measure the power level coming out of their WBX board? Measured on a Gigatronics 8541 microwave power meter connected directly at the back of the USRP2 I am getting (with a CW carrier) 100 MHz about 35 mW 1.3 GHz about 15 mW Ettus quote 50 - 100 mW < 1.2 GHz 30 - 70m

[Discuss-gnuradio] A block with different input signatures

2010-06-12 Thread Zohair
Dear all, How can I define a 3-input block io signatures if the inputs are: 1- two float vectors with length LENGTH1 each. (from 5 to 12) 2- a complex vector with length LENGTH1^2 output is: float vector with length LENGTH2. All what I dealt with before was inputs with same length but in case I