USRP Hardware Driver and USRP Manual  Version: 003.008.000-0-gfd61f0cc
UHD and USRP Manual
Coding to the API

Various API interfaces

High-Level: The Multi-USRP

The Multi-USRP class provides a high-level interface to a single USRP device with one or more channels, or multiple USRP devicess in a homogeneous setup. See the documentation for uhd::usrp::multi_usrp.

High-Level: The Multi-USRP-Clock

The Multi-USRP-Clock class provides a high-level interface to a single clock device or set of clock devices, from which the time can be queried. See the documentation for uhd::usrp_clock::multi_usrp_clock.

Low-Level: The device API

A device is an abstraction for hardware that is connected to the host system. For a USRP device, this means that the motherboard and everything on it would be considered to be a "device". For a clock device, the device itself would be considered a "device" in software. The device API provides ways to:

  • Discover devices that are physically connected to the host system.
  • Create a device object for a particular device identified by address.
  • Register a device driver into the discovery and factory sub-system.
  • Streaming samples with metadata into and out of the device.
  • Set and get properties on the device object.
  • Access various sensors on the device.

See the documentation for uhd::device.