From da018c53b473428bc5a53134136db24bdc3cf4dc Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Fri, 15 Aug 2014 16:06:28 -0700 Subject: Give user the option to ignore daughterboard's calibration file at runtime * Add "ignore-cal-file" to the uhd::device_addr_t arguments * Added documentation for new feature --- host/docs/calibration.dox | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'host/docs/calibration.dox') diff --git a/host/docs/calibration.dox b/host/docs/calibration.dox index 494cfca49..42a5825ca 100644 --- a/host/docs/calibration.dox +++ b/host/docs/calibration.dox @@ -66,5 +66,20 @@ recovered by the user. - **Linux:** `${HOME}/.uhd/cal/` - **Windows:** `%APPDATA%\.uhd\cal\` +\subsection ignore_cal_file Ignoring Calibration Files + +At runtime, the user can choose to ignore a daughterboard's calibration file by adding "ignore-cal-file" to the arguments. With the UHD API, it can be done as follows: + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~{.cpp} + uhd::device_addr_t hint; + hint["type"] = "usrp1"; + hint["ignore-cal-file"] = ""; + uhd::device_addrs_t dev_addrs = uhd::device::find(hint); +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Using tx_waveforms as an example, the user can apply this argument as follows: + + tx_waveforms --args="addr=192.168.10.2,ignore-cal-file" --freq=100e6 --rate=1e6 + */ // vim:ft=doxygen: -- cgit v1.2.3