diff options
author | Nick Foster <nick@ettus.com> | 2011-05-26 13:48:25 -0700 |
---|---|---|
committer | Nick Foster <nick@ettus.com> | 2011-05-26 13:48:25 -0700 |
commit | 5208cc8b60472330af61b28ea62d2f2a546fb00f (patch) | |
tree | eec9fbba81ee4a7d9691fde8b5d047de79601d0f /host/examples/tx_waveforms.cpp | |
parent | c90282da8e88e5dc068736b16993558a29bb837e (diff) | |
download | uhd-5208cc8b60472330af61b28ea62d2f2a546fb00f.tar.gz uhd-5208cc8b60472330af61b28ea62d2f2a546fb00f.tar.bz2 uhd-5208cc8b60472330af61b28ea62d2f2a546fb00f.zip |
tx_waveform: no SOB for continuous streaming
Diffstat (limited to 'host/examples/tx_waveforms.cpp')
-rw-r--r-- | host/examples/tx_waveforms.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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, |