openhantek icon indicating copy to clipboard operation
openhantek copied to clipboard

DSO5102P support

Open wandiufo opened this issue 4 years ago • 4 comments

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

wandiufo avatar May 28 '20 06:05 wandiufo

Hi Irwandi, Please read #277!

Ho-Ro avatar May 28 '20 07:05 Ho-Ro

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

wandiufo avatar May 30 '20 08:05 wandiufo

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

barrydegraaff avatar Sep 08 '20 08:09 barrydegraaff

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

barrydegraaff avatar Sep 08 '20 09:09 barrydegraaff