ALTADataSet.AddSuspensionInterval: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) No edit summary |
Chris Kahn (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
{{Template:ALTADataSet.AddSuspensionInterval.Cmt}} | {{Template:ALTADataSet.AddSuspensionInterval.Cmt}} | ||
== | == Syntax == | ||
{{Template:ALTADataSet.AddSuspensionInterval}} | {{Template:ALTADataSet.AddSuspensionInterval}} | ||
Parameters | |||
:''StartValue'': The starting value of this suspension interval. | |||
The starting value of this suspension interval. | |||
:''EndValue'': The ending value of this suspension interval. | |||
The ending value of this suspension interval. | |||
:''NumberInGroup'': The number of units that were suspended during this interval. | |||
The number of units that were suspended during this interval. | |||
{{Template:ALTADataSet.StressParameters.Cmt}} | {{Template:ALTADataSet.StressParameters.Cmt}} |
Revision as of 18:23, 11 February 2014
Adds a suspension interval and associated stress level to the data set.
Syntax
- AddSuspensionInterval( ByVal StartValue As Double , ByVal EndValue As Double , ByVal NumberInGroup As Integer , ByRef Stress() As Object )
- AddSuspensionInterval( ByVal StartValue As Double , ByVal EndValue As Double , ByVal NumberInGroup As Integer , ByRef Stress1 As Object )
- AddSuspensionInterval( ByVal StartValue As Double , ByVal EndValue As Double , ByVal NumberInGroup As Integer , ByRef Stress1, Stress2 As Object )
Parameters
- StartValue: The starting value of this suspension interval.
- EndValue: The ending value of this suspension interval.
- NumberInGroup: The number of units that were suspended during this interval.
- Stress(): An array containing numeric stress values or references to added ALTAStressProfiles.
- Stress1: A numeric stress value or reference to an added ALTAStressProfile.
- Stress2: A numeric stress value or reference to an added ALTAStressProfile.
Usage Example
Declare the ALTADataSet. See New ALTADataSet for additional details.
Dim ALTADS as New ALTADataSet
Declare an ALTAStressProfile. See ALTAStressProfile for additional details.
Dim sp = New ALTAStressProfile("Profile1") sp.RepeatCycle = True sp.AddSegment(1, 250) sp.AddSegment(2, 300) sp.AddSegment(3, 400)
Add values to the raw data.
ALTADS.AddSuspensionInterval(1, 5, 1, sp) ALTADS.AddSuspensionInterval(6, 10, 1, sp) ALTADS.AddSuspensionInterval(11, 15, 1, sp)