Stdevvalue – MTS Multipurpose Elite User Manual
Page 270
Syntax
NumberOfPeaks(VarArray, peakCriterion[, startIndex, endIndex, threshold])
Parameters
VarArray - The array data being analyzed for peaks.
peakCriterion - The percentage change from the peak that signifies a peak.
startIndex - The optional start index of the region. The search starts at the first data point if this parameter
is missing.
endIndex - The optional end index of the region. The search ends at the last data point if this parameter
is missing.
Threshold - The optional threshold that must be exceed before searching for peaks.
Unit Class
Integer
Example
NumberOfPeaks(_Load, LoadPeakCriteria, 0, SizeOfArray(_Load) - 1 , MinimumLoad)
This formula:
1. Searches the _Load channel.
2. Looks for drops in the value of _Load channel that correspond to the input LoadPeakCriteria.
3. Searches between the first data point and the last data point.
4. Determines the total number of peaks found.
5. Calculates the result only if the _Load channel becomes greater than the value of the input MinimumLoad.
StDevValue
Calculates the standard deviation of a variable array between two index points.
Syntax
StDevValue(VarArray, startIndex, endIndex)
Parameters
VarArray - The array data being analyzed.
StartIndex - The start index of the region being analyzed.
EndIndex - The end index of the region being analyzed.
Unit Class
Same as array data specified.
Example
StDevValue(_Load, Slope1, Slope2)
270 | MTS TestSuite
Working with Variables