I have a bit toggle on the output of a uController and want to know what the longtest time is a Interrupt is keeping the main loop from toggling the output (As measurement worst case scenario)
Is there a automatic way to do this.
I had high hopes for Measurement "Cycle Time" but the min/max/avg give all the same times.
Also "Duty Cycle" is no help.
http://www.ans-net.nl/picotech/20201023 ... gle.psdata
Benno
detect max interval between flanks
Re: detect max interval between flanks
Hi Benno,
Do you have an example pointing out the toggle period with measurement rulers so that we can see what you are trying to measure with auto meausurements?
Regards,
Gerry
Do you have an example pointing out the toggle period with measurement rulers so that we can see what you are trying to measure with auto meausurements?
Regards,
Gerry
Gerry
Technical Specialist
Technical Specialist
Re: detect max interval between flanks
in the example .psdata from the first post
the times below so max low time or max high time.
Benno
the times below so max low time or max high time.
Benno
Re: detect max interval between flanks
Hi Benno,
I don't know what degree of automation you need, but you can use Deep Measure to find the largest high pulse width, as shown in the image and data file below:
After running deep measure you click on the 'High pulse width heading' to sort the column as largest from top to bottom, and then click on the first value in the column to make the display jump to the largest pulse high.
Unfortunately, there is no automation command for exporting Deep measurements (as the updating of the automation commands stopped before Deep Measure was introduced). As I mentioned on another post, you may be able to find a Windows automation tool that suits your needs (allows you to automate mouse movements and clicks) that you can then run from a batch file (last time I looked there was 'Mouse Controller'). So you could set up the Mouse clicks to run on a single click if you just want to view the maximum. Alternatively, if you want to log a number of maximums to view later, you could set up the mouse clicks to export a CSV file, so that you can then import it into Excel and find your max with a Macro or VBA routine.
Regards,
Gerry
I don't know what degree of automation you need, but you can use Deep Measure to find the largest high pulse width, as shown in the image and data file below:
After running deep measure you click on the 'High pulse width heading' to sort the column as largest from top to bottom, and then click on the first value in the column to make the display jump to the largest pulse high.
Unfortunately, there is no automation command for exporting Deep measurements (as the updating of the automation commands stopped before Deep Measure was introduced). As I mentioned on another post, you may be able to find a Windows automation tool that suits your needs (allows you to automate mouse movements and clicks) that you can then run from a batch file (last time I looked there was 'Mouse Controller'). So you could set up the Mouse clicks to run on a single click if you just want to view the maximum. Alternatively, if you want to log a number of maximums to view later, you could set up the mouse clicks to export a CSV file, so that you can then import it into Excel and find your max with a Macro or VBA routine.
Regards,
Gerry
Gerry
Technical Specialist
Technical Specialist
Re: detect max interval between flanks
Thanks that was the solution deep measure.
Benno
Benno