OpenHantek / openhantek

OpenHantek is a DSO software for Hantek (Voltcraft/Darkwire/Protek/Acetech) USB digital signal oscilloscopes
http://openhantek.org/
GNU General Public License v3.0
749 stars 199 forks source link

Use sigrok decoders #175

Closed phmarek closed 6 years ago

phmarek commented 6 years ago

The sister project "Sigrok" (with frontend "Pulseview") can convert analog into digital signals, and then have them decoded via python scripts. Examples are RS232, SPDIF, DCF77, and lots more.

It would be great if the OpenHantek would use the same interface (and, by implication, could reuse the same set of decode scripts!) to provide an easy way to analyze some signal path.

Please see https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=summary for the decoders; I hope that the implementation of attaching these can be lifted from PV resp. sigrok in some way.

davidgraeff commented 6 years ago

I do not understand this feature request. If you want a logic analyzer, use https://www.saleae.com/. Works on all OpenHantek supported operating systems. Alternatively use Sigrok Pulseview. But OpenHantek is in no way a logic analyzer. Even if the post processing would pass the data to libsigrokdecode, what exactly should happen to the received decoded signal? There is no graphical interface to support this idea.

Of course if anybody is highly interested, he/she can contribute to this project.