analogdevicesinc / gr-iio

IIO blocks for GNU Radio
GNU General Public License v3.0
94 stars 62 forks source link

how to get data through 9361? #52

Closed VIRUSOLDLIu closed 4 years ago

VIRUSOLDLIu commented 4 years ago

hi! I wonder in which way do the fmcomms2 source block operate on the ad9361. how can the block control the ad9361 to start its tx or rx , activoate its channel or buffer or something else? we can find some functions on libiio to control them ,but i did not recognize them on gnuradio. so where can i get the function or mechanism of fmcomms2 block to operate the 9361? thank you?

tfcollins commented 4 years ago

The blocks in gr-iio utilize the IIO drivers through remote or local contexts through the specified URIs in the block APIs: https://wiki.analog.com/resources/tools-software/linux-software/gnuradio#using_the_fmcomms-234_blocks

The blocks are implemented so you can almost ignore the aspects of libIIO and just do things through standard GNU Radio APIs.

tfcollins commented 4 years ago

Assuming this is resolved.