-
Notifications
You must be signed in to change notification settings - Fork 156
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
Program stops on Windows 11 when changing horizontal time base (In demo mode and connected with 6022BE) #363
Comments
Hi Martin, thx for your comment. |
Sorry Martin, version is 3.3.2.2 |
Please compare your error report on top and #364 - that's a helpful issue report. Just fill the necessary parts of the template and leave the other open, I would be interested how the "program stops" - stop trace or freeze or crash? Please start the program from the cmd.exe window and report the error message. If this does not give a good hint, increase the verbosity to |
When I want to change change the timebase, then the following error occur: |
OMG, is it too much to ask for a little more info. This error does not occur in my tests, nor do many other Win users seem to have a problem with it. I would like to find out where your system behaves differently, unfortunately my crystal ball is under repair. Therefore, I choose the more cumbersome way for you to report as much as possible, including the output when the program was started with |
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. |
Hey, maybe this helps. I am having the same problem in windows 11. Changing the compatibility settings to windows 7 or 8 fixes the crashing but the software does feel kinda slow when using it in compatibility mode. Using an older version of OpenHantek6022 works better for me. Idk if #111 has anything to do with it but the version that was suggested "3.1.2" works fine for me. |
I see that the issue has been reopened. I have tested a few more version and the only versions that are giving problems are 3.3.2.2 and "unstable". I have added the output from the console as you mentioned above. One thing I found is that when running it in compatibility mode, the "oscilloscope lines" seem to be updating fine but when moving the cursor over some of the buttons on the right side, so the buttons under "voltage", "Horizontal", "Trigger" and "Spectrum"), the whole program seems to almost freeze for a moment. Version: 3.3.2.2 - build: Mar 8 2023 17:36:56 |
Describe the bug To Reproduce Screenshots Computer environment (please complete the following information): Device [e.g. Hantek 6022BE, ...] Additional context |
Hi, just updated to version 3.3.2.2.1 and I wanted to mention that I have the exact same problem as described by koentjess , except that I personally am on Windows 10. In the Windows journal, I can see: PS : previous version 3.3.2.1 works for me, it must be a degradation in 3.3.2.2 |
Looking at the changes between 3.3.2.1 and 3.3.2.2 I suspect that 1d11253 has the biggest impact. I need support from a windows developer who could build both variants (msvc and mingw64) and check - I do not use windows and cannot investigate. |
@Ho-Ro I've just built and ran the project on Windows 11 (took me ~2h to configure all the things) and can confirm that just by increasing or decreasing the Timebase, there is a problem with non-main-thread accessing widgets created by main thread. I think the widget callbacks should delegate somehow its execution to the main thread (doesn't If this is not something you can easily fix then I can work on this. Just need to go deeper how Qt, callbacks and threading works. |
…imebaseChanged event handler from doing operations on dsoControl and dsoWidget in the same callback. Now there two callback and each uses the Widget it operates on.
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
When I want to change the timebase (Up or Down) the program stops.
The text was updated successfully, but these errors were encountered: