python-seabreeze
python-seabreeze copied to clipboard
Tkinter Live graph issue
Hello I have been having some issues with animating a live spectrometer reading. So far when I just use plt.show to animate my graph it works fine but if I try to place the graph in a tkiner window I cannot as I get a data transfer error. I am using a usb2000+ and can post the code if needed.
Hi @cawilsonvitro
In general the more detail you can provide when reporting an issue the better. Provide a code example is extremely useful. Without it I can just guess.
In your case, it's very likely that there's an issue with how you request new spectra in your UI. It's best to have the UI and the spectrometer running on two different threads.