USRP Software Radio

cancel
Showing results for 
Search instead for 
Did you mean: 

Transmit a Square Wave

I am very new to the SDR & RF community and had some beginner questions.   I was hoping to create and transmit a base band square wave to a certain center frequency (for ex. 2 Ghz), and see the actual square wave on a spectrum analyzer.

 

Currently I have about 8000 I & Q (1/4 out of phase) data pairs representing the wave, stored in a C++ vector.  When I transmit the base band signal, a very thin spike is produced on a spectrum analyzer at the center frequency. 

 

Could someone explain to me what is happening?  I now realize after research a nice square wave doesn't just appear, however I was wondering if its possible?

 

Finally, when I change the bandwidth of the USRP with the C++ API, and I changing the range of frequencies, or changing information about sample rates?

 

Sorry for the clearly ignorant questions, but I am very confused.

0 Kudos
Message 1 of 1
(1,881 Views)