Questions tagged [uhd]

UHD™ is the open source USRP Hardware Driver offered by Ettus for their series of Software Defined Radio devices.

UHD's job is to offer programmers a common API to get samples from and to the device and to control the various aspects of RF operation (tuning, gain setting, …).

Being mainly written in C++, it's highly modular and supports devices from the "original" USRP to the newest USRPs (being the third generation devices at the point of writing). It contains a C API to the C++ infrastructure.

There are pre-built binaries available for Ubuntu (& variants), Fedora and Windows; other OSes (e.g. OS X, other linux distros) are supported by automated build processes.

Technically, UHD is nearly completely a userland driver: The devices with USB and Network interface work completely without any specific kernel-mode code, and the embedded and PCIe-attached only need a mininmal data forwarding driver.

83 questions
11
votes
2 answers

Improving/optimizing file write speed in C++

I've been running into some issues with writing to a file - namely, not being able to write fast enough. To explain, my goal is to capture a stream of data coming in over gigabit Ethernet and simply save it to a file. The raw data is coming in at…
Mlagma
  • 1,240
  • 2
  • 21
  • 49
7
votes
2 answers

When trying to use my USRP in GNU Radio, I get a " No devices found for ----->" error

When trying to execute a GNU Radio program that uses a USRP, I get an error backtrace, which (in Python) typically ends with: self.u = uhd.usrp_source(device_addr=args, stream_args=uhd.stream_args('fc32')) File…
Marcus Müller
  • 34,677
  • 4
  • 53
  • 94
3
votes
2 answers

Undefined Reference[USRP] [UHD]

Ive been trying to compile a code given in the following website to create an USRP Object https://kb.ettus.com/Getting_Started_with_UHD_and_C%2B%2B For the lazy ill just include the code: #include #include…
zapper9595
  • 41
  • 3
2
votes
1 answer

What commands can be sent on the message port of UHD USRP Sink block?

I have been experimenting with message passing in the Signal Source block in GNU Radio companion. I can see from its source code that we can pass messages to change the frequency, amplitude, offset and phase of the source. For example, the following…
Mobi Zaman
  • 605
  • 1
  • 6
  • 19
2
votes
1 answer

Run GNU Radio flowgraph from Docker with Ettus B200 USRP with UHD

I am trying to run GNU Radio flowgraphs (no GUI) from within a Docker container. The OS on both the host and docker image is Ubuntu 18.04. I am running GNU Radio v3.7.13.4 and UHD v3.14.0.0. On the host I can run grcc -e flowgraph.grc and it…
Steven Gillies
  • 471
  • 7
  • 18
2
votes
1 answer

UHD import fails

I build uhd in windows (msvc 14.2, boost 1.72.0). Build works fine. I can run all of the command line utilities (eg rx_samples_from_file) without error. But in python I cannot import uhd: >>> import sys >>> sys.path.append('C:\\Program Files…
Mike Line
  • 21
  • 1
2
votes
0 answers

UHD ( USRP Hardware Driver) missing dll.file

I am trying to implement Boost and UHD in a windows VS2015. I installed Boost . I downloaded the binary, installed it, build builder with bootstrap.bat then build it with bjam --build-dir=build-directory --toolset=msvc14.0 address-model=64…
Marek Wojnicz
  • 57
  • 2
  • 7
2
votes
1 answer

How to receive a finite number of samples at a future time using UHD/GNURadio?

I'm using the GNURadio python interface to UHD, and I'm trying to set a specific time to start collecting samples and either collect a specific number of samples or stop the collection of samples at a specific time. Essentially, creating a timed…
az-dev
  • 25
  • 4
2
votes
1 answer

flowgraph fails with "LLLL..." for one network adapter, succeeds with other adapter

I want to execute the usrp_echotimer_dual_cw example from the GNURadio gr-radar OOT module. The flowgraph works fine with the internal gigabit ethernet adapter but fails with the external PCI gigabit ethernet adapter. Here is the output of the…
cschmol
  • 33
  • 3
1
vote
0 answers

UHD problem with two versions on the same host

I have installed uhd 4.4.0.0 on a raspberry pi device running ubuntu 20.04. Everything was OK until I upgraded the Ubuntu version to 22. It probably bring with it Gnu Radio and an older version of UHD - UHD_4.1.0.5-3. I call UHD from my C++ code. It…
Sorin
  • 11
  • 1
1
vote
1 answer

How to control two UHD USRP SDR cards simultaneously in GNU Radio?

I have the attached simple flow graph in gnu-radio. I'm using two b200 mini SDR cards and both are connected to the computer. I want gnu-radio to run them both at the same time and I want to be able to compare their received signals at the same…
1
vote
2 answers

X310 USRP with python

I'm new to USRP so I don't quite understand the transmission and reception. I have a IQ data needs to be transmitted, I'm using the tx_waveform.py to perform the transmission or any other I should use? What would be the output of this? What are the…
Salad96
  • 21
  • 1
1
vote
1 answer

Finding a specific FPGA version of a USRP image file for an X310

I have an X310 that requires a previous FPGA version than what I have. Going to the Ettus image page https://files.ettus.com/binaries/images/ I cant determine which one can revert me to FPGA 35. I have: FW 6 FPGA 36 and need: FW ? FPGA 35 Is there a…
1
vote
1 answer

UHD Drivers installation failure

I am somewhat new to posting so please forgive and correct any mistakes I make in this post (and if I lack any necessary information please tell me) I am following Ch.6 of this guide here https://pysdr.org/content/usrp.html, and am attempting to…
1
vote
0 answers

CMake cant find installed Python Interpreter

My system is of Ubuntu 20.04 LTS having a python version 3.8.10. but while installing USRP open source tool chain UHD 3.14.0.0. there arises an error regarding python interpreter for cmake as follows $ cmake .. - -- Configuring the python…
Remya R
  • 21
  • 3
1
2 3 4 5 6