From 5208cc8b60472330af61b28ea62d2f2a546fb00f Mon Sep 17 00:00:00 2001 From: Nick Foster Date: Thu, 26 May 2011 13:48:25 -0700 Subject: tx_waveform: no SOB for continuous streaming --- host/examples/tx_waveforms.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'host/examples') diff --git a/host/examples/tx_waveforms.cpp b/host/examples/tx_waveforms.cpp index cd706e0f5..6b2ed82da 100644 --- a/host/examples/tx_waveforms.cpp +++ b/host/examples/tx_waveforms.cpp @@ -180,7 +180,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ //setup the metadata flags uhd::tx_metadata_t md; - md.start_of_burst = true; //for starting the stream + md.start_of_burst = false; //no for continuous streaming md.end_of_burst = false; md.has_time_spec = true; md.time_spec = uhd::time_spec_t(0.1); @@ -210,13 +210,11 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ uhd::io_type_t::COMPLEX_FLOAT32, uhd::device::SEND_MODE_FULL_BUFF ); - md.start_of_burst = false; md.time_spec += uhd::time_spec_t(0, num_sent, rate); } //send a mini EOB packet - md.start_of_burst = false; md.end_of_burst = true; usrp->get_device()->send("", 0, md, uhd::io_type_t::COMPLEX_FLOAT32, -- cgit v1.2.3