ALTADataSet.AddSuspensionInterval: Difference between revisions
Albert Szeto (talk | contribs) (Created page with '{{Template:APIClass|ALTADataSet Class|ALTADataSet}} Inserts a suspension interval to the ALTADataSet. == Method Syntax == {{APIName|AddSuspensionInterval(}} {{APIPrefix|ByVal}}…') |
John Leavitt (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
== Method Syntax == | == Method Syntax == | ||
{{APIName|AddSuspensionInterval(}} | {{APIName|'''AddSuspensionInterval'''(}} | ||
{{APIPrefix|ByVal}} | {{APIPrefix|ByVal}} | ||
{{APIName|StartValue}} | {{APIName|StartValue}} | ||
Line 22: | Line 22: | ||
{{APIName|)}} | {{APIName|)}} | ||
{{APIName|AddSuspensionInterval(}} | {{APIName|'''AddSuspensionInterval'''(}} | ||
{{APIPrefix|ByVal}} | {{APIPrefix|ByVal}} | ||
{{APIName|StartValue}} | {{APIName|StartValue}} | ||
Line 40: | Line 40: | ||
{{APIName|)}} | {{APIName|)}} | ||
{{APIName|AddSuspensionInterval(}} | {{APIName|'''AddSuspensionInterval'''(}} | ||
{{APIPrefix|ByVal}} | {{APIPrefix|ByVal}} | ||
{{APIName|StartValue}} | {{APIName|StartValue}} | ||
Line 57: | Line 57: | ||
{{APIPrefix|As Object}} | {{APIPrefix|As Object}} | ||
{{APIName|)}} | {{APIName|)}} | ||
{{APIComment|Adds a suspension interval to the collection of data points in the data set.}} | |||
== Parameters == | == Parameters == |
Revision as of 15:52, 24 September 2013
Inserts a suspension interval to the ALTADataSet.
Method 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 )
Adds a suspension interval to the collection of data points in the data set.
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 of numeric values or references to ALTAStressProfiles already entered into the ALTADataSet
Stress1 An numeric value or a reference to an ALTAStressProfile
Stress2 An numeric value or a reference to an ALTAStressProfile
Adds a suspension interval to the collection of data points in the data set.
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)