ALTADataSet.AddFailureInterval: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) No edit summary |
Chris Kahn (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
== Syntax == | == Syntax == | ||
{{Template:ALTADataSet.AddFailureInterval}} | <ul> | ||
<li>AddFailureInterval( | |||
{{APIName|StartValue}} | |||
{{APIPrefix|As Double}} | |||
{{APIName|,}} | |||
{{APIName|EndValue}} | |||
{{APIPrefix|As Double}} | |||
{{APIName|,}} | |||
{{APIName|NumberInGroup}} | |||
{{APIPrefix|As Integer}} | |||
{{APIName|,}} | |||
{{APIName|Stress()}} | |||
{{APIPrefix|As Object}} | |||
) | |||
{{APIComment|{{Template:ALTADataSet.AddFailureInterval1.Cmt}}}} | |||
</li> | |||
<li> | |||
AddFailureInterval( | |||
{{APIName|StartValue}} | |||
{{APIPrefix|As Double}} | |||
{{APIName|,}} | |||
{{APIName|EndValue}} | |||
{{APIPrefix|As Double}} | |||
{{APIName|,}} | |||
{{APIName|NumberInGroup}} | |||
{{APIPrefix|As Integer}} | |||
{{APIName|,}} | |||
{{APIName|Stress1}} | |||
{{APIPrefix|As Object}} | |||
) | |||
{{APIComment|{{Template:ALTADataSet.AddFailureInterval2.Cmt}}}} | |||
</li> | |||
<li> | |||
AddFailureInterval( | |||
{{APIName|StartValue}} | |||
{{APIPrefix|As Double}} | |||
{{APIName|,}} | |||
{{APIName|EndValue}} | |||
{{APIPrefix|As Double}} | |||
{{APIName|,}} | |||
{{APIName|NumberInGroup}} | |||
{{APIPrefix|As Integer}} | |||
{{APIName|,}} | |||
{{APIName|Stress1}} | |||
{{APIPrefix|As Object}} | |||
{{APIName|,}} | |||
{{APIName|Stress2}} | |||
{{APIPrefix|As Object}} | |||
) | |||
{{APIComment|{{Template:ALTADataSet.AddFailureInterval3.Cmt}}}} | |||
</li> | |||
</ul> | |||
Parameters | Parameters |
Revision as of 20:12, 25 February 2014
Adds a failure interval and associated stress level to the data set.
Syntax
- AddFailureInterval( StartValue As Double , EndValue As Double , NumberInGroup As Integer , Stress() As Object ) Adds interval censored failures to the data set, using the specified start/end times, the number of failures during the interval and an array of stress values/profiles for all the stresses.
- AddFailureInterval( StartValue As Double , EndValue As Double , NumberInGroup As Integer , Stress1 As Object ) Adds interval censored failures to the data set, using the specified start/end times, the number of failures during the interval and a single stress value/profile.
- AddFailureInterval( StartValue As Double , EndValue As Double , NumberInGroup As Integer , Stress1 As Object , Stress2 As Object ) Adds interval censored failures to the data set, using the specified start/end times, the number of failures during the interval and two stress values/profiles.
Parameters
- StartValue: The starting value of this failure interval.
- EndValue: The ending value of this failure interval.
- NumberInGroup: The number of units that failed 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.AddFailureInterval(1, 5, 1, sp) ALTADS.AddFailureInterval(6, 10, 1, sp) ALTADS.AddFailureInterval(11, 15, 1, sp)