diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-05-12 15:21:22 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-05-12 15:21:22 +0200 |
commit | 1deec1418cd49e27bc2f7ddd6cd22ac6607642b3 (patch) | |
tree | 51f77ad85aac16fec86478bef6c430fd96596ed8 /src/OutputUHDFeedback.cpp | |
parent | d34574c9688791a83c0b18f501546228bcb40ccb (diff) | |
download | dabmod-1deec1418cd49e27bc2f7ddd6cd22ac6607642b3.tar.gz dabmod-1deec1418cd49e27bc2f7ddd6cd22ac6607642b3.tar.bz2 dabmod-1deec1418cd49e27bc2f7ddd6cd22ac6607642b3.zip |
DPD: Set RX gain and frequency, add gain to RX and config
Diffstat (limited to 'src/OutputUHDFeedback.cpp')
-rw-r--r-- | src/OutputUHDFeedback.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/OutputUHDFeedback.cpp b/src/OutputUHDFeedback.cpp index 9e3aab2..788b0a9 100644 --- a/src/OutputUHDFeedback.cpp +++ b/src/OutputUHDFeedback.cpp @@ -153,9 +153,6 @@ void OutputUHDFeedback::ReceiveBurstThread() const double usrp_time = m_usrp->get_time_now().get_real_secs(); const double cmd_time = cmd.time_spec.get_real_secs(); - etiLog.level(debug) << - "RX stream command ts=" << std::fixed << cmd_time << " Delta=" << cmd_time - usrp_time; - rxStream->issue_stream_cmd(cmd); uhd::rx_metadata_t md; @@ -173,9 +170,10 @@ void OutputUHDFeedback::ReceiveBurstThread() burstRequest.rx_second = md.time_spec.get_full_secs(); burstRequest.rx_pps = md.time_spec.get_frac_secs() * 16384000.0; - etiLog.level(debug) << "Read " << samples_read << " RX feedback samples " - << "at time " << std::fixed << burstRequest.tx_second << "." << - burstRequest.tx_pps / 16384000.0; + etiLog.level(debug) << "DPD: acquired " << samples_read << " RX feedback samples " << + "at time " << burstRequest.tx_second << " + " << + std::fixed << burstRequest.tx_pps / 16384000.0 << + " Delta=" << cmd_time - usrp_time; burstRequest.state = BurstRequestState::Acquired; |