Provides source and sink blocks to interface with the UHD library. Used to send and receive data between the Ettus Research, LLC product line.
Clear the command time so future commands are sent ASAP.
Get the antenna in use.
Get a list of possible antennas.
Get the bandpass filter setting on the RF frontend.
Get the bandpass filter range of the RF frontend.
Get the center frequency.
Get the master clock rate.
Get the currently set clock source.
Get a list of possible clock sources.
Get access to the underlying uhd dboard iface object.
DEPRECATED use get_sensor.
DEPRECATED use get_sensor_names.
Get access to the underlying uhd device object.
Get the tunable frequency range.
get_gain(self, string name, size_t chan = 0) -> double
Get the actual dboard gain setting.
Get the actual dboard gain setting of named stage.
get_gain_range(self, string name, size_t chan = 0) -> gain_range_t
Get the settable gain range.
Get a motherboard sensor value.
Get a list of possible motherboard sensor names.
Get the sample rate for the usrp device. This is the actual sample rate and may differ from the rate set.
Get the possible sample rates for the usrp device.
Get an RF frontend sensor value.
Get a list of possible RF frontend sensor names.
Get the TX frontend specification.
Get the time when the last pps pulse occured.
Get the current time registers.
Get the currently set time source.
Get a list of possible time sources.
Returns identifying information about this USRP’s configuration. Returns motherboard ID, name, and serial. Returns daughterboard TX ID, subdev name and spec, serial, and antenna.
Set the antenna to use.
Set the bandpass filter on the RF frontend.
set_center_freq(self, double freq, size_t chan = 0) -> tune_result_t
Tune the usrp device to the desired center frequency.
Set the clock configuration. DEPRECATED for set_time/clock_source.
Set the master clock rate.
Set the clock source for the usrp device. This sets the source for a 10 Mhz reference clock. Typical options for source: internal, external, MIMO.
Set the time at which the control commands will take effect.
A timed command will back-pressure all subsequent timed commands, assuming that the subsequent commands occur within the time-window. If the time spec is late, the command will be activated upon arrival.
Set a constant DC offset value. The value is complex to control both I and Q.
set_gain(self, double gain, string name, size_t chan = 0)
Set the gain for the dboard.
Set the RX frontend IQ imbalance correction. Use this to adjust the magnitude and phase of I and Q.
Set the sample rate for the usrp device.
Set the start time for outgoing samples. To control when samples are transmitted, set this value before starting the flow graph. The value is cleared after each run. When not specified, the start time will be:
Set the frontend specification.
Set the time registers at the next pps.
Sets the time registers immediately.
Set the time source for the usrp device. This sets the method of time synchronization, typically a pulse per second or an encoded time. Typical options for source: external, MIMO.
Sync the time registers with an unknown pps edge.
Perform write on the user configuration register bus. These only exist if the user has implemented custom setting registers in the device FPGA.
Clear the command time so future commands are sent ASAP.
Convenience function for finite data acquisition. This is not to be used with the scheduler; rather, one can request samples from the USRP in python. //TODO assumes fc32
Convenience function for finite data acquisition. This is the multi-channel version of finite_acquisition; This is not to be used with the scheduler; rather, one can request samples from the USRP in python. //TODO assumes fc32
Get the antenna in use.
Get a list of possible antennas.
Get the bandpass filter setting on the RF frontend.
Get the bandpass filter range of the RF frontend.
Get the center frequency.
Get the master clock rate.
Get the currently set clock source.
Get a list of possible clock sources.
Get access to the underlying uhd dboard iface object.
DEPRECATED use get_sensor.
DEPRECATED use get_sensor_names.
Get access to the underlying uhd device object.
Get the tunable frequency range.
get_gain(self, string name, size_t chan = 0) -> double
Get the actual dboard gain setting.
Get the actual dboard gain setting of named stage.
get_gain_range(self, string name, size_t chan = 0) -> gain_range_t
Get the settable gain range.
Get a motherboard sensor value.
Get a list of possible motherboard sensor names.
Get the sample rate for the usrp device. This is the actual sample rate and may differ from the rate set.
Get the possible sample rates for the usrp device.
Get a RF frontend sensor value.
Get a list of possible RF frontend sensor names.
Get the RX frontend specification.
Get the time when the last pps pulse occured.
Get the current time registers.
Get the currently set time source.
Get a list of possible time sources.
Returns identifying information about this USRP’s configuration. Returns motherboard ID, name, and serial. Returns daughterboard RX ID, subdev name and spec, serial, and antenna.
Advanced use only: Issue a stream command to all channels in this source block.
This method is intended to override the default “always on” behavior. After starting the flow graph, the user should call stop() on this block, then issue any desired arbitrary stream_cmd_t structs to the device. The USRP will be able to enqueue several stream commands in the FPGA.
Set the antenna to use.
Enable/disable the automatic DC offset correction. The automatic correction subtracts out the long-run average.
When disabled, the averaging option operation is halted. Once halted, the average value will be held constant until the user re-enables the automatic correction or overrides the value by manually setting the offset.
Set the bandpass filter on the RF frontend.
set_center_freq(self, double freq, size_t chan = 0) -> tune_result_t
Tune the usrp device to the desired center frequency.
Set the clock configuration. DEPRECATED for set_time/clock_source.
Set the master clock rate.
Set the clock source for the usrp device. This sets the source for a 10 Mhz reference clock. Typical options for source: internal, external, MIMO.
Set the time at which the control commands will take effect.
A timed command will back-pressure all subsequent timed commands, assuming that the subsequent commands occur within the time-window. If the time spec is late, the command will be activated upon arrival.
Set a constant DC offset value. The value is complex to control both I and Q. Only set this when automatic correction is disabled.
set_gain(self, double gain, string name, size_t chan = 0)
Set the gain for the dboard.
Set the RX frontend IQ imbalance correction. Use this to adjust the magnitude and phase of I and Q.
Set the sample rate for the usrp device.
Set the start time for incoming samples. To control when samples are received, set this value before starting the flow graph. The value is cleared after each run. When not specified, the start time will be:
Set the frontend specification.
Set the time registers at the next pps.
Sets the time registers immediately.
Set the time source for the usrp device. This sets the method of time synchronization, typically a pulse per second or an encoded time. Typical options for source: external, MIMO.
Sync the time registers with an unknown pps edge.
Perform write on the user configuration register bus. These only exist if the user has implemented custom setting registers in the device FPGA.
Convert a raw asynchronous message to an asynchronous metatdata object.
Proxy of C++ uhd::stream_cmd_t class
Proxy of C++ uhd::time_spec_t class
Proxy of C++ uhd::meta_range_t class
Proxy of C++ uhd::tune_result_t class
Proxy of C++ uhd::sensor_value_t class