I successful develop a program that utilize python packages and our device fmcomms2. My python scripts will fetch a file sink ( .dat file ) for every sample ( iteration loop) data that I collected for every context.
For example in main program , there are loop to call a subroutine ..
and my subroutine will do the connection to iio
I found that for every context connection to device consume around 2.5 second. If I want get more sample /loop , I may need to wait a few minute to get final result.
Can we do something about it, how to minimize time taken for device is ready / device is close.