I'm using analog output of M2K in non cyclic mode (c++/libm2k). I want to send burst of data and then analyze received data and finally plot graph using matplotlib. My sample rate is output sample rate is 5MSPS and input 1MSPS. How I can make this kind on continuous loop, which is sending burst let say 20 times in second and then receive the response in analog input? I have modified analog_in_out.cpp example, but I can only do one cycle.