10-05-2005 06:27 AM
10-05-2005 02:22 PM
10-15-2010 06:59 AM
Hello,
I'm looking for the same function.
What you suggest works fine if you just want to get the Max value.
If you copy the spec. Channel to a new channel you'll loose the channel index of the original event.
If you want to use the Max. Value of the PeakFind func. of the original channel for e.g.. a Trigger to synchronize other channels of the measurement your solution doesn't work.
If I use your purpose I've to compare the copied values with the original values to find the correct channel line (index) within the original channel.
So It would be niche to get the function findPeakmax or min in time period.
Cheers
Thomas
DIAdem 2010
10-15-2010 03:59 PM
Hi,
You may want to consider the StatBlockCalc function. It will give you the maximum amplitude of a channel and you can limit it to search only a limited number of values.
Then find that maximum value with the ChnFind function and set the starting index to the first line you want to include.
This should return the index of the maximum value as long as you have a true maximum (just 1).
You could check by running ChnFind again from the index of the first maximum value to see if it is unique in the window specified.
HTH,
Marcel
10-21-2010 07:28 AM
with chnpeakfind , you search peak value and not the maximum... if the max value is the first value chnpeakfind doesn't work.
use cch and chnfind
06-23-2016 05:56 AM
Hi,
We are looking for Max. Value & Min. value as mentioned in attached waveform.
Kindly advice how can i calculate this time specified certain amplitude.
Thanks & Regards,
Dinesh
06-23-2016 06:30 AM
Hi
If the rule is: after a local maximum follows a local minimum, then this can work:
Find all local maximum (PeakSearch)
Find all local minimum (PeakSearch)
Sort the first X/Y result
Sort the second X/Y result
Subtract the sorted Y1 result from the sorted Y2 result
Result: the highest amplitude is the maximum value of the subtraction result.
I hope this helps
Greetings
Walter
06-23-2016 06:42 AM
Hi
Thank you for your reply, I'm new for Diadem.
Kindly send us the command code or setting to fnd the result.
Dinesh
06-23-2016 08:16 AM
Attached you find a example script and a test dataset
Greetings
Walter
06-27-2016 04:57 PM
Hello Dinesh,
I read through your initial question again . Perhaps we were trying to solve a problem which is more complicated than what you were really asking for. When I looked at the picture you attached, I thought you were simply looking to the time value (x-value) of a waveform at 2 points . The absolute maximum and the absolute minium
So, are you only asking how you can find the time value for the maximum y-value and the time value for the minimum y-value ?