AnsweredAssumed Answered

IIO Buffer Methods in C#

Question asked by CanadaGuy on Mar 6, 2018
Latest reply on Mar 6, 2018 by mhennerich

I will preface this by saying I'm not a programmer, I'm an RF hardware guy. I'm working to write a C# wrapper for the "useful" IIO commands needed to run the PlutoSDR, configure, transmit and receive data. I'm using C# because .NET assemblies are very easy to use in LabVIEW. 

 

Through various examples (mainly libiio/ad9361-iiostream.c at master · analogdevicesinc/libiio · GitHub ), I have been pretty successful, but I am stumped on the tx and rx buffer methods. In my application, I would like to configure and load a cyclic Tx buffer, and periodically capture the Rx buffer.

 

I've inlined an image showing the buffering part of the above example for reference:

 

 

I can create the IIOBuffer objects just fine, and the push() and refill() methods are present on those objects. However, I can't find the equivalent methods for the commands in lines 16-18 in the image above...step(), end(), first() don't exist on those objects.

 

Any ideas?

Outcomes