commit-gnuradio
[Top][All Lists]
Advanced

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

Re: [Commit-gnuradio] r10219 - gnuradio/trunk/gr-usrp/apps


From: Eric Blossom
Subject: Re: [Commit-gnuradio] r10219 - gnuradio/trunk/gr-usrp/apps
Date: Tue, 13 Jan 2009 22:03:19 -0800
User-agent: Mutt/1.5.18 (2008-05-17)

On Tue, Jan 13, 2009 at 09:19:13PM -0800, Matt Ettus wrote:
>
> Josh,
>
> I know you mentioned this at the office today.  Can you explain this a  
> little more?
>
> Thanks,
> Matt

FWIW, Josh's fix is correct.  

On Tx the first param is subdev->which() since the DUC depends on the
side.  On Rx, we're always using DDC 0 by default.

Eric



> address@hidden wrote:
>> Author: jblum
>> Date: 2009-01-13 22:06:23 -0700 (Tue, 13 Jan 2009)
>> New Revision: 10219
>>
>> Modified:
>>    gnuradio/trunk/gr-usrp/apps/usrp_rx_cfile.cc
>> Log:
>> always use ddc0
>>
>> Modified: gnuradio/trunk/gr-usrp/apps/usrp_rx_cfile.cc
>> ===================================================================
>> --- gnuradio/trunk/gr-usrp/apps/usrp_rx_cfile.cc     2009-01-14 04:34:14 UTC 
>> (rev 10218)
>> +++ gnuradio/trunk/gr-usrp/apps/usrp_rx_cfile.cc     2009-01-14 05:06:23 UTC 
>> (rev 10219)
>> @@ -131,7 +131,7 @@
>>         /* Set the USRP/dboard frequency */
>>    usrp_tune_result r;
>> -  bool ok = usrp->tune(subdev->which(), subdev, freq, &r);
>> +  bool ok = usrp->tune(0, subdev, freq, &r); //DDC 0
>>       if(!ok) {
>>      throw std::runtime_error("Could not set frequency.");
>>
>>
>>
>> _______________________________________________
>> Commit-gnuradio mailing list
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/commit-gnuradio
>>   
>
>
>
> _______________________________________________
> Commit-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/commit-gnuradio
>




reply via email to

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