[USRP-users] Trouble on loopback for square waves

Neel Pandeya neel.pandeya at ettus.com
Mon Apr 6 11:55:23 EDT 2015


Hello Soumen:

At first glance, I don't immediately see any problem with your code. It
might be helpful to look at the "tx_waveforms" utility in the
"uhd/host/examples" folder. It also generates square waves.

Which USRP and which daughterboard are you using? What sample rate?

--Neel



On 1 April 2015 at 04:52, Soumen Banerjee via USRP-users <
usrp-users at lists.ettus.com> wrote:

> Hi,
>
> I am having some trouble sending and receiving square waves using uhd
> programs. I have the receiver and transmitter connected using rf cable. On
> the exact same program, I am able to send and receive sine waves properly
> though. I have attached the code I'm using to transmit and receive the data
> into the file. All the parameters are hardcoded in the code file itself.
>
> Simply exchanging line 230 with line 231 causes it to work just fine(for
> sine waves).
>
> Also attached is a  snapshot of what I get instead of square waves.
>
> Can someone please help? Im totally stuck on this one!
>
> Regards,
> Soumen
>
> _______________________________________________
> USRP-users mailing list
> USRP-users at lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20150406/292b57dd/attachment-0002.html>


More information about the USRP-users mailing list