-
Notifications
You must be signed in to change notification settings - Fork 199
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
No data displayed #236
Comments
There were a lot of changes to make the 6022 work. And nobody had a 5200 to test the changes with. |
You mean stepping in gdb? Yeah I can do that although I think it's going to be painful because I am not familiar with the openhantek codebase. I am thinking about maybe an alternate approach, to start with a commit which is known to work with 5200 and bisect. Do you know of a commit when the 5200 worked? |
Bisect is sometimes a good approach, yes. Not in this case though. There are a lot of style/format and file move code changes since the very original OpenHantek version. Start here: https://github.com/OpenHantek/openhantek/blob/master/openhantek/src/hantekdso/hantekdsocontrol.cpp#L175 in
This should return back to the state machine in https://github.com/OpenHantek/openhantek/blob/master/openhantek/src/hantekdso/hantekdsocontrol.cpp#L1209: case CAPTURE_READY5200: {
std::vector<unsigned char> rawData = this->getSamples(expectedSampleCount);
if (this->_samplingStarted) {
convertRawDataToSamples(rawData);
emit samplesAvailable(&result);
}
}
As soon as |
Did you have any success? I have a similar problem with the DSO-2250. Some very old versions of openhantek work. But anything current fails with symptoms similar to yours. |
thanks, will try that
same here i only see the voltage curve for math (CH1+CH2) but no voltage curve for CH1 spectrum for CH1 and math is visible i use version 45521b4 cos my GPU only supports GLSL 1.20
|
Unfortunately this repo is not supported at the moment (#277), but you can try this hint from #221:
|
yes! its working now (version e7e0c7b), i just have to wait 5 seconds for the GUI to load version 97540df works without the env-variables |
IIRC I started from this patch that enabled OpenGL SL versions < 1.50. I added the version detection later because there was a report about regressions with (much) higher OpenGL SL versions (>2.00 ?). But you could try for your system. Martin |
Trying to run openhantek from current master with 5200A.
Firmware is successfully uploaded and the program starts and the scope starts data acquisition (green led flashing); when changing voltage limits, relays click when they should.
However, the ui draws no lines whatsoever.
I inserted some debug print statements to see what code is even reached. For example, I inserted a debug print at the beginning of retrieveChannelLevelData() and device->controlRead() is called successfully but control only gets to that point once at the beginning of execution. I also inserted another print at the beginning of PostProcessing::input() and that function is never reached.
Any suggestions how to debug this further?
The text was updated successfully, but these errors were encountered: