I recently succeeded in receiving ADC Data from ADS7851 through SPI communication. Now I'm working on plotting those voltage data and also fft of them. I've done some research, and found out that matplotlib and PyQt UI is too heavy and slow to plot 1.5MSPS of data coming in. Therefore I concluded using pylab and Tkinter is efficient for my purpose.
I've made a function "readADC", which returns single realtime voltage value. Inside Tkinter, readADC and pylab should run simultaneously. I'm afraid that plotting algorithm might slow down the clock speed, or even worse, ruin the fft pattern. What is the best approach to do this?
above is the basic concept I intend, of which the realtime voltage passes through. FFT graph should be shown on sperate canvas widget.
I'll be very glad to receive any advice(approach/tools/codes). Thank you.