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.