analogdevicesinc / ToolboxCommon

Common components shared across MATLAB toolboxes
Other
2 stars 2 forks source link

Support for libiio v1.0, including events #22

Open mike-bradley opened 10 months ago

mike-bradley commented 10 months ago

Version 1.0 of libiio had a changed and improved (e.g. streaming model, addition of events) C API that necessitated an update to the libiio MATLAB wrapper to adopt to the new API.

Need to consider if/how this can be done in a backward compatible way so that 0.25 (and earlier) based systems can continue to work with the older API, and avoid breaking the toolboxes that depend on this library.

tfcollins commented 10 months ago

Hi Michael,

So to upgrade to libiio-v1 we'll need to re-implement the core classes first that have historically been maintained by MathWorks. I have spoken a little when them about this but realistically it would take >1 year. On our side I'm working through the python interfaces first so make sure everything works as expected. This will make the MATLAB implementation much faster.

We'll see how complex supporting v0+v1 becomes as MATLAB class implementation isn't as flexible when compared to something like python.

Likely this will happen in the Feb time frame.

-Travis