Dear Zhenya,

I can't reproduce this locally. Could you tell me how exactly, an how
often, you're setting the gain? What UHD version are you using? Which
Operating System? Which USB hardware?

Best regards,
Marcus

On Mon, Dec 18, 2017 at 6:49 AM, Soldier <tangzhenyu1...@163.com> wrote:

> Hi,
>
>      To do some wireless tests on my B210, I need to modify gain and
> frequency on real time. That means the RF gains or frequency parameters
> would be manual changed during RF transceiving.
>
>      Based on this, I tried to use  UHD function ( uhd_usrp_set_rx_gain()
> ) to reset the Rx gain while Rx streaming is not set to be stopped. Because
> this whole wireless test is based on precise timing.
>
>      However, after resetting the Rx gain on host PC level, the continuous
> fetched samples were probably effected by this RF changing and then
> resulted in wrong timing and failed synchronization very soon. Meanwhile, I
> did the resetting on the gap between two frames on purpose in case of
> influences on next frame.
>
>      I looked up the UHD manual and mail-list but found nothing. Most of
> them are talking about how to implement AGC on FPGA level but I want to do
> it on PC level through my C program.
> Besides, the Rx AGC module in UHD is not suitable for me since I don't
> want to raise Rx gain when there is no wanted signal at all.
>
>      Could you please help me about what should I do to minimize the
> damage caused by resetting ? How to reset RF gains or frequency properly
> without fatal influences?
>
>      And please tell me where I am wrong. Thanks a lot.
>
> Best regards,
> Zhenyu
>
>
>
>
>
>
>
>
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to