On 10/14/2011 03:31 AM, Kyle Zhou wrote: > the usrp_source in gr-uhd has two io_type uhd.io_type.COMPLEX_INT16 and > uhd.io_type.COMPLEX_FLOAT32. > To my understanding, the float version will produce samples between -1.0 and > +1.0. > What is the range of the int16 version? > If the same signal is fed into the antenna, what is the relative scaling > between these two versions? > Regards > K Z > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
1.0 for floats and (1 << 15) for shorts should map to the full-scale of the ADC/DAC. http://files.ettus.com/uhd_docs/doxygen/html/classuhd_1_1io__type__t.html -Josh _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
