Thanks for your answer Marcus. I am starting thinking that may be I am making any mistake in my testing code, so I will post below the code I use in the **Rx side** and don’t hesitate to tell me if you see anything suspicious :
`#define BURST_SIZE 2048 // Number of samples per Burst` ` std::vector<std::complex<float>> mybuff(BURST_SIZE, 0.0);` ` // Setup streaming` ` uhd::stream_cmd_t stream_cmd(uhd::stream_cmd_t::STREAM_MODE_START_CONTINUOUS);` ` // Configure receive streamer` ` stream_cmd.num_samps = BURST_SIZE; // Number of samples to receive when we call the recv() function` ` stream_cmd.stream_now = true;` ` rx_stream->issue_stream_cmd(stream_cmd);` ` uhd::rx_metadata_t md;` ` rx_stream->recv(&mybuff.front(), mybuff.size(), md);` ` /***** Write the received samples in a file **********/ ` ` std::this_thread::sleep_for(std::chrono::milliseconds(600000)); // Wait some time... ` ` rx_stream->recv(&mybuff.front(), mybuff.size(), md); ` ` /***** Append the received samples in the file **********/ ` ` // Stop receive streamer` ` stream_cmd.stream_mode = uhd::stream_cmd_t::STREAM_MODE_STOP_CONTINUOUS;` ` rx_stream->issue_stream_cmd(stream_cmd);`
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com