ALTADataSet.AddFailure: Difference between revisions
Albert Szeto (talk | contribs) No edit summary |
Albert Szeto (talk | contribs) No edit summary |
||
Line 17: | Line 17: | ||
{{APIPrefix|As Object}} | {{APIPrefix|As Object}} | ||
{{APIName|)}} | {{APIName|)}} | ||
{{APIName|AddFailure(}} | {{APIName|AddFailure(}} | ||
{{APIPrefix|ByVal}} | {{APIPrefix|ByVal}} | ||
Line 31: | Line 31: | ||
{{APIPrefix|As Object}} | {{APIPrefix|As Object}} | ||
{{APIName|)}} | {{APIName|)}} | ||
{{APIName|AddFailure(}} | {{APIName|AddFailure(}} | ||
{{APIPrefix|ByVal}} | {{APIPrefix|ByVal}} | ||
Line 53: | Line 53: | ||
'''NumberInGroup''' | '''NumberInGroup''' | ||
The number of units that failed at the '''Value''' time. | The number of units that failed at the '''Value''' time. | ||
'''Stress()''' | |||
An array of numeric values or references to [[ALTAStressProfile|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]] | |||
{{APIComment|Adds a failure data point to the collection of data points in the data set.}} | {{APIComment|Adds a failure data point to the collection of data points in the data set.}} |
Revision as of 00:26, 12 September 2013
Inserts a failure point to the WeibullDataSet.
Method Syntax
AddFailure( ByVal Value As Double , ByVal NumberInGroup As Integer , ByRef Stress() As Object )
AddFailure( ByVal Value As Double , ByVal NumberInGroup As Integer , ByRef Stress1 As Object )
AddFailure(
ByVal
Value
As Double
,
ByVal
NumberInGroup
As Integer
,
ByRef
Stress1, Stress2
As Object
)
Adds a failure data point to the collection of data points in the data set.
Parameters
Value The failure point in time.
NumberInGroup The number of units that failed at the Value time.
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 failure data point 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
Add values to the raw data.
ALTADS.AddFailure(1, 1) ALTADS.AddFailure(2, 1) ALTADS.AddFailure(3, 1)
Get the number of failures. In this example, NumberOfFailures will be 3.
Dim NumberOfFailures as Integer NumberOfFailures = WeibullDataSet.FailureCount