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

Rigol dho support enhancement #880

Merged
merged 6 commits into from
Sep 2, 2024

Conversation

fredzo
Copy link
Contributor

@fredzo fredzo commented Sep 1, 2024

Hi Andrew,
As mentioned on Discord, I spent some time testing ngscopclient with my Rigol DHO804 (revamped in a DHO924).
This PR fixes some bugs encountered on large memory depth by activating pagination.
I also created a special "live" mode for memory depth =1k to take advantage of Rigol's "screen" mode.
This allows to double the frame rate at this memory depth.
Finally I tried to fix support for DHO1000/4000 (to be checked with someone owning this models).
Please let me know if it's OK for you to merge.
Oh and to prevent crashes due to the scope returning a null sample_per_rate value in rare cases, I forced it to a dummy value to prevent an Arithmetic exception in WaveformArea::RasterizeAnalogOrDigitalWaveform, but maybe it would be better to handle that in this method.
Best,
Frederic.

@azonenberg azonenberg merged commit 3d2d4b3 into ngscopeclient:master Sep 2, 2024
@fredzo fredzo deleted the rigol-dho-support branch September 2, 2024 22:07
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

Successfully merging this pull request may close these issues.

2 participants