FunWithElectronics.com
          - Collection of Information for those with Electronics as a Hobby
Up one level (GNU Radio and USRP)

USRP Drivers





The python code needed to connect to the USRP in GNU Radio.

The "classic" gnuradio drivers:

from gnuradio import usrp
src = usrp.source_c(0)
For USRP2:
from gnuradio import usrp2
src = usrp2.source_32fc()
src.set_decim(decimation)
src.set_center_freq(2.45e6)
src.set_gain(80)
The new official driver kit supported by Ettus Research directly (UHD):
from gnuradio import uhd
src = uhd.usrp_source(device_addr="",io_type=uhd.io_type.COMPLEX_FLOAT32,num_channels=1)



Add a comment:

Fill in number
Name:
Title:
Text:
 


Privacy | Contact