USRP Software Radio

cancel
Showing results for 
Search instead for 
Did you mean: 

Python GUI and usrp 2920

Hello,

My name is Omar Nahhas, I'm a current student at North Carolian state university. I have been working with the USRP-2920 to transmit signals using the UHF band range

I have a python gui that generates 2-3 bytes of code or a simple text file, I wondering if there is anyway to get the USRP-2920 to transmit the signal for me

would TCP/IP socketing work for this or not?

Thank you,
Omar

0 Kudos
Message 1 of 2
(4,778 Views)

You could access the NI-USRP API C interface from Python.

 

There is some information on doing this here:

https://docs.python.org/2/library/ctypes.html

 

You would want to call into niusrp.dll in the sytem directory (assuming you're using Windows).

 

Header files with the exported methods are here:

C:\Program Files (x86)\National Instruments\NI-USRP\includes

 

The import library is here:

C:\Program Files (x86)\National Instruments\NI-USRP\lib\msc

 

0 Kudos
Message 2 of 2
(4,760 Views)