ALTADataSet.AddFailureInterval: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
The number of units that failed during this interval.
The number of units that failed during this interval.


'''Stress()'''
{{Template:ALTADataSet.StressParameters.Cmt}}
An array of numeric values or references to [[ALTAStressProfile Class|ALTAStressProfiles]] already entered into the ALTADataSet
 
'''Stress1'''
An numeric value or a reference to an [[ALTAStressProfile Class|ALTAStressProfile]]
 
'''Stress2'''
An numeric value or a reference to an [[ALTAStressProfile Class|ALTAStressProfile]]


== Usage Example ==
== Usage Example ==

Revision as of 18:11, 11 February 2014


Adds a failure interval and associated stress level to the data set.

Method Syntax

  • AddFailureInterval( ByVal StartValue As Double , ByVal EndValue As Double , ByVal NumberInGroup As Integer , ByRef Stress() As Object )
  • AddFailureInterval( ByVal StartValue As Double , ByVal EndValue As Double , ByVal NumberInGroup As Integer , ByRef Stress1 As Object )
  • AddFailureInterval( ByVal StartValue As Double , ByVal EndValue As Double , ByVal NumberInGroup As Integer , ByRef Stress1, Stress2 As Object )

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)