07-08-2011 07:05 AM
Hi all,
I want to calculate the slope of a X-Y curve, for example, amplitude v.s. position. I was trying to use the derivative method but failed. Could anyone help me with this problem? The example vi. is attached.
Regards,
Nicky.
Solved! Go to Solution.
07-08-2011 07:28 AM
Like this
07-08-2011 07:29 AM - edited 07-08-2011 07:29 AM
Dang it, too slow...
Try the Linear Fit VI
07-11-2011 11:10 AM
Although it involves a Rube method as compared to Linear Fit, the attached vi teaches what a slope really is.
08-27-2012 06:19 PM
Can you post the same solved example with labview 8.2?
08-28-2012 06:39 AM
Here is an 8.0 version.
08-28-2012 12:20 PM
Hey
Attached is the Vi.
Could you please help me if I want to find the slope and I want to stop the loop and measurement when the maximum slope has been attained.
Help will be very much appreciated.
08-28-2012 12:51 PM
How are you defining "maximum slope". Is it a simple threadhold (stop when slope >= a set value) or are you looking for the inflection point (calculating on the fly the maximum slope and stopping when it is reached)? The threshold is a simple comparison.
08-28-2012 12:54 PM
No it is infection point, as in after getting the measurement value , finding the slope and stopping when the slope is highest as in it has maximum deviation from the previous value.
08-29-2012 07:29 PM
You should be having a Max limit value so that you can compare on the fly and stop if the max slope is achieved. Check the attached example and also keep it in a single thread
Good luck