Closed dyarkovoy closed 3 years ago
Can you remove any devices related to Hаntek (check in device manager) and install the driver in the archive? Note that you need to check the "view -> show hidden devices" option. Hantek/DSO is located in: Universal serial bus devices There are two files in the archive OpenHantek-.... Hantek_6022B.inf Hantek_6022B.cat Right button -> install -> Hantek_6022B.inf
Write here if there is still a problem.
Nope, didn't work unfortunately. Here's what I did:
Here are the screenshots
As said in windows-usb-access you must not use the original driver! Go do device manager and select Uninstall Device and ensure you tick "Delete the driver software for this device". Then follow the steps to install the Zadig driver twice!
The screen shot shows measured values at the bottom of the scope (this means the USB communication is up and running). Try connecting the CH1 probe to the calibration out connector -> should give 2 Vpp and 1 kHz in the yellow bottom line. Your problem looks like you have issues with your OpenGL implementation of Windows, you could try the options --useGLSL120
or --useGLES
:
Usage: ./OpenHantek [options]
Options:
-h, --help Displays this help.
-v, --version Displays version information.
-d, --demoMode Demo mode without scope HW
-e, --useGLES Use OpenGL ES instead of OpenGL
--useGLSL120 Force OpenGL SL version 1.20
--useGLSL150 Force OpenGL SL version 1.50
-i, --international Show the international interface, do not translate
-f, --fontsize <fontsize> Font size (default = 10, 0: automatic from dpi)
Hi @DaPa, thank you for the input and sorry for the confusion. I did not use the original driver. If you take a look at my initial message in this issue, I did follow the instructions for the Zadig driver, did it twice! I followed your instructions in https://github.com/OpenHantek/OpenHantek6022/blob/master/docs/OpenHantek6022_zadig_Win10.pdf carefully, and only after they didn't work for me, I submitted this issue. Next, I was advised by @zen67 to install the driver that comes along with the OpenHantek (not the original driver from the Hantek manufacturer, I never installed it actually). So I did that, and was still having the described issue. I will again outline my full set of steps to avoid confusion.
My setup:
Set of steps to install Zadig driver
Set of steps suggested by @zen67 in his comment
Set of steps that I performed again following the @DaPa 's instructions here: https://github.com/OpenHantek/OpenHantek6022/blob/master/docs/OpenHantek6022_zadig_Win10.pdf (thinking I might have missed something)
I'm thinking maybe this is some kind of unsupported flavor of 6022BL? I noticed device ID is 04B5:602A, not 04B5:6022 as in pdf
I'm thinking maybe this is some kind of unsupported flavor of 6022BL? I noticed device ID is 04B5:602A, not 04B5:6022 as in pdf
04B5:6022 -> 6022BE 04B5:602A -> 6022BL
Hi @Ho-Ro, just tried the switches, you were right, --useGLES
helps to remove errors and there's a graph now, thank you!
But still on the device selection page it behaves the same way - reverts to DEMO and errors after I select DSO-6022BL, shouldn't be related to the OpenGL, should it? I will see if I can fix my OpenGL.
I did not use the original driver ...
Where does the DSO-6022BL
driver come?
If you install via Hantek_6022B.inf
file there should be only Hantek 6022BL
:
"Hantek 6022BE" = Install, USB\VID_04B4&PID_6022
"Hantek 6022BE" = Install, USB\VID_04B5&PID_6022
"Hantek 6022BL" = Install, USB\VID_04B4&PID_602A
"Hantek 6022BL" = Install, USB\VID_04B5&PID_602A
@Ho-Ro, I am not sure where the name DSO-6022BL comes from, but when I installed via Hantek_6022B.inf, both devices (DSO-6022BL and Hantek 6022BL) show exactly the same driver details (date,version,digital signer) as on screenshot. My guess is maybe the name is pulled from device itself? In any case, it should not matter if the driver is the same, should it?
I guess we can say this issue is almost solved. Almost because I still have to quickly press "OK" on the device selection screen after selecting DSO-6022BL and before the error appears, to enter main window. It looks like I am not able to solve OpenGL issue, because this is 7 years old laptop with Intel Mobile Series 4 video card that has no recent drivers with OpenGL. If anyone runs into similar issue, the solution is:
--useGLES
switchStrange, I never saw this behaviour under Linux. What do you mean with
... select your Hantek device from the drop down list ...
Are there more devices visible in this list (the list on the top of the window)?
Some thoughts:
Are there more devices visible in this list (the list on the top of the window)?
I have 2 items in this list, the first is DEMO and the second is DSO-6022BL. I meant that I have to manually select DSO-6022BL and immediately click OK, otherwise the selection automatically changes to DEMO with the error message, OK button becomes disabled.
I don't have any other devices connected to USB on this computer There are 3 USB connectors on the laptop, none of them are USB3. I tried all 3, no diffierence I'm not using a USB hub. The only thing I didn't try is replacing the cable, the computer is at the remote location, I will try to do it once I'm there
Update: tried replacing the cable, made no difference
I put all your infos together and checked them against the data flow during device detection - one idea that came to my mind could be that your win installation reports sometimes bogus vendor ids (VID=0) that were mistaken as the DEMO device. Please check if the latest windows artifacts solve your problem.
Yes! This was it. I tried b492 and the issue is solved. Thank you.
Using the latest openhantek 3.1.4 (also tried b483, b479 and b461, x64 and x86 variants). I followed zadig way, tried all combinations of drivers (WinUsb, libusb-win32, libusbK), rebooted mutiple times, tried keeping the USB plug across installations/reboots, then tried re-plugging. Still I get the error "Connection failed! Couldn't open device: Operation not supported or unimplemented on this platform", but there's a twist: when I select "DSO-6022BL" from the drop-down in openhantek initial window (btw, it shows green), it immediately says "The device is ready for use", and this text stays up for less than a second, then the drop-down automatically changes to "DEMO" and the "Connection failed!" error appears. Now, if I'm fast enough to click OK during these milliseconds when "The device is ready for use" shows, the main window opens and it's almost functional, except that there's no graph, and I see "ERR" messages in place of the graph