I have a Hantek 6022BE oscilloscope and I want to know how I can count the time and number of times a certain voltage is reached by the wave. For example, I am measuring the voltage of data being transferred over a USB cable. So since the data is transferred as 1s and 0s, the voltage is approximately either high (around 20mV) or low (0V). I want to know how many high voltage (around 20mV) spikes there are. Obviously since there is a lot of noise, the electrical signal of the waveform is not very clean.
I want to know if there is a way to count for how long the voltage was above a certain, manually set, voltage. Can the Hantek application which I downloaded do this for me in any way?