I am new here and have got a PicoScope 4000 series.
I have to measure pulse widths. Attached you see an example. Further there will be around 100 pulses to measure within one shot. So autamatic measurement would be a good idea .
My dream would be an output (csv or txt) of the full shot containing only:
Absolute time pulse width
... ...
One line one pulse.
Is there a way with a macro in PicoScope or something else (I tried already OO calc with a macro but it is slow and crashes)?
In the example picture you have posted there are 12 pulses, so you are looking for a list containing 12 pulse widths.
Unfortunately that is not currently possible in the software, although we are looking at measurements for future releases.
If the period of the wave stays the same, and it is just the duty cycle that is changing, then you can plot this as a maths channel, Tools->MathChannels->Create duty(A) , and with a bit of scaling have this scale as time instead of %
Yes it would be possible to write an application using the SDK to do this.
The key parts are knowing the sample interval, and then reading the data looking for the positive and negative transitions. You then just count the number of samples between these points to work out the pulse times. You will need to add in a little hysteresis checking so that noise doesn't provide you with a false crossing.