Saturday, June 30, 2012

Re: [Discuss-gnuradio] How many samples per call to work function?

Thanks for the thoughts Sean. I hadn't thought of calling early to give the tuner time to settle. I'll also have a look at the burst tagger example as you suggested. I think I should be able to make a block with only an input and put it in parallel with the other blocks in my circuit. This should save some processing power in not needing to copy the samples to the output. I guess what I was really asking was whether it had to accept samples at all? As in, could a block be made with no input or output and would its work function be called at a set interval of time (or even at all)? Probably not a request made often and I don't think it would take much extra processing power to just feed it the samples. Still, I thought it was worth looking into.

-Dan

On 6/29/2012 7:31 PM, Nowlan, Sean wrote:

You can put a block in sequence with the samples that does two things in the work() function:

 

1)      copy the input buffer to the output buffer using memcpy or something similar since it doesn’t look like you need to process the samples at all

2)      keep track of “number of samples remaining before re-tune” in a local variable that you set to NSAMPS_PER_TUNE, and decrement it by noutput items as you described. If this variable gets down to 1 (or 0?) re-set it to NSAMPS_PER_TUNE and call the set_command_time() function to retune. You’ll have to follow the lead of the burst tagging example to know precisely what absolute time you need to retune, and you also have to make sure the re-tune command gets called with some lead-time, so I’m not quite sure how to handle this.

 

This is just a rough guess of how to do it; I’m sure there are other nuances. With this approach you shouldn’t need to worry about how many samples were passed to your work() function since you always decrement your count variable by how many you received.

 

Hope that helps!

 

Sean

 

From: discuss-gnuradio-bounces+sean.nowlan=gtri.gatech.edu@gnu.org [mailto:discuss-gnuradio-bounces+sean.nowlan=gtri.gatech.edu@gnu.org] On Behalf Of Daniel Labarowski
Sent: Friday, June 29, 2012 4:21 PM
To: discuss-gnuradio@gnu.org
Subject: [BULK] [Discuss-gnuradio] How many samples per call to work function?
Importance: Low

 

Hello,
I am going to be making a C++ block which will either change the value of a variable (which would be passed to it by a pointer) or call the tune function of a USRP sink (passed by a pointer) after a certain number of samples have been passed to the block. This is related to my question here. In order to do this, I need to establish how often the work function is called. From my past experience writing GNURadio signal processing blocks, it looks like around 8190 samples are passed to the blocks work function each time it is called, but this tends to vary wildly. Also, I haven't tested whether this is dependent on data format of the input/output. My current plan to build the block is to increment a (local, not the on being passed) variable by noutput items each time the work function is called. Once a certain number of samples have been handled by the block, I will change the frequency. I was wondering if it is even possible to construct a block with no output or input, and if it is possible whether the work function would ever get called and whether its noutputitems (or ninputitems) would correspond to the number of samples flowing through the rest of the flowgraph? If it cant be done this way, I suppose it would be no real issue to give the block an input so that it can count ninputitems then just not do anything with the input items. Just trying to get a feel for the best way to do this and to find out, in general, how frequently the work function of the block is called and how many samples are passed with each call? Thanks!

-Dan

Friday, June 29, 2012

[Discuss-gnuradio] Timing & Sources

I've been through many GRC companion tutorials, which show how to get various sources up and running, but what if I want to have an input source that has a straight line or parabola where the value varies based on a time from a 0 to 5 count?


Using existing blocks can I easily implement a formula input based on the time?

E.g. One thing I want to do is have trigger occurring every 5 seconds.
Is there a better way to do this then say having a
Source 'Sinwave' with a frequency of 1/5Hz
feeding along with a 'Parameter' (set to -1) into an 'Add block'
which then feeds into a binary splitter?


[Discuss-gnuradio] Why DSP Freq is negative in USRP 2 ?

Why the DSP Freq is negative?,

As I get Freq DSP is positive?

[Discuss-gnuradio] LFM Problems

I'm using GRC v 3.6.0 and looking at what can be done with the standard library.


Although I've been able to apply FM to a wave, I'm still having issues understanding how to manipulate the variables.
There is a Frequency Modulation block.. but i'm a bit confused about what line 55
http://gnuradio.org/redmine/projects/gnuradio/repository/revisions/5d69a524f81f234b3fbc41d49ba18d6f6886baba/entry/gnuradio-core/src/lib/general/gr_frequency_modulator_fc.cc

From what I understand, to get Linear Frequency Modulation, I need a parabolic change in phase.

d_phase = d_phase + d _sensitivity*in[i]  

where (i believe)
d_sensitivity is set constant
and
in[i] is an input source of samples

From what I gather from an earlier discussion thread if I put add a sawtooth input then I should get a Linear Frequency response?
http://old.nabble.com/Generating-chrip-signals-td3985122.html

I appear to be getting a LFM, when i try feeding a Source [Sample Rate of 25M, Sawtooth wave,  Freq 1k, Ampl 1]  into a Frequency Modulation Block [Sensitivity of 0.002]
but I'm unsure how to manipulate the inputs.

E.g. how would I set my values for d_sensitivity and amplitude to get my LFM to shift from a frequency of 1000k to say 2000k?
Also, i'm a bit concerned that the sawtooth output doesn't appear to be linear :/

Is there a better way of doing this using existing blocks?
Also what is the maths behind it.. i've just been beating my head against the wall on this one and I appear to be just missing something

Please help!


[Discuss-gnuradio] what is DSP Freq: -1.0M ?

Hi, All

What is what is DSP Freq: -1.0M ??

[Discuss-gnuradio] OFDM Questions

Hi all , i have some questions  :

In OFDM Modulator Block , in Mapper Sub-block , in path of : ./lib/digital_ofdm_mapper_bcv.
cc

 1- I saw the following comment inside the code :  " Eventually, we will get rid of the occupied_carriers concept. " , the question how you get rid of the occupied carriers concept in the code and why ? . as i see the code depends strongly on this concept .

2- Why the concept of occupied carriers is used  and why filling only part of FFT size not all of it  ?

3-Inside the code ,  string carriers = "FE7F" .  I have two questions here , the first is ,  when converting to bits : 1111111001111111 , why there is two zeros at DC instead of one zero only ?
The second question is , you started with "FE7F" .  Why  didn't  you start with "E7"  and then pad F's from both sides  (looping) as  you did later !?

4- Also , for the following segment of the code : diff = (d_occupied_carriers - 4*carriers.length())  .  Why you are multiplying by four instead of eight when converting from Character Domain to Bit Domain ? or you deal with them as HEX only ?


5- What is the maximum packet size ?

6- What is the difference between the word "coming message" and " packet" . Are they the same thing ?  or Does one message contain more than one packet ?

Thanks in-advance
Amr,

Re: [Discuss-gnuradio] [BULK] How many samples per call to work function?

You can put a block in sequence with the samples that does two things in the work() function:

 

1)      copy the input buffer to the output buffer using memcpy or something similar since it doesn’t look like you need to process the samples at all

2)      keep track of “number of samples remaining before re-tune” in a local variable that you set to NSAMPS_PER_TUNE, and decrement it by noutput items as you described. If this variable gets down to 1 (or 0?) re-set it to NSAMPS_PER_TUNE and call the set_command_time() function to retune. You’ll have to follow the lead of the burst tagging example to know precisely what absolute time you need to retune, and you also have to make sure the re-tune command gets called with some lead-time, so I’m not quite sure how to handle this.

 

This is just a rough guess of how to do it; I’m sure there are other nuances. With this approach you shouldn’t need to worry about how many samples were passed to your work() function since you always decrement your count variable by how many you received.

 

Hope that helps!

 

Sean

 

From: discuss-gnuradio-bounces+sean.nowlan=gtri.gatech.edu@gnu.org [mailto:discuss-gnuradio-bounces+sean.nowlan=gtri.gatech.edu@gnu.org] On Behalf Of Daniel Labarowski
Sent: Friday, June 29, 2012 4:21 PM
To: discuss-gnuradio@gnu.org
Subject: [BULK] [Discuss-gnuradio] How many samples per call to work function?
Importance: Low

 

Hello,
I am going to be making a C++ block which will either change the value of a variable (which would be passed to it by a pointer) or call the tune function of a USRP sink (passed by a pointer) after a certain number of samples have been passed to the block. This is related to my question here. In order to do this, I need to establish how often the work function is called. From my past experience writing GNURadio signal processing blocks, it looks like around 8190 samples are passed to the blocks work function each time it is called, but this tends to vary wildly. Also, I haven't tested whether this is dependent on data format of the input/output. My current plan to build the block is to increment a (local, not the on being passed) variable by noutput items each time the work function is called. Once a certain number of samples have been handled by the block, I will change the frequency. I was wondering if it is even possible to construct a block with no output or input, and if it is possible whether the work function would ever get called and whether its noutputitems (or ninputitems) would correspond to the number of samples flowing through the rest of the flowgraph? If it cant be done this way, I suppose it would be no real issue to give the block an input so that it can count ninputitems then just not do anything with the input items. Just trying to get a feel for the best way to do this and to find out, in general, how frequently the work function of the block is called and how many samples are passed with each call? Thanks!

-Dan

[Discuss-gnuradio] How to test RFX900 Daughterboard, to make sure it is working correctly. ?

Hi, All

How to test RFX900  Daughterboard, to make sure it is working correctly. ?

[Discuss-gnuradio] How many samples per call to work function?

Hello,
I am going to be making a C++ block which will either change the value of a variable (which would be passed to it by a pointer) or call the tune function of a USRP sink (passed by a pointer) after a certain number of samples have been passed to the block. This is related to my question here. In order to do this, I need to establish how often the work function is called. From my past experience writing GNURadio signal processing blocks, it looks like around 8190 samples are passed to the blocks work function each time it is called, but this tends to vary wildly. Also, I haven't tested whether this is dependent on data format of the input/output. My current plan to build the block is to increment a (local, not the on being passed) variable by noutput items each time the work function is called. Once a certain number of samples have been handled by the block, I will change the frequency. I was wondering if it is even possible to construct a block with no output or input, and if it is possible whether the work function would ever get called and whether its noutputitems (or ninputitems) would correspond to the number of samples flowing through the rest of the flowgraph? If it cant be done this way, I suppose it would be no real issue to give the block an input so that it can count ninputitems then just not do anything with the input items. Just trying to get a feel for the best way to do this and to find out, in general, how frequently the work function of the block is called and how many samples are passed with each call? Thanks!

-Dan

[Discuss-gnuradio] New SDR RF card from Analog Devices

Interesting it is, FMC (vita-57) based RF [400MHz - 4GHz] RF card [with best ADC/DAC] and support bandwidth upto 125MHz, i feel this is a remarkable shift in SDR manufacturing. This card fits on all of Xilinx and ADI boards.


Justin Bracken

--






It is better to remain silent and be thought a fool than to open one's mouth and remove all doubt -- Abraham Lincoln

Re: [Discuss-gnuradio] volk_profile segfault on volk_32fc_x2_multiply_32fc_a

On Fri, Jun 29, 2012 at 9:39 AM, Nathan West <nathan.west@okstate.edu> wrote:
> Was this issue ever resolved? I am running in to the same problem on an
> Intel Atom.
> http://lists.gnu.org/archive/html/discuss-gnuradio/2012-03/msg00390.html
>
> Thanks
> -nathan

Yes, that issue should have been addressed, but it doesn't mean there
aren't other problems. I know we're seeing some issues on other
platforms, so an Atom's a good candidate.

Can you run 'ctest -V -R volk' in your build directory and send along
the output?

Thanks,
Tom

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

[Discuss-gnuradio] LiveUSB SDR Environment to USB

Hi, all,

How unzip casper-rw.tar.gz to USB

Re: [Discuss-gnuradio] UDP/TCP stream data block formats

On Fri, Jun 29, 2012 at 12:33:47PM +0100, Guenter Koellner wrote:
> I am wondering about the data formats. As far as I was able to see with
> Wireshark, for example float is 4 bytes IEEE format, but how is I and Q
> arranged? Integer is 32bit wide, but again, how is it with I and Q.
>
>
> Any hint to a document would be great!

gr_udp_{source/sink}.cc is probably a good place to start looking.

Note that the UDP blocks are agnostic of the data type (like most GNU
Radio stream handling blocks) and read the data as strings.
So if you transmit a gr_complex, think of it as a string of 8 bytes
length.
If endianness is something you're worried about, that might actually be
a problem if your hosts have different endianness.

MB

--
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin Braun
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

[Discuss-gnuradio] UDP/TCP stream data block formats

Hello,

I want to stream data from an external sampler to Gnuradio over UDP or TCP.

I am wondering about the data formats. As far as I was able to see with Wireshark, for example float is 4 bytes IEEE format, but how is I and Q arranged? Integer is 32bit wide, but again, how is it with I and Q.

Any hint to a document would be great!

Thanks a lot

Günter (dl4mea)

Re: [Discuss-gnuradio] [USRP-announce] Announcing the LiveUSB SDR Environment

Hi All,

Can any one guide about how to create liveUSB using casper-rw file.

Thanks in advance.

Regards,
Sudhir.

On Fri, Jun 22, 2012 at 10:44 PM, S'dir <chitlas@gmail.com> wrote:
Hi Matt,

Thanks able to download casper-rw file. Could you please point me to the instructions about how to make bootable usb from casper-rw file.

Regds,
Sudhir.

On Wed, Jun 20, 2012 at 10:24 PM, Matt Ettus <matt@ettus.com> wrote:
Yes, the link is on the order page.

Matt

On Tue, Jun 19, 2012 at 8:55 PM, S'dir <chitlas@gmail.com> wrote:
> Hi Matt,
>
> Would like to know if there is an iso image file which we can write to
> CD/USB.
>
> Thanks & Regds,
> Sudhir.
>
> On Tue, Jun 19, 2012 at 2:27 AM, Matt Ettus <matt@ettus.com> wrote:
>>
>> Ettus Research has released the LiveUSB SDR Environment - a 16 GB
>> bootable USB 3.0 drive, which comes pre-installed with Ubuntu 11.10,
>> UHD (USRP Hardware Driver), GNU Radio, OpenBTS, and associated
>> documentation. The SDR Environment enables users to get up and running
>> with the USRP product family quickly and easily, and lets users
>> familiarize themselves with the included software before installing it
>> on their own.   Additionally, the portability of the LiveUSB file
>> system can be used to deploy standard configurations in classrooms,
>> R&D labs, or other USRP installations.
>>
>>      https://www.ettus.com/product/details/LiveUSB
>>
>> Features:
>> * Ubuntu 11.10, 64-bit
>> * Pre-installed Software: USRP Hardware Driver (UHD), GNU Radio, OpenBTS
>> * Documentation Included on Drive
>> * 16 GB
>> * USB 3.0 Read/Write Speeds - fast boot times and RF record/playback
>> capability
>> * USB 2.0 Fallback
>> * Persistent File system - save files, configurations, and other
>> customizations
>> * Portability - take your projects with you and boot on any PC
>>
>> The LiveUSB includes the most recent release of UHD, GNU Radio, and
>> OpenBTS.  UHD is compatible with all USRP devices, and allows
>> applications to be easily ported across different USRP models.  The
>> UHD installation includes documentation and examples.  GNU Radio is an
>> easy-to-use, open-source, DSP toolbox that comes with GNU Radio
>> Companion, a graphical development tool.  OpenBTS is an open-source
>> GSM air-interface implementation, which can be used with the USRP
>> product family to assemble a fully functional cellular base station.
>>
>> The LiveUSB Ubuntu OS is pre-configured to install UHD and GNU Radio
>> from the Ettus Research 'apt' repositories.  This allows users to
>> update the software without manually downloading, building, and
>> installing the source code.
>>
>> This drive is compatible with USB 2.0 ports, but the system will take
>> longer to boot, load programs, and respond to user interaction.
>>
>> Now, developing with the USRP product family is as easy as plugging in
>> the LiveUSB SDR Environment and booting up!
>>
>> You can buy a USB 3 Flash Drive with the environment on it here:
>>
>>    https://www.ettus.com/product/details/LiveUSB
>>
>> Matt Ettus
>>
>> _______________________________________________
>> USRP-announce mailing list
>> USRP-announce@lists.ettus.com
>> http://lists.ettus.com/mailman/listinfo/usrp-announce_lists.ettus.com
>
>


Thursday, June 28, 2012

[Discuss-gnuradio] fir filter parameters

Dear everyone:
   In ofdm_receiver.py there is chan_coeffs = gr.fihan_coeffs(1.0,1.0,tb+bw,tb,gr.firdes.WIN_HAMMING), which is to determine the parameters of fir low-pass filters. My question is about the third parameter, which denotes the center of transition band, and it is computed as tb= bw*0.08. So can you explain to me why we should set the center of transition band tb+bw and how tb is computed? Besides in benchmark_rx case, midpoint of trans. band is directly set 1 and width of trans. band 0.5. So in general how do we set the bandwith and midpoint of band?
 
Best regards


Re: [Discuss-gnuradio] uhd files

On 06/28/2012 02:21 PM, sibar002 wrote:
>
> Hello
>
> I am trying to modify some of the .cpp files within the uhd folder. I
> understand that in order to build the .cc file you have to make and make
> install. Would these same commands work for the .cpp files? I would greatly
> appreciate any help.
>
> Sam
>

Basically, thats correct. Here is the link to the build instructions:
http://code.ettus.com/redmine/ettus/projects/uhd/wiki/UHD_Build#Build-instructions

-josh

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

[Discuss-gnuradio] uhd files

Hello

I am trying to modify some of the .cpp files within the uhd folder. I
understand that in order to build the .cc file you have to make and make
install. Would these same commands work for the .cpp files? I would greatly
appreciate any help.

Sam
--
View this message in context: http://old.nabble.com/uhd-files-tp34088561p34088561.html
Sent from the GnuRadio mailing list archive at Nabble.com.


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

Re: [Discuss-gnuradio] Multimode.py giving error with gnuradio 3.6.0

I solved the problem by reinstalling my NVIDIA drivers and the OpenGL
issues went away. They had been created by an xserver-xorg-* update to
the system.

thanks.

On Mon, Jun 18, 2012 at 12:01 AM, Marcus D. Leech <mleech@ripnet.com> wrote:
> On 17/06/12 11:59 PM, Vikas N Kumar wrote:
>>
>> Got it to work. Changed the ~/.gnuradio/config.conf to use "nongl" for
>> wxgui and then commented out the set_callback() calls and the UI came
>> up. Now need to make sure that the software really works as expected
>> with those changes.
>>
>>
>>
> The waterfall sink doesn't work right in non-gl
>
>
>
> --
> 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



--
http://www.vikaskumar.org/

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

Wednesday, June 27, 2012

Re: [Discuss-gnuradio] Where is the stream_selector module in the latest gnuradio release?

On 06/27/2012 06:20 PM, zhonghua wrote:
> Hi list,
>
> I used the stream_selector module created by josh several months ago.
> This module is in the top component named gr-blocks. But in recent
> release(3.6.0 or 3.6.1) I cannot find gr-blocks and so cannot get the
> useful stream_selector module. Does anyone know where is it now? Thanks!
>

Its part of the GrExtras project:
https://github.com/guruofquality/grextras/wiki

-josh

> BR,
>
> Zhonghua
>
>
> _______________________________________________
> 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] Where is the stream_selector module in the latest gnuradio release?

Hi list,

I used the stream_selector module created by josh several months ago.
This module is in the top component named gr-blocks. But in recent
release(3.6.0 or 3.6.1) I cannot find gr-blocks and so cannot get the
useful stream_selector module. Does anyone know where is it now? Thanks!

BR,

Zhonghua


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

Re: [Discuss-gnuradio] generate data with certain bit rate

On Wed, Jun 27, 2012 at 8:19 AM, eng_ali_2020 <saqrelarab@rocketmail.com> wrote:
>
> I want to transmit data 00101110011 with data rate 10kb/sec and i ask how to
> generate this data with this certain rate


Look at the gr-digital/examples/narrowband files, specifically
benchmark_tx.py. With the resampler in it, you should be able to get
down to 10 kbps.

Tom

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

[Discuss-gnuradio] tunnel.py doesn't receive packages when transmit and receive frequencies are different

I run tunnel.py with two machines and there are some packages exchange immediately after setting the network interface gr0. If I set the frequencies of transmit and receive the same, packages are transmitted and received at both machines:
on machine A:
sudo ./tunnel.py -f 2.4xG ; sudo ifconfig gr0 192.168.200.1 
on machine B:
sudo ./tunnel.py -f 2.4xG ; sudo ifconfig gr0 192.168.200.2

But when I set the frequencies of transmit and receive different under 2.5GHz, packages can't be received at both machines:
on machine A:
sudo ./tunnel.py --tx-freq=2.4xG --rx-freq=2.4yG; sudo ifconfig gr0 192.168.200.1 
on machine B:
sudo ./tunnel.py --tx-freq=2.4yG --rx-freq=2.4xG; sudo ifconfig gr0 192.168.200.2

The wired thing is that when I set the frequencies of transmit and receive different above 2.5GHz, packages can be again transmitted and received:
on machine A:
sudo ./tunnel.py --tx-freq=2.51G --rx-freq=2.512G; sudo ifconfig gr0 192.168.200.1 
on machine B:
sudo ./tunnel.py --tx-freq=2.512G --rx-freq=2.51G; sudo ifconfig gr0 192.168.200.2

I am using USRP N210s and the daughter boards are both XCVR2450. Does anyone can explain why the tunnel.py doesn't receive packages when transmit and receive frequencies are different under 2.5GHz?
--
Regards,
Weixian Zhou


Re: [Discuss-gnuradio] uhd_fft.py LED A turn ON/OFF

On 06/27/2012 12:54 PM, Julio Hector Aguilar Renteria wrote:
> Regards,
>
> when I use the example uhd_fft.py with USRP 2, the LED_A must be turned on
> or off?
>

A is transmit LED. See:
http://files.ettus.com/uhd_docs/manual/html/usrp2.html#front-panel-leds

-josh

>
>
> _______________________________________________
> 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] uhd_fft.py LED A turn ON/OFF

Regards,

when I use the example uhd_fft.py with USRP 2, the LED_A must be turned on or off?

[Discuss-gnuradio] Questions

Hi all , i have some questions  :

In OFDM Modulator Block , in Mapper Sub-block , in path of : ./lib/digital_ofdm_mapper_bcv.cc

 1- I saw the following comment inside the code :  " Eventually, we will get rid of the occupied_carriers concept. " , the question how you get rid of the occupied carriers concept in the code and why ? . as i see the code depends strongly on this concept .

2- Why the concept of occupied carriers is used  and why filling only part of FFT size not all of it  ?

3-Inside the code ,  string carriers = "FE7F" .  I have two questions here , the first is ,  when converting to bits : 1111111001111111 , why there is two zeros at DC instead of one zero only ?
The second question is , you started with "FE7F" .  Why  didn't  you start with "E7"  and then pad F's from both sides  (looping) as  you did later !?

4- Also , for the following segment of the code : diff = (d_occupied_carriers - 4*carriers.length())  .  Why you are multiplying by four instead of eight when converting from Character Domain to Bit Domain ? or you deal with them as HEX only ?


4- How many OFDM Symbols exist in one packet ?

5- What is the maximum packet size ?

6- What is the difference between coming message and the packet . Are they the same thing ?  or Does one message contain more than one packet ?

Thanks in-advance
Amr ,

Re: [Discuss-gnuradio] spectrum analyzer usrp2+rfx900

Julio,

Usually, the frequency band is used by 800 MHz trunking radio. So, I
presume you are scanning for GSM 850 and iDEN 800?
If that's the case, you will be able to detect the different type of
modulations, GMSK and M16QAM.
If you know the specifications, you will be able to decode it.

Jose M.

On Wed, Jun 27, 2012 at 10:46 AM, Julio Hector Aguilar Renteria
<jhaguilar@gmail.com> wrote:
> Hi, is a signal un the frecuence band cell, I but use only usrp2 with
> daurherboard rfx900 and antenna between 800 and 900 mhz
>
> Sent from my Windows Phone
> From: turbovectorz turbovectorz
> Sent: 27/06/2012 12:28 p.m.
> To: Julio Hector Aguilar Renteria
> Cc: discuss-gnuradio@gnu.org
> Subject: Re: [Discuss-gnuradio] spectrum analyzer usrp2+rfx900
> Julio,
>
> The answer is YES, but also the signal quality depends on your RF
> front-end configuration such as antenna, amplifiers, etc.
>
> What kind of signals are you trying to detect and/or decode?
>
> Jose M.
>
> On Wed, Jun 27, 2012 at 8:26 AM, Julio Hector Aguilar Renteria
> <jhaguilar@gmail.com> wrote:
>> I can to sweeping the frequency band from 800 Mhz to 1000 MHz with
>> usrp2+rfx900 (spectrum analyzer).
>>
>>
>> _______________________________________________
>> 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

Re: [Discuss-gnuradio] spectrum analyzer usrp2+rfx900

Hi, is a signal un the frecuence band cell, I but use only usrp2 with
daurherboard rfx900 and antenna between 800 and 900 mhz

Sent from my Windows Phone
From: turbovectorz turbovectorz
Sent: 27/06/2012 12:28 p.m.
To: Julio Hector Aguilar Renteria
Cc: discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] spectrum analyzer usrp2+rfx900
Julio,

The answer is YES, but also the signal quality depends on your RF
front-end configuration such as antenna, amplifiers, etc.

What kind of signals are you trying to detect and/or decode?

Jose M.

On Wed, Jun 27, 2012 at 8:26 AM, Julio Hector Aguilar Renteria
<jhaguilar@gmail.com> wrote:
> I can to sweeping the frequency band from 800 Mhz to 1000 MHz with
> usrp2+rfx900 (spectrum analyzer).
>
>
> _______________________________________________
> 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

Re: [Discuss-gnuradio] spectrum analyzer usrp2+rfx900

Julio,

The answer is YES, but also the signal quality depends on your RF
front-end configuration such as antenna, amplifiers, etc.

What kind of signals are you trying to detect and/or decode?

Jose M.

On Wed, Jun 27, 2012 at 8:26 AM, Julio Hector Aguilar Renteria
<jhaguilar@gmail.com> wrote:
> I can to sweeping the frequency band from 800 Mhz to 1000 MHz with
> usrp2+rfx900 (spectrum analyzer).
>
>
> _______________________________________________
> 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

Re: [Discuss-gnuradio] usrp2 not transmitting data.

On 27 Jun 2012 13:16, Julio Hector Aguilar Renteria wrote:

Hi, all, 

 
LED A USRP2 OFF—The module is not transmitting data.

help...

More context would be very helpful.   What application are you using?  What steps have you taken to debug the problem, and what were the results?

 

 

[Discuss-gnuradio] usrp2 not transmitting data.

Hi, all, 

LED A USRP2 OFF—The module is not transmitting data.

help...

Re: [Discuss-gnuradio] How to exit GNU radio program

On Wed, Jun 27, 2012 at 02:24:41PM +0100, umer.rabbani@bt.com wrote:
> I am writing a basic GNU radio program. The program has 3 blocks, USRP2 ,
> bandpass filter and file sink.

Put in a gr.head()

M


--
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin Braun
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

[Discuss-gnuradio] spectrum analyzer usrp2+rfx900

I can to sweeping the frequency band from 800 Mhz to 1000 MHz with usrp2+rfx900 (spectrum analyzer).

Re: [Discuss-gnuradio] [USRP-users] Getting a -135 dBm/Hz noise spectral density in USRP N210

You are exactly right! We were using TX/RX antenna port in the WBX receiver daughterboard. I get almost -170 dBm/Hz noise spectral density when I select RX2. This is almost perfect!

Thanks! Your email increased my pathloss calculation range by 30 dB :)

Nazmul

On Wed, Jun 27, 2012 at 9:22 AM, Jason Roehm <jasonr@3db-labs.com> wrote:
Do you have the correct antenna port selected? I believe that RX2 is the default for the SBX. If you are injecting signal into the port that isn't selected, then you'll see ~30-40 dB of isolation in the front-end antenna switch. That seems to be in the neighborhood of the difference that you're seeing.

Jason


On 06/27/2012 01:51 AM, Nazmul Islam wrote:
Hello,

I am trying to measure channel path loss using two USRP N210. I need to measure the noise floor so that I can find the threshold for pathloss measurement. I am using the attached flowgraph to calibrate the receiver signal strength. I tried two ways to calibrate the receiver power and both show me approximately -135 dBm/Hz noise spectral density.

1. At first I don't transmit anything and measure the power of the floating point numbers that is coming out of rx USRP block. Then  I transmit a PN sequence of -5 dBm power at 17 MS/s from an USRP. I connect this USRP through a 60 dB attenuator to the receiver USRP. This input (-65 dBm) seems to double the power of the floating point numbers. I infer that the my USRP noise floor is equivalent to -65 dB at 17 MHz.

2. I also apply an external 1 MHz noise source of -75 dBm power to the receiver USRP. This leads to an increase of 3 dB power in the receiver FFT plot. This also suggests I have -75 dBm noise power at 1 MHz.

Both these experiments suggest -135 dBm/Hz noise spectral density in my rx USRP. However, this is very far from theoretical noise spectral density (approximately -170 dBm/Hz). My Rx USRP N210 has a WBX daughterboard and my Tx USRP has an SBX daughterboard. The ettus websites suggest only 6 dB noise figure (http://code.ettus.com/redmine/ettus/documents/16). If my USRP daughterboard is not faulty, I must be giving some wrong parameters. I put the RX gain as 30 dB to get the full range of WBX daughterboards (http://files.ettus.com/uhd_docs/manual/html/dboards.html). Shall I increase it more?

Thanks for your help.

Nazmul


--
Muhammad Nazmul Islam

Graduate Student
Electrical & Computer Engineering
Wireless Information & Networking Laboratory
Rutgers, USA.



_______________________________________________  USRP-users mailing list  USRP-users@lists.ettus.com  http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com  

_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com




--
Muhammad Nazmul Islam

Graduate Student
Electrical & Computer Engineering
Wireless Information & Networking Laboratory
Rutgers, USA.

Re: [Discuss-gnuradio] error graphics uhd_fft.py usrp2_rfx900

Have you tried reducing the gain or reducing the input signal strength?

--n

On Wed, Jun 27, 2012 at 7:52 AM, Julio Hector Aguilar Renteria <jhaguilar@gmail.com> wrote:

Hi, I need help removing the peaks generated graphics, I use usrp2 with rfx900.
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] error graphics uhd_fft.py usrp2_rfx900


Hi, I need help removing the peaks generated graphics, I use usrp2 with rfx900.

[Discuss-gnuradio] Fwd: tunnel.py doesn't work on expected frequency

Sorry haven't post the previous discussion. I took Josh's suggestion and it didn't change anything. The spectrum in uhd_fft of tunnel.py at 2.412G and 2.512G (with same bit rate 0.1M) are nearly the same. But tunnel.py works only at 2.512G.
The screenshots are attached.

---------- Forwarded message ----------
From: Weixian Zhou <ideazwx@gmail.com>
Date: Mon, Jun 25, 2012 at 5:24 PM
Subject: Re: [Discuss-gnuradio] tunnel.py doesn't work on expected frequency
To: josh@ettus.com


Hi Josh,
I think it's not the problem of uhd. I updated uhd (replace 1 line code in db_xcvr2450.cpp), and under uhd/host:
make clean
cmake ../
make clean
make
sudo make install
But the problem still exists. In addition, when I run uhd_fft on machine A and run tunnel.py on machine B in frequency 2.4x GHz, I can see the peak appears. It means the transmitting works well but failed to receive.


On Wed, Jun 20, 2012 at 5:10 PM, Josh Blum <josh@ettus.com> wrote:


On 06/20/2012 08:16 AM, Weixian Zhou wrote:
> I am using UHD_003.004.001-129-g23344268 and
> UHD_003.004.002-128-g12f7a5c9。Is it out of date?
>

I recommend to update. -josh

> On Tue, Jun 19, 2012 at 6:05 PM, Josh Blum <josh@ettus.com> wrote:
>
>>
>>
>> On 06/19/2012 02:30 PM, Weixian Zhou wrote:
>>> I am using two USRP N210s (daughter boards are XCVR2450) and the
>> supported
>>> frequency in theory ranged in 2.4GHz ~ 2.5GHz. I have done experiment to
>>> test the working freq using benchmark_tx/benchmark_rx, the working freq
>> is
>>> 2.41G, 2,42G, 243G, 2.44G, 2.46G, 2.47G, 2.48G, 2.49G, 2.50G, 2.51G,
>> 2.52G.
>>> But when I tested tunnel.py, the working freq is only 2.50 G and 2.51G.
>> Why
>>> doesn't tunnel.py work on the same frequencies as
>> benchmark_tx/benchmark_rx?
>>>
>>>
>>
>> I believe there was a bug that was fixed if you see this thread:
>> http://www.ruby-forum.com/topic/4402826
>>
>> What version of UHD are you running? If you update to latest
>> master/maint you will get this fix. I think it is worth trying.
>>
>> -josh
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> Discuss-gnuradio@gnu.org
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>
>
>



--
Regards,
Weixian Zhou





--
Regards,
Weixian Zhou


Re: [Discuss-gnuradio] tunnel.py doesn't work on expected frequency

anyone has idea?

On Tue, Jun 19, 2012 at 5:30 PM, Weixian Zhou <ideazwx@gmail.com> wrote:
I am using two USRP N210s (daughter boards are XCVR2450) and the supported frequency in theory ranged in 2.4GHz ~ 2.5GHz. I have done experiment to test the working freq using benchmark_tx/benchmark_rx, the working freq is 2.41G, 2,42G, 243G, 2.44G, 2.46G, 2.47G, 2.48G, 2.49G, 2.50G, 2.51G, 2.52G. But when I tested tunnel.py, the working freq is only 2.50 G and 2.51G. Why doesn't tunnel.py work on the same frequencies as benchmark_tx/benchmark_rx?

--
Regards,
Weixian Zhou





--
Regards,
Weixian Zhou


[Discuss-gnuradio] How to exit GNU radio program

Hello All,

 

I am writing a basic GNU radio program. The program has 3 blocks, USRP2 , bandpass filter and file sink.

 

I want to read some specific frequency band and write the values to the file.

The object of my class is called Tb

 

I start the program by Tb.Run()

But I the program goes to an infinite loop and never stops.

I have tried

Tb.start()

Tb.stop()

Tb.wait()

Sys.exit()

 

But the program does not exit. I want to run my filter program for two different frequencies but it never stops so I am unable to run it the second time.

 

Umer

 

[Discuss-gnuradio] generate data with certain data rate

i want to transmitting data ( 001011101100) with bit rate (200kb/sec) i ask how to generate this data with this certain data rate

[Discuss-gnuradio] generate data with certain bit rate

I want to transmit data 00101110011 with data rate 10kb/sec and i ask how to
generate this data with this certain rate
--
View this message in context: http://old.nabble.com/generate-data-with-certain-bit-rate-tp34079999p34079999.html
Sent from the GnuRadio mailing list archive at Nabble.com.


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

Tuesday, June 26, 2012

[Discuss-gnuradio] Getting a -135 dBm/Hz noise spectral density in USRP N210

Hello,

I am trying to measure channel path loss using two USRP N210. I need to measure the noise floor so that I can find the threshold for pathloss measurement. I am using the attached flowgraph to calibrate the receiver signal strength. I tried two ways to calibrate the receiver power and both show me approximately -135 dBm/Hz noise spectral density.

1. At first I don't transmit anything and measure the power of the floating point numbers that is coming out of rx USRP block. Then  I transmit a PN sequence of -5 dBm power at 17 MS/s from an USRP. I connect this USRP through a 60 dB attenuator to the receiver USRP. This input (-65 dBm) seems to double the power of the floating point numbers. I infer that the my USRP noise floor is equivalent to -65 dB at 17 MHz.

2. I also apply an external 1 MHz noise source of -75 dBm power to the receiver USRP. This leads to an increase of 3 dB power in the receiver FFT plot. This also suggests I have -75 dBm noise power at 1 MHz.

Both these experiments suggest -135 dBm/Hz noise spectral density in my rx USRP. However, this is very far from theoretical noise spectral density (approximately -170 dBm/Hz). My Rx USRP N210 has a WBX daughterboard and my Tx USRP has an SBX daughterboard. The ettus websites suggest only 6 dB noise figure (http://code.ettus.com/redmine/ettus/documents/16). If my USRP daughterboard is not faulty, I must be giving some wrong parameters. I put the RX gain as 30 dB to get the full range of WBX daughterboards (http://files.ettus.com/uhd_docs/manual/html/dboards.html). Shall I increase it more?

Thanks for your help.

Nazmul


--
Muhammad Nazmul Islam

Graduate Student
Electrical & Computer Engineering
Wireless Information & Networking Laboratory
Rutgers, USA.

Re: [Discuss-gnuradio] digital_constellation.cc

On Tue, Jun 26, 2012 at 9:07 PM, sibar002 <sibar002@ucr.edu> wrote:
>
> Hello,
>
> I have been trying to modify certain parts of the digital_constellation.cc
> file, but I am unable to see the changes that I make. I have made changes to
> the bpsk section of this file. I am making the d_constellation[0] variable
> equal to gr_complex(1,0). I am trying to see my result by printing a
> variable called s_p that I created in the bpsk.py file.
>
> s_p = digital_swig.constellation_bpsk().points()
>
> I should be seeing ((1,0),(1,0)) for my points after I make the file, but I
> continue to see ((-1,0),(1,0)). I was wondering someone could give me some
> advice on what I'm doing wrong. I would greatly appreciate any help.
>
> Sam


Sam,
Make sure you run 'make install' afterwards to install it properly.

Tom

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

[Discuss-gnuradio] peaks without antenna

Hi, 
I was running uhd_fft.py on USRP2 with rfx900 doughter-board. The parameters that I am using are  850 Mhz center frecuency, sample rate 10 Mhz. I got a peak every 500 KHz even though no antenna is connected.

I dont know what is wrong, please help me

thank you
Julio

[Discuss-gnuradio] digital_constellation.cc

Hello,

I have been trying to modify certain parts of the digital_constellation.cc
file, but I am unable to see the changes that I make. I have made changes to
the bpsk section of this file. I am making the d_constellation[0] variable
equal to gr_complex(1,0). I am trying to see my result by printing a
variable called s_p that I created in the bpsk.py file.

s_p = digital_swig.constellation_bpsk().points()

I should be seeing ((1,0),(1,0)) for my points after I make the file, but I
continue to see ((-1,0),(1,0)). I was wondering someone could give me some
advice on what I'm doing wrong. I would greatly appreciate any help.

Sam
--
View this message in context: http://old.nabble.com/digital_constellation.cc-tp34075958p34075958.html
Sent from the GnuRadio mailing list archive at Nabble.com.


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

Re: [Discuss-gnuradio] why is bandwidths of benchmark_tx.py and tunnel are different

On 06/26/2012 10:08 AM, Weixian Zhou wrote:
> I noticed that the bandwidths of benchmark_tx.py is wide and tunnel.py is
> narrow in the same frequency and same bit rate. I run uhd_fft on machine A,
> then run
> *./benchmark_tx.py -f 2.42G -r 1M*
> and
> *sudo ./tunnel.py -f 2.42G -r 1M*
> on machine B in turn. I got the uhd_fft wave as attached. Anyone can
> explain why it happens? And is there any way to tune the bandwidth of
> benchmark and tunnel?
>

Perhaps there is not data for tunnel.py to transmit? In contrast,
benchmark tx is constantly transmitting. -josh

>
>
> _______________________________________________
> 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

Re: [Discuss-gnuradio] Clean remote kill of python flowgraph

On 06/26/2012 03:58 PM, Nowlan, Sean wrote:
> Hi all,
>
> I would like to be able to remotely terminate a running Python-only
> flowgraph (no GRC). I basically set up the XMLRPC server to call
> "stop()" and "wait()" on the flowgraph object instance, but it leaves
> the USRP LO up. I would like the radio to be torn down completely.
>

You need to make the source/sink object go out of scope. Disconnect it
and assign all references to None. That tends to encourage the python GC
to delete.

> Looking at gr_uhd_usrp_sink, it appears that the "stop" method
> overrides gr_top_block's by sending an end-of-burst message to UHD,
> but apparently this isn't doing the trick. Any advice?
>

There is this unimplemented feature coming to mind. The user selects the
frontend specification (deselects it actually) such that the software
knows SBX frontend isnt mapped to any DSP channels and it gets shutdown
by the software.

-josh

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

[Discuss-gnuradio] Clean remote kill of python flowgraph

Hi all,

 

I would like to be able to remotely terminate a running Python-only flowgraph (no GRC). I basically set up the XMLRPC server to call “stop()” and “wait()” on the flowgraph object instance, but it leaves the USRP LO up. I would like the radio to be torn down completely.

 

Looking at gr_uhd_usrp_sink, it appears that the “stop” method overrides gr_top_block’s by sending an end-of-burst message to UHD, but apparently this isn’t doing the trick. Any advice?

 

Thanks,

Sean

Re: [Discuss-gnuradio] GSoC: Filter design enhancements progress

On Tue, Jun 26, 2012 at 1:50 PM, sreeraj r <srees4srees@yahoo.co.in> wrote:
> Hi John,
> As Marcus already mentioned you can use design functions from firdes module
> (gr_filter_design also uses these modules).
>
> Martin, Josh and Tom gave me many suggestions regarding adding the designer
> to GRC, so that users can launch the designer from GRC itself (something
> like this http://www.youtube.com/watch?v=aqLIPHXCM1M&feature=plcp). This
> feature will be added to GRC once the design tool is complete.
>
> Thank you for your suggestions.
>
> ---
> Regards
> Sreeraj Rajendran
> http://home.iitb.ac.in/~rsreeraj
>
> ________________________________
> From: John Malsbury <john.malsbury@ettus.com>
> To: discuss-gnuradio@gnu.org
> Sent: Tuesday, 26 June 2012 10:51 PM
> Subject: Re: [Discuss-gnuradio] GSoC: Filter design enhancements progress
>
> That is pretty awesome, Sreeraj.  Is the output of the program a set of
> co-efficients to be copy-pasted, a compilable block, or something else?  It
> might be useful to have a feature where the user can call a custom python
> script with the co-efficients passed as arguments.  This would allow users
> to easily generate formatted files, like those used by Xilinx coregen or
> some custom format that might be poked to the FPGA, for example.  It would
> be neat to make some updates to GRC to allow the user to open the utility
> and re-generate co-efficients as they do in MATLAB.
>
> This is making me think of some other potential projects, like a similar
> 'digital modulation designer'.  For example, we might use a single block for
> all modulation types, select the modulation type and parameters, run
> simulations to determine BER vs. Eb/N0, theoretical discrete constellations,
> ACPR, PAR, etc.  Or perhaps, a "packet designer" where you can graphically
> configure FEC, interleaving, sync words, etc.  Obviously, the complexity on
> this one could grow real fast.
>
> Just ideas... Hopefully you'll have a chance to present your approach to
> this at the GNU Radio conference.
>
> -John


Yeah, I agree with John, it would be nice to be able to get the taps
from the filter design tool into a Python program easily. As Sreeraj
said, this tool uses firdes and optfir from GNU Radio, so you could
just transfer the numbers from one to the other once you're satisfied
with your filter design, but that seems inefficient.

Before handing this off to Sreeraj for the GSoC, I had implemented a
"save as" feature in the tool that saves the coefficients to a CSV
file, so you could, like to said, John, read in these taps. There's no
helper for it, yet, though, so you have to open and read the CSV file
from the basics, but it could easily be rolled into a single function.

On the other hand, since the gr_filter_design tool is PyQT based, we
could create a set of signals and slots to be able to change things
programmatically. With a "get_taps" function, we could have this
program be launched as a dialog box, create the taps, and then
directly import them all from a single Python GNU Radio app. You
wouldn't want to do this all the time, but it could be a nice feature
(for instance, you first check if there is a CSV file of taps, and if
not, launch the design tool to create them and save them for the next
time).

Tom

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

Re: [Discuss-gnuradio] USRP configuration output not implemented in this version

You are using a version of UHD that does not have the functions necessary to output the USRP configuration. You are either using a pre-003.004.000 UHD, a recent release, or the maint branch.

This feature is only available on UHD's master branch.

On 06/26/2012 10:46 AM, Julio Hector Aguilar Renteria wrote:
Help error USRP configuration output not implemented in this version


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

--   Nicholas Corgan

Re: [Discuss-gnuradio] GSoC: Filter design enhancements progress

Hi John,
As Marcus already mentioned you can use design functions from firdes module (gr_filter_design also uses these modules).

Martin, Josh and Tom gave me many suggestions regarding adding the designer to GRC, so that users can launch the designer from GRC itself (something like this http://www.youtube.com/watch?v=aqLIPHXCM1M&feature=plcp). This feature will be added to GRC once the design tool is complete.

Thank you for your suggestions.
 
---
Regards
Sreeraj Rajendran
http://home.iitb.ac.in/~rsreeraj


From: John Malsbury <john.malsbury@ettus.com>
To: discuss-gnuradio@gnu.org
Sent: Tuesday, 26 June 2012 10:51 PM
Subject: Re: [Discuss-gnuradio] GSoC: Filter design enhancements progress

That is pretty awesome, Sreeraj.  Is the output of the program a set of co-efficients to be copy-pasted, a compilable block, or something else?  It might be useful to have a feature where the user can call a custom python script with the co-efficients passed as arguments.  This would allow users to easily generate formatted files, like those used by Xilinx coregen or some custom format that might be poked to the FPGA, for example.  It would be neat to make some updates to GRC to allow the user to open the utility and re-generate co-efficients as they do in MATLAB.

This is making me think of some other potential projects, like a similar 'digital modulation designer'.  For example, we might use a single block for all modulation types, select the modulation type and parameters, run simulations to determine BER vs. Eb/N0, theoretical discrete constellations, ACPR, PAR, etc.  Or perhaps, a "packet designer" where you can graphically configure FEC, interleaving, sync words, etc.  Obviously, the complexity on this one could grow real fast.

Just ideas... Hopefully you'll have a chance to present your approach to this at the GNU Radio conference.

-John



On 06/26/2012 09:35 AM, Ben Hilburn wrote:
Sreeraj -

I just wanted to echo Tom's thoughts that this look really, really great!  I can't wait to see the final version!  This will really be a significant contribution to the capabilities of GNU Radio, in my opinion.

Cheers,
Ben

On Sun, Jun 24, 2012 at 7:05 AM, sreeraj r <srees4srees@yahoo.co.in> wrote:
Hi all,
During the initial phase of SoC, I was concentrating on improving the GUI for filter designing. A brief list of some of the major features added to the filter design tool (gr_filter_design) is given below

--Support for multiple views (grid and old tabbed view)
--Stop-band attenuation configuration via Band-diagram
--Editable pole-zero plots with conjugate movement support
--Impulse, Step responses, phase delay plots 
--Overlay plots

A complete update history along with the code can be found in the github repository(https://github.com/zeroXzero/gr-filtdes). A small video on the current status of the tool can be found here http://www.youtube.com/watch?v=Oi6PTrht1F8&feature=plcp

The tool is not completely tested as some more bugs need to be patched. A few more feature additions like add/delete buttons for poles and zeros, alignment of band-diagram, addition of button icons etc are still pending. All these additions will be done with in a few days. In the meantime it would be really helpful if the community can provide feedback in terms of feature additions or bugs so that I can improve the design.

After finishing this work I will start working on the actual IIR filter designs as gr-filter has already been merged to the master.
 
---
Regards
Sreeraj Rajendran
http://home.iitb.ac.in/~rsreeraj

_______________________________________________
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 mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] GSoC: Filter design enhancements progress

Yes, I know.  Speaking from the standpoint of design flow, it would be helpful if the user doesn't need to touch those lines of code if they'd like to take advantage of the filter designer.

For example, if you could output the co-efficients to a file, and your code calls:

    coeffs = get_coeffs_from_file(my_coeffs_file.csv)

you'd be able to take advantage of the analytical features of the filter designer without modifying your code.  And lets say someday you had a FIR filter hardware.  A custom script might generate a file of a specified format, and the device driver could pick up the file and poke the coefficients.  In short, having the ability to call a custom script allows the user to produce a file of arbitrary format, or do any other arbitrary operation with the coeffecients.

-John



On 06/26/2012 10:27 AM, mleech@ripnet.com wrote:

John:

Well, there's already gr.firdes, which can be called directly from python, and produce coefficients that can be easily transformed into whatever you need.

Granted, that's only for relatively-simple filters.

from gnuradio import gr

coeffs=gr.firdes.low_pass(1.0,samp_rate,corner_freq,transition_width,widnow,beta)

And then do whatever you want with the resulting coefffs (like scaling to fixed-point 16-bit values, for example)

-Marcus

 

On 26 Jun 2012 13:21, John Malsbury wrote:

That is pretty awesome, Sreeraj.  Is the output of the program a set of co-efficients to be copy-pasted, a compilable block, or something else?  It might be useful to have a feature where the user can call a custom python script with the co-efficients passed as arguments.  This would allow users to easily generate formatted files, like those used by Xilinx coregen or some custom format that might be poked to the FPGA, for example.  It would be neat to make some updates to GRC to allow the user to open the utility and re-generate co-efficients as they do in MATLAB.

This is making me think of some other potential projects, like a similar 'digital modulation designer'.  For example, we might use a single block for all modulation types, select the modulation type and parameters, run simulations to determine BER vs. Eb/N0, theoretical discrete constellations, ACPR, PAR, etc.  Or perhaps, a "packet designer" where you can graphically configure FEC, interleaving, sync words, etc.  Obviously, the complexity on this one could grow real fast.

Just ideas... Hopefully you'll have a chance to present your approach to this at the GNU Radio conference.

-John



On 06/26/2012 09:35 AM, Ben Hilburn wrote:
Sreeraj -
 
I just wanted to echo Tom's thoughts that this look really, really great!  I can't wait to see the final version!  This will really be a significant contribution to the capabilities of GNU Radio, in my opinion.
 
Cheers,
Ben

On Sun, Jun 24, 2012 at 7:05 AM, sreeraj r <srees4srees@yahoo.co.in> wrote:
Hi all,
During the initial phase of SoC, I was concentrating on improving the GUI for filter designing. A brief list of some of the major features added to the filter design tool (gr_filter_design) is given below

--Support for multiple views (grid and old tabbed view)
--Stop-band attenuation configuration via Band-diagram
--Editable pole-zero plots with conjugate movement support
--Impulse, Step responses, phase delay plots 
--Overlay plots

A complete update history along with the code can be found in the github repository(https://github.com/zeroXzero/gr-filtdes). A small video on the current status of the tool can be found here http://www.youtube.com/watch?v=Oi6PTrht1F8&feature=plcp
 
The tool is not completely tested as some more bugs need to be patched. A few more feature additions like add/delete buttons for poles and zeros, alignment of band-diagram, addition of button icons etc are still pending. All these additions will be done with in a few days. In the meantime it would be really helpful if the community can provide feedback in terms of feature additions or bugs so that I can improve the design.
 
After finishing this work I will start working on the actual IIR filter designs as gr-filter has already been merged to the master.
 
---
Regards
Sreeraj Rajendran
http://home.iitb.ac.in/~rsreeraj

_______________________________________________
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 mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio