I understand that UHD allows only one application to access the USRP device at a time, so running a separate Python/GNU Radio application for visualization concurrently is not an option for meYou can stream the data from your C++ program to a separate GNU Radio instance using ZMQ, see https://wiki.gnuradio.org/index.php/Understanding_ZMQ_Blocks
*From:* Marcus D. Leech <[email protected]> *Sent:* Tuesday, 2 September 2025 at 14:01 *To:* [email protected]*Subject:* [USRP-users] Re: Visualization of USRP Signals in C++ Application – Best Practices?
On 2025-09-02 03:33, Ravi Paswan via USRP-users wrote:This is all very much the domain of Gnu Radio, which you should definitely look into.Dear USRP Community,I’m currently working on a project using a *single USRP device* and programming it in *C++ via the UHD API*. My goal is to *receive baseband samples and visualize them* (time domain, spectrum, etc.) in real time or near-real time.I understand that UHD allows only one application to access the USRP device at a time, so running a separate Python/GNU Radio application for visualization concurrently is not an option for me.I’d appreciate any advice or best practices on the following: 1. *What are the recommended approaches for visualizing signals directly within a C++ application* that interacts with the USRP? 2. Has anyone successfully used C++ GUI libraries like *Qt (QCustomPlot/Qwt)* or *Dear ImGui + ImPlot* for real-time signal plotting? 3. Are there any examples or open-source projects demonstrating signal acquisition from UHD and real-time visualization in C++? 4. Would it be better to log the data to disk in C++ and visualize it separately post-capture (e.g., in Python), especially for debugging?Any insights, shared experiences, or example code would be greatly appreciated.Best regards, *Ravi Paswan*_______________________________________________ USRP-users mailing list [email protected] To unsubscribe send an email [email protected]
smime.p7s
Description: Kryptografische S/MIME-Signatur
_______________________________________________ USRP-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
