Hello,
Although there is an option to do Averaging on the oscilloscope with the Multi-instrument mode, it seems that this option is not there for the Python API. Is there any way you can integrate this? This would be an important step for my measurements.
Dear Ece,
I am sorry that the frame averaging feature on the oscilloscope is currently implemented on the client side using the Moku app, rather than on the FPGA. We will pass this feedback along to our development team for consideration. Thank you for the input.
At present, frame averaging is performed by continuously collecting data frames using the get_data
function and averaging them on the client side. A simple workaround would be to use the Python API to retrieve the data frames and compute the average in Python.
Thank you very much for your understanding.
Best regards,
Hank
Hi @ecekbb,
I had the same issue when I started working with the oscilloscope and I wrote some code to do that, in Python. The instrument driver can be found here: QTMtoolbox/instruments/moku.py at master · ICE-QTM/QTMtoolbox · GitHub
Just keep in mind that recently the frame_length
parameter was changed to max_length
and I have not checked/updated my code for those changes. Nevertheless, the code should be a good starting point.
Cheers!