-
Notifications
You must be signed in to change notification settings - Fork 158
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
HorizontalDock::setSamplerate startup crash when timebase is 50us or lower (Win10.1909x64) #111
Comments
Does it crash also with demo mode? |
Very strange, a quick user-mode installation on a Win10 (unzip into a new folder without installing USB drivers) run well in demo mode with all timings for both versions, x64 and x86.
|
Signed-off-by: Martin <[email protected]>
Please check these quick hacked versions https://ci.appveyor.com/api/buildjobs/of3d7bd4pn72siy3/artifacts/build_x64%2Fopenhantek%2FOpenHantek-Win-x64-Release-b365.zip and https://ci.appveyor.com/api/buildjobs/of3d7bd4pn72siy3/artifacts/build_x86%2Fopenhantek%2FOpenHantek-Win-x86-Release-b365.zip that skip the strange 3rd call with an unrelated sample rate. |
An extra info. Tested latest 3.1.2 and an older OpenHantek-Win-x64-Release-b356 build on my son's Windows 7 laptop and there they both work fine with 50us! |
Signed-off-by: Martin <[email protected]>
Using latest 3.1.2 app on Windows 10.1909 64 bit with zadig-2.5 drivers.
Have default settings (if not sure, delete HKCU\Software\OpenHantek\OpenHantek6022).
Double check that in registry [HKEY_CURRENT_USER\Software\OpenHantek\OpenHantek6022\scope\horizontal] there is:
"timebase"="0.0001"
"samplerate"="1e+07"
Double check that in registry [HKEY_CURRENT_USER\Software\OpenHantek\OpenHantek6022\scope\horizontal] now there is:
"timebase"="5e-05"
"samplerate"="1.2e+07"
PS: here are the changes I had to make to get it compilable in VS2019:
DaPa@3b120a3
The text was updated successfully, but these errors were encountered: