beautypg.com

Breakindexbydropfrompeak – MTS Multipurpose Elite User Manual

Page 231

background image

Starting Point of Region

To determine the starting point of the analysis region, the algorithm will select the first point where the “min
load” value is located in the y-channel. If the “min load” is not found, the algorithm will attempt to locate
the point where “% strain point” is located in the x-channel. If this point cannot be determined, the first
data point in the channel is used.

Ending Point of Region

To determine the ending point of the analysis region, the algorithm will select the first point where the “max
load” value is located in the y-channel data. The search will either begin at the first data point or the point
where the “% strain point” was located in the x-channel. If the “max load” is not located, the end point of
the region is assigned to the point associated with the peak value on the y-channel. If all else fails to locate
the end point, the index of the last point of data in the channel is selected.

BreakIndexByDropFromPeak

The BreakIndexByDropFromPeak function is used to calculate the break point using a specified drop from
the peak in the array data.

Returns

This function returns the index point in the array where the break point was detected.

Syntax

BreakIndexByDropFromPeak(channel, dropValue, [startIndex], [endIndex])

Parameters

BreakIndexByDropFromPeak Parameters

Description

Parameter

The array data being analyzed for the break point.

Channel

The percentage drop from the peak that signifies a break
occurred.

DropValue

The optional starting point in the array. The starting point in the
array is used if this parameter is not provided.

StartIndex

The optional ending point in the array. The last point in the array
is used if this parameter is not provided.

EndIndex

Unit Class

Integer

Example

A test contains the input BreakDrop that is equal to 80%.

BreakIndexByDropFromPeak(_Load, BreakDrop)

MTS TestSuite | 231

Working with Variables