Although it involves a Rube method as compared to Linear Fit, the attached vi teaches what a slope really is.
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.
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.
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.
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