Hacker News new | ask | show | jobs
by laserphysicist_ 1837 days ago
OK, do you have any reference for the python modules they use? I must admit that for GUI, nice interactive plots, motion control & DAQ, it's a bit difficult to be on par with Labview. In particular, it's usually quite easy and fast in Labview to hack together a small VI to do something like move, grab data, plot, repeat with the ability to zoom, change scale, etc while the acquisition is running. Do you know of any example combining all or part of these functionalities?
1 comments

I like using PyQt5 for the GUI and PyQtGraph for interactive plots. Using matplotlib as a Qt widget is also possible, but it is quite slow and tends to leak memory when dynamically updating the data. On Windows I use the NI VISA library with pyvisa for most hardware access. There are open source alternatives for Linux such as pyvisa-py and linux-gpib that work quite well for most devices connected with Ethernet, USB, and GPIB.