aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples/rx_samples_to_file.cpp
Commit message (Collapse)AuthorAgeFilesLines
* uhd: Remove deprecated objects and methodsMartin Braun2019-11-261-1/+0
| | | | | | | | | This removes the following symbols: - otw_type_t - clock_config_t - Any functions that use those symbols - Non-standard args from examples (e.g., --total-time is deprecated in favour of --duration)
* Examples: wrap up ref setting with option checknatetemple2019-11-241-1/+3
|
* examples: remove thread priority elevationCiro Nishiguchi2019-10-221-2/+0
| | | | | | | Remove UHD call to elevate thread priority to realtime. Setting all threads to the same realtime priority can cause the threads to not share access to the network interface fairly, which adversely affects operation of the worker threads in UHD.
* uhd: mpm: apply clang-format to all filesBrent Stapleton2019-01-161-152/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Applying formatting changes to all .cpp and .hpp files in the following directories: ``` find host/examples/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/tests/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/dboard/neon/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/dboard/magnesium/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/device3/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/mpmd/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/x300/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/utils/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find mpm/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file ``` Also formatted host/include/, except Cpp03 was used as a the language standard instead of Cpp11. ``` sed -i 's/ Cpp11/ Cpp03/g' .clang-format find host/include/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file ``` Formatting style was designated by the .clang-format file.
* examples: utils: skip formatting program optionsBrent Stapleton2019-01-161-0/+2
| | | | | | Turning off clang formatting around the program option declarations. clang-format makes them looks bad an unreadable because it thinks the options are function calls or something.
* Examples: Add LO Offset to rx_samples_to_filenatetemple2019-01-101-2/+6
|
* Examples: Fix channel argument for rx_samples_to_fileMichael West2018-08-291-18/+18
|
* examples: De-boostify rx_samples_to_fileMartin Braun2018-04-181-47/+93
| | | | | Removes boost::bind and all Boost time types from this example. Re-enables compatibility with Boost 1.67.
* examples: Fix some minor compiler warningsMartin Braun2018-02-191-3/+7
| | | | All warnings reported by MSVC. Mostly related to narrowing conversions.
* uhd: Update license headersMartin Braun2018-02-191-1/+2
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* utils: add set_thread_name API call, move thread_priority to threadAndrej Rode2017-06-291-1/+1
|
* examples: Added channel param for samps to/from file exampleAshish Chaudhari2017-05-241-2/+7
| | | | - Also, fixed an issue with the --repeat option in tx_samples_from_file
* examples: Added real streaming modesMartin Braun2017-05-151-5/+12
|
* Merge branch 'maint'Martin Braun2015-03-271-1/+1
|\
| * Warning fixesNicholas Corgan2015-03-271-1/+1
| | | | | | | | | | | | | | * CMake now not applying C++ flags to C files * GCC 4.4: anti-aliasing rules * MSVC: narrowing, differences in subclass function parameters * Clang: uninitialized variables
* | Merge branch 'maint'Martin Braun2015-02-121-2/+2
|\| | | | | | | | | Conflicts: host/examples/rx_samples_to_file.cpp
| * examples: Show set_rx_bandwidth units properly in MHz in all examplesRajib Bhattacharjea2015-02-091-2/+2
| | | | | | | | | | Conflicts: host/examples/rx_samples_to_file.cpp
* | Merge branch 'maint'Martin Braun2014-12-151-3/+3
|\| | | | | | | | | Conflicts: host/examples/rx_samples_to_file.cpp
| * host/examples: rm'ed refs to d'boards, IF freq.Marcus Müller2014-12-121-4/+4
| | | | | | | | | | To reflect a reality where some USRPs don't have daughterboards, and set_xx_bandwidth doesn't necessarily set an /IF/ bandwidth.
* | examples: Whitespace and other cleanupMartin Braun2014-10-281-97/+101
|/
* changed parameter --time to --durationJulian Arnold2014-10-201-19/+15
|
* uhd: Added a stop stream cmd to the rx exampleMartin Braun2014-08-251-0/+3
|
* Fixing help text for --ref argument in some examples. Reported by MarcusBen Hilburn2014-06-301-1/+1
| | | | Mueller.
* uhd: Added nicer error reporting to rx examplesMartin Braun2014-04-101-11/+8
|
* Pushing the bulk of UHD-3.7.0 code.Ben Hilburn2014-02-141-1/+1
|
* 120 MHz daughterboard support, Integer-N tuning, ADF435x code consolidationNicholas Corgan2014-01-241-2/+6
| | | | | | | * Added support for new CBX-120, SBX-120, and WBX-120 daughterboards * Added implementation of Integer-N tuning for all CBX, SBX, and WBX daughterboards * Added --int-n option to examples to show how to use Integer-N tuning API * Removed duplicate ADF4350/ADF4351 code and moved it to common/adf435x_common.cpp
* uhd: help strings for 'stats' and 'progress' were reversedBalint Seeber2013-11-061-2/+2
|
* uhd: improvements to rx samples to fileBalint Seeber2013-07-241-43/+164
|
* uhd: added new calls to streamer object + support workJosh Blum2013-07-151-1/+1
| | | | | | | * The transmit streamer gives access to the async msg queue. * The receive streamer gives access to the issue stream cmd. * Supporting usrp implementation files updated. * Example applications updated to use this API.
* examples & utils: return EXIT_FAILURE and EXIT_SUCCESS respectivelyMoritz Fischer2012-10-261-1/+1
| | | | instead of 0 and 1.
* uhd: added wireformat to samples to fileJosh Blum2011-12-091-5/+7
|
* rx_samples_to_file is not streaming the correct nsampsJason Abele2011-11-281-15/+24
| | | | | "innovations" in rx_streamer cause it to clear stream commands move stream command to be issued after rx_streamer is created
* uhd: updated ref sensor checks for new option namesJosh Blum2011-11-101-2/+2
|
* uhd: modify examples to use new time/clock source APIJosh Blum2011-11-071-13/+2
|
* uhd: renamed some of the stream types and functionsJosh Blum2011-11-031-2/+2
|
* uhd: updated examples to use new streamer interfaceJosh Blum2011-11-031-8/+9
|
* uhd: help messages for user on rx samples to fileJosh Blum2011-10-081-1/+15
|
* Updates to example appsJason Abele2011-09-211-1/+37
| | | | | | Add --ref option to specify mboard clock reference source Add check for lock to mboard clock reference (where applicable) Add check of daughterboard LO lock detect (where applicable)
* uhd: added continuous streaming and new options to tx_waveformsJosh Blum2011-03-111-4/+4
|
* uhd: a lot of tweaking, new parameters, and sig handler for to/from file ↵Josh Blum2011-03-111-17/+55
| | | | examples
* uhd: created tx_samples_from_file.cpp and added to rx_samples_to_file.cppJosh Blum2011-03-111-42/+39
|
* usrp: implement sensors in all the dboards, deprecated read rssi and get lo ↵Josh Blum2011-02-111-1/+0
| | | | locked
* uhd: replaced sdev and single usrp in examples with usrp and multi usrpJosh Blum2011-01-311-16/+15
|
* uhd: update copyright dates on host codeJosh Blum2011-01-131-1/+1
|
* uhd: replace all the instances of float not pertaining to io types with ↵Josh Blum2011-01-111-3/+2
| | | | double, simplifies life
* uhd: removed dilv in rx files examplesJosh Blum2010-10-271-7/+0
|
* uhd: added rx samples to udp example, cleaned up other examples, added gain ↵Josh Blum2010-10-271-0/+142
options