03-07-2022 04:55 AM
We are having Ni USRP 2922 board . We want to simulate and test any example design without LABView tool . Ni USRP 2922 will connect to host Linux PC through ethernet. Is there any C compiler code to transmit IQ data. It will be very helpful if you can provide any C code and Documents regarding this.
03-07-2022 10:13 AM
Hi dheeraj.11,
as an alternative to using the USRP-2922 with the NI-USRP LabVIEW driver it can also be used via the open source UHD driver in C, C++ and python. Here is a helpful knowledge page link Using NI USRP Devices with UHD and GNU Radio (also note the links at the bottom of the page for the UHD Manual).
Kind Regards,
Marian
03-09-2022 01:07 AM
Thank You Marian for reply.
Actually I am receiving IQ data on host Linux PC through socket programming the same data I want to transmit to the USRP module 2922. Is there any other way apart from LabView and GNU Radio to communicate with USRP 2922 module through ethernet.
03-09-2022 02:20 AM - edited 03-09-2022 02:20 AM
Hi dheeraj.11,
the USRP 2922 can be directly programmed via the UHD C++ API or python API. In the UHD manual please refer to Ettus model N210, which the USRP 2922 is based on. The API includes functions to stream data via Ethernet (see also https://files.ettus.com/manual/page_stream.html). You can find details on the transport protocol at https://files.ettus.com/manual/page_rtp.html (the N210 is a Generation-2 device).
Kind Regards,
Marian
03-16-2022 11:44 PM
Hi Marian ,
We are facing issue after installing UHD drivers while running the C API codes . . https://github.com/EttusResearch/uhd/blob/master/host/examples/tx_samples_c.c.
Attached screenshots for your reference.