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
757 stars 200 forks source link

DSO5102P support #316

Open wandiufo opened 4 years ago

wandiufo commented 4 years ago

Dear developer

I have DS5102P oscilloscope. Will openHantek support for the model? How to make support for the oscilloscope model? Thank you for your help and information.

Best regards, Irwandi

Ho-Ro commented 4 years ago

Hi Irwandi, Please read #277!

wandiufo commented 4 years ago

I have made some modification to support DSO5102, and it detected, image when click ok image the error message appears: wandi@wandi-asus:~/save/ee/osiloscope/git/openhantek/build$ ./openhantek/OpenHantek "Couldn't get channel level data from oscilloscope" compile shaders compile shaders Sending control command b4 failed: Operation timed out Getting capture state failed: "Operation timed out" Sending control command b4 failed: Operation timed out Getting capture state failed: "Operation timed out" Sending control command b4 failed: Operation timed out Getting capture state failed: "Operation timed out" Sending control command b4 failed: Operation timed out Getting capture state failed: "Operation timed out" Sending control command b4 failed: Operation timed out Getting capture state failed: "Input/output error" Sending control command b4 failed: No such device (it may have been disconnected)

I think this different command between DSO5200 and DSO5100, Because DSO5100 cannot recognize the CONTROL_SETOFFSET = 0xb4. And my oscilloscope be come reboot after running the command. Could someone give me information the different command protocol between DSO5200 and DSO5100 because I will modified the file controlcode.h, bulkStructs.h, hantekdso/hantekdsocontrol.cpp or other files?

Thank you for your help and collaboration.

Best regards, Irwandi

barrydegraaff commented 3 years ago

What did you change to make it detect and show Ready for use?

barrydegraaff commented 3 years ago

See also: https://github.com/titos-carrasco/DSO5102P-Python https://elinux.org/Das_Oszi_Protocol