Hi Martin,
Thank you for verifying my code I was able to put in debugging printf
statements, and was able to figure out what was wrong (although I couldn't get
the GR logging statements like debug to show). The message was indeed getting
to the UHD sink, but I realized that I needed to also specify the parameter for
lo_offset otherwise the key 'freq' just sets the lo_offset to 0. I was using
Bastian's gr-ieee802-11 library, and I didn't realize the way that he tunes his
center freq is different than just uhd.tune_request(target_freq, lo_offset). He
actually uses uhd.tune_request(target_freq, rf_freq=freq-lo_offset,
rf_freq_policy = uhd.tune_request.POLICY_MANUAL). So I modified the code like
below:
::uhd::tune_request_t request;
request.target_freq = freq;
request.rf_freq_policy = ::uhd::tune_request_t::POLICY_MANUAL;
request.rf_freq = rx_freq - lo_offset;
new_tune_reqest = ::uhd::tune_request_t(request);
.
.
_update_curr_tune_req(new_tune_reqest, chan);
That did the trick. Thank you for your help.
-Sarah
-Original Message-
From: USRP-users [mailto:usrp-users-boun...@lists.ettus.com] On Behalf Of
usrp-users-requ...@lists.ettus.com
Sent: Wednesday, January 24, 2018 7:00 AM
To: usrp-users@lists.ettus.com
Subject: USRP-users Digest, Vol 89, Issue 21
Send USRP-users mailing list submissions to
usrp-users@lists.ettus.com
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
or, via email, send a message with subject or body 'help' to
usrp-users-requ...@lists.ettus.com
You can reach the person managing the list at
usrp-users-ow...@lists.ettus.com
When replying, please edit your Subject line so it is more specific
than "Re: Contents of USRP-users digest..."
Today's Topics:
1. Re: UHD Converter for X310 series with unsupported data
format (Kei Nguyen)
2. Re: Help on UHD Python API installation (Zhongyuan Zhao)
3. Re: Help on UHD Python API installation (Zhongyuan Zhao)
4. Using both sides of an NI USRP-2953R (da...@daryllee.com)
5. Re: UHD Converter for X310 series with unsupported data
format (Martin Braun)
6. Re: Help on UHD Python API installation (Martin Braun)
7. Re: Using both sides of an NI USRP-2953R (Martin Braun)
8. Re: 2 B210 synchronous problem (Martin Braun)
9. Re: USRP with different GPSDO (Martin Braun)
10. Re: Passing Messages as Commands to UHD Sink (Martin Braun)
11. Re: use 2 DDC chain of N210 with SBX (Martin Braun)
12. Re: transmit underrun in dual 10Gige X310 config (Martin Braun)
13. Re: [RFNoC] uhd_usrp_probe fails and throws uhd::lookup_error
(Adam Kurisko)
14. Re: [RFNoC] uhd_usrp_probe fails and throws uhd::lookup_error
(Martin Braun)
15. [UHD] Dependency changes: MSVC and Vivado (Martin Braun)
16. Re: [RFNoC] uhd_usrp_probe fails and throws uhd::lookup_error
(Adam Kurisko)
17. Re: [RFNoC] uhd_usrp_probe fails and throws uhd::lookup_error
(Martin Braun)
18. [UHD] Changes to uhd_images_downloader (Martin Braun)
19. uhd error with new version (Dang tien Vo-Huu)
20. Re: 2 B210 synchronous problem (Piotr Krysik)
21. Re: [RFNoC] uhd_usrp_probe fails and throws uhd::lookup_error
(EJ Kreinar)
22. Re: use 2 DDC chain of N210 with SBX (omid saeedy)
23. Re: [RFNoC] uhd_usrp_probe fails and throws uhd::lookup_error
(Adam Kurisko)
--
Message: 1
Date: Tue, 23 Jan 2018 12:13:48 -0500
From: Kei Nguyen
To: usrp-users@lists.ettus.com
Subject: Re: [USRP-users] UHD Converter for X310 series with
unsupported data format
Message-ID: