I met a strange problem about UHD output data. I write the sampler
program according to rx_timed_samples.cpp and use int 16 bits as io
type as in command:

size_t num_rx_samps = dev->recv( buff, sizeof(buff), md,
uhd::io_type_t::COMPLEX_INT16, uhd::device::RECV_MODE_ONE_PACKET );

Then I checked the output data and found that samples seems to be the
int 8 bit data since the minimum step is 0.0078125, which is equal to
2 power of -7. What could be the reason for this?

The range of an int16 is +/-2^15, the minimum step is 1 because its an integer. Did you by any change change the io type to int16, but interpret the buffer as a complex float?

-josh

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to