discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] GRC+USRPx file sink problem


From: David Evans
Subject: Re: [Discuss-gnuradio] GRC+USRPx file sink problem
Date: Thu, 19 Aug 2010 09:42:07 -0700 (PDT)

Thanks, so it is.

Unfortunately though, I have discovered that the gain for an RFX card cannot be 
adjusted (min=0, max=0, step=0), requiring a massive multiply value in 
gnuradio-companion, so its all very distorted. :-(

Cheers,
Dave







----- Original Message ----
From: Marcus D. Leech <address@hidden>
To: address@hidden
Sent: Wed, 18 August, 2010 20:26:38
Subject: Re: [Discuss-gnuradio] GRC+USRPx file sink problem

On 08/18/2010 01:41 PM, David Evans wrote:
> Hi,
>
> GRC Setup (used with RFX and WBX cards)...
>
> USRP1 ---to---> FFT Graphical sink (shows signal spectrum as expected)
>      and  ---to---> Complex to IShort -----to----> File Sink (signals are 
>dumped 
>
> to disk as expected)
>
> USRP2 ---to---> FFT Graphical sink (shows signal spectrum as expected)
>      and  ---to---> Complex to IShort ----to----> File Sink (******file is 
> all 

> zeros******)
>
> Tried with 3.3.0 and git 3.3.1, and on three different installations/USRPs. 
> Basically zero output with USRP2.
> USRP2 works fine with python scripts eg, usrp2_fft.py with --output-shorts.
>
> Any ideas please?
>
> Dave
>
>  
My guess is that with USRP2, samples are scaled -1.0 to 1.0.  Which
means that a straight conversion to
  a short integer is going to yield zero most of the time.  Try putting
a multiplier block in front of your
  file sink--maybe scale those -1.0 to +1.0 to +/- 32767.




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



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







reply via email to

[Prev in Thread] Current Thread [Next in Thread]