Counting pulses

Post any questions related to the new PicoScope 7 software
Post Reply
rsharp
Newbie
Posts: 0
Joined: Tue Dec 19, 2023 1:58 pm

Counting pulses

Post by rsharp »

I have data captured with a 6404D, such as attached. I am trying to count the number of pulses of height above the +ve ruler setting (20mV) and, separately, below the -ve ruler setting (-20mV). However, every combination of measurement settings I have tried returns zero, including rising and falling edge and various smaller windows.
Any help would be appreciated.
Thanks,
Richard Sharp
Attachments
Pico1.jpg

Martyn
Site Admin
Site Admin
Posts: 4501
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Counting pulses

Post by Martyn »

Can you post a psdata file so that we can try a few different options on your data.
Martyn
Technical Support Manager

rsharp
Newbie
Posts: 0
Joined: Tue Dec 19, 2023 1:58 pm

Re: Counting pulses

Post by rsharp »

Unfortunately, the data files are too large to post (40MB). Can I extract part of a file to post?

Martyn
Site Admin
Site Admin
Posts: 4501
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Counting pulses

Post by Martyn »

You could save the current waveform rather than the whole set, which may reduce the file size. Otherwise put the file on a file server and send a link to support@picotech.com
Martyn
Technical Support Manager

rsharp
Newbie
Posts: 0
Joined: Tue Dec 19, 2023 1:58 pm

Re: Counting pulses

Post by rsharp »


rsharp
Newbie
Posts: 0
Joined: Tue Dec 19, 2023 1:58 pm

Re: Counting pulses

Post by rsharp »

Hi again and a happy New Year.
I was wondering whether you were able to access the file I uploaded, so as to address my question?
Thanks,
Richard

Martyn
Site Admin
Site Admin
Posts: 4501
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Counting pulses

Post by Martyn »

You may be able to use deep measure as shown here
Edge count.png
the number of cycles in the table gives the count
Martyn
Technical Support Manager

bennog
Advanced User
Advanced User
Posts: 208
Joined: Mon Nov 26, 2012 9:16 am
Location: Netherlands

Re: Counting pulses

Post by bennog »

If you do a low pass filter of 20kHz then you even can go to -3 mV
but you wont get the positive only pulses.
And if possible set the sensitivity to +/- 100 mV
for the counting pulses the overvoltage is no problem in your data the 8bit ADC noise is a far bigger problem.

P.S. if you export the data to CSV and do the filtering in code (python / C++ / basic) then you can count the number of times the difference over a period of 25uS is bigger than 10mV (or even 5mV)

P.P.S. a math channel with LowPass(A-A[0,000025];20000) will do nice.

Benno

rsharp
Newbie
Posts: 0
Joined: Tue Dec 19, 2023 1:58 pm

Re: Counting pulses

Post by rsharp »

Many thanks, Martyn. That approach does give very similar results to a (tedious) manual count.
Next, I will investigate the LPF suggestion from Benno.

Post Reply