Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hantek 6022BE offset error #213

Open
borisbme opened this issue Mar 26, 2018 · 14 comments
Open

Hantek 6022BE offset error #213

borisbme opened this issue Mar 26, 2018 · 14 comments

Comments

@borisbme
Copy link

borisbme commented Mar 26, 2018

Hi,

I have a Hantek 6022BE, I moved to linux, and channel 1 has a 100 mV (zero) offset (also present when probe is connected to GND) This shift is not present on windows using the official app.

I'm using arch linux and compiled Openhantek from the source.

https://prnt.sc/ix5ape

@Vascom
Copy link
Contributor

Vascom commented Apr 5, 2018

I am also have offset +45mV on both channels with 6022BL.

@rmagomedov
Copy link

I also see +100mV offset on Ch1 of my 6022BE with probe connected to GND. In the windows application everything is fine. @borisbme @Vascom were you able to solve this problem? It looks like the official application does some calibration procedure on every startup or applies saved offset corrections?

@rmagomedov
Copy link

rmagomedov commented Jul 29, 2018

I have found a simple workaround. I shifted vertical position of channel which has problem with offset and now the same sine wave is seen almost identically on both channels. When you hold Alt key, you can set this position precisely in order to visually compensate the offset error
openhantek

I know, this is not how offset should be corrected, but still better than nothing.

@rmagomedov
Copy link

rmagomedov commented Aug 14, 2018

Unfortunately, the workaround I described above is not quite good, because you need to adjust vertical offset every time you switch between channel voltage ranges (10mV to 5V)

@borisbme
Copy link
Author

Hi,

Sorry to hear that. Thanks for the effort. It seems that openhantek is abandoned, so this and other issues will never be fixed...

@davidgraeff
Copy link
Member

It is not abondoned. It is in maintenance mode as visible on the main readme page. This means no feature development. Only critical bug fixes and pull request reviews.

There are no paid developers on this project. Don't expect anything!

@justlep
Copy link

justlep commented Apr 29, 2020

I read about the self-calibration feature in #176, but looks like the topic is abandoned.

Are there any plans to either have auto-calibration or allow for manually defining DC correction values for each channel (e.g. some millivolt integer in the config file or Windows registry)?

Is there/what is currently a recommended way of adjusting the DC error? (except for dragging the zero marker in the UI)

@Ho-Ro
Copy link
Member

Ho-Ro commented Apr 29, 2020

Do you know #277? Please check these hints about calibration of 6022 devices.

@justlep
Copy link

justlep commented Apr 29, 2020

I wasn't aware of those calibration hints - thank you for the link!
It's been some struggle for me with zero Python experience, but I got it working eventually.

Just in case someone else ever wants to calibrate his/her Hantek 6022BE on a Windows 10 machine, here is what I did:

  1. install Python3
  2. get the required libusb-1.0.dll file:
  3. prepare Hantek6022API:
     git clone https://github.com/Ho-Ro/Hantek6022API
     cd Hantek6022API
     pip install .
    
  4. when I tried to run the calibration at this point, Python complained about missing firmware files.
    I could solve this by copying the whole Hantek6022API\PyHT6022\HantekFirmware folder to
    {Python install dir}\Lib\site-packages\PyHT6022\HantekFirmware
  5. run the calibration:
    cd examples
    calibrate_6022.py -gec
    

I was then able to calibrate the scope providing the given voltages.
All works perfectly fine now and voltage readings are nicely accurate.

Again, many many thanks for your work! :-)

Edit: Since the last update of Hantek6022API, copying the firmware folder is no longer needed. Also, libusb-1.0.dll can be used from the OpenHantek folder, no need to download anything from sourceforge.

@Ho-Ro
Copy link
Member

Ho-Ro commented Apr 30, 2020

I opened a new issue #8 in the right repo, to concentrate all discussion about the python tools under Windows.

@justlep
Copy link

justlep commented May 4, 2020

The issue link was broken, it is Ho-Ro/Hantek6022API#8

I just commented there. Everything's working great now. Thank you.

@leonmills
Copy link

I have the same issue. Not there on Window Hantek app and it's Channe 1 only. Can someone explain what the disparity is and why it just shows on OpenHantek? I ran the self calibration on the Windows version which gives no feedback thinking it might write some values to the EEPROM and then it would be fine on Ubuntu but no such joy.

@Ho-Ro
Copy link
Member

Ho-Ro commented Apr 6, 2021

Are you talking about openhantek or OpenHantek6022? If you are using the latter, please report this problem to the right place as this repo is not maintained, see #277

@leonmills
Copy link

My apologies - you were right - wrong place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants