discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] where to find the UHD API mannual of python


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] where to find the UHD API mannual of python
Date: Fri, 3 Jun 2016 11:42:50 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

Dear Ekko,

there is no Python API of UHD.

What exists is gr-uhd, which is a part of GNU Radio, and is practically completely wrapped by SWIG so that you can use all of its C++ functionality in Python.
You can thus simply use the GNU Radio doxygen [1] and use all the USRP functionality encapsulated by the USRP source and sink, as well as the types that their methods use.

set a time delay to start a send stream
You've got different options. You can use usrp_sink.set_start_time(uhd.timespec), or you can go the eob/sob and tx_time stream tag route, or you can use TSBs to just send short bursts.

Best regards,
Marcus

[1] http://gnuradio.org/doc/doxygen/group__uhd__blk.html

On 03.06.2016 11:04, Ekko wrote:
hello all
i saw that there is a function in UHD C++ API that we can set a time delay to start a send stream.
then i want to find the same function in python,but i did not know where to find this function ,so is ther some website i can get the mannual of UHD API of python.

thank you
--Ekko


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

[Prev in Thread] Current Thread [Next in Thread]