OpenHantek: Complete rewrite of the USB code
I’ve been working on rewriting the USB parts of OpenHantek for the last few weeks. You can find a snapshot on the fresh svn repository.
The rewrite will make the whole code much cleaner and should fix the “hanging” of the scope after changing parameters. At least the DSO doesn’t return the unknown capture states anymore. Some smaller problems that were indirectly related with the old USB code have been fixed too (Lower samplerates are possible now, spectrum and math graphs are shown without the voltage graphs being visible, some other things I don’t remember at the moment…).
Another big improvement that most people won’t notice is the Doxygen-based documentation for the USB protocol. Even though it’s not complete yet, it helped me a lot while doing the rewrite. By the way, the Doxygen documentation can be built this way:
qmake
make doc
To check out the current svn release of OpenHantek type the following command:
svn co https://openhantek.svn.sourceforge.net/svnroot/openhantek/trunk/openhantek openhantek