• 0

Need to measure time between maximum and minimum value


Question

Hi 

I am new with AD2 and love using is so far.

I need to create a measurement script to measure the time between minimum and max values. rise time function does not work correctly for my application for some reason.

thank you in advance.

thanksimage.thumb.png.c188625c0cd4b1f657dda3ccc1dde1d4.png

 

Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 1

Hi @Zebel

The Rise/Fall times measures the 80% path, between 10-90% This because the signals have linear range in about this region.
You can add a custom measurement with: Channel.measure("RiseTime")/0.8

image.png.219fdcf07c0d979612a1d14e82c0f5c2.png

image.png.3870f6f70a276fc33af72b5f23680cbe.png

 

Link to post
Share on other sites
  • 0

thank you so much for replying back, and yes now it shows correct number. I just want to know a bit more about the custom measurment you added, the rise time that measured is 25.7uSec and based on your formula it should be 25.7uSec/0.8 = 32.125uSec but in the measurement windows it shows 5.56mSec ( which is correct based on the manual measurement ), I am still confused how this formula works and I would really appreciate it if you can explain it a bit more to me.

thank you. 

image.png.2b0eb8a463199fa241f5131811bd5d27.png

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now