Re: [Discuss-gnuradio] USRP data sample values incorrect

2009-05-25 Thread Ujala Qasim
The following article states that ideally the sample values should be symmetric about 0, when tuned to 100.1 MHz. And the values shown are between -70 and 170:http://www.linuxjournal.com/article/7505 However my values are very big. What could be the problem? Also when I set my center_freq to 10010

Re: [Discuss-gnuradio] USRP data sample values incorrect

2009-05-24 Thread Ujala Qasim
I made the change and I am still getting the same values. On Mon, May 25, 2009 at 12:41 PM, Eric Blossom wrote: > On Mon, May 25, 2009 at 12:10:59PM +0600, Ujala Qasim wrote: > > Hi,I am trying to capture the data samples from the USB port of USRP > using > > the following code: > > > > #include

Re: [Discuss-gnuradio] USRP data sample values incorrect

2009-05-24 Thread Eric Blossom
On Mon, May 25, 2009 at 12:10:59PM +0600, Ujala Qasim wrote: > Hi,I am trying to capture the data samples from the USB port of USRP using > the following code: > > #include "usrp_standard.h" > > int buf[SAMPELS_PER_READ]; > int bufsize = SAMPELS_PER_READ*4; > > // Do USRP Samples Reading > for

[Discuss-gnuradio] USRP data sample values incorrect

2009-05-24 Thread Ujala Qasim
Hi,I am trying to capture the data samples from the USB port of USRP using the following code: #include "usrp_standard.h" // Dumy Function to process USRP data void process_data(int *buffer) { } #define SAMPELS_PER_READ (512) // Must be a multiple of 128 int main (int argc, char **argv) { bool lo