florentbr / OWON-VDS1022

Unofficial release for the OWON VDS1022/I Oscilloscope
263 stars 45 forks source link

Averaging. #69

Open Duncan-dx1 opened 1 year ago

Duncan-dx1 commented 1 year ago

Please could you change averaging? Really if you average 4^n times you gain n bits of resolution. But the displayed resolution stays at 8 bits. It would be helpful to increase the resolution of the displayed waveform when averaging. See VDS1022 teardown on EEV page 31 where I uploaded some trials. Averaging could also optionally be used on normal display of waveform, for example by averaging 16/64 sequential samples. This is a low pass filter so loses fast data, but can improve visualisation of slow changes. In both methods of averaging you could display changes or glitches above the noise level, for example to show parasitics, or to show random data as random data, not as the average of random data. You could also apply both types of average. I was going to try and do it (issue 9). However I would likely be out of my comfort zone, never having used java.

scope average Average16samples 16samplesplusrolling 64

Duncan-dx1 commented 1 year ago

An approach might be to display average and max/min in lighter colours. Then you could see parasitics and random data.

florentbr commented 1 year ago

I should be possible but it would require a significant amount of work on the existing code. I don't have spare time for this feature, so you'll have to implement it yourself if you want it.

Duncan-dx1 commented 1 year ago

Thank you for you massive effort to date. I understand it is too much work. I will try and compile and have a look at it.

Trace-2 commented 1 year ago

This is a job for ChatGPT LOL ... :)