WeibullDataSet.AddFailure

From ReliaWiki
Revision as of 22:14, 30 March 2016 by Kate Racaza (talk | contribs)
Jump to navigation Jump to search
APIWiki.png


Member of: SynthesisAPI.WeibullDataSet


Adds a failure time to the data set.

Syntax

.AddFailure(Value, NumberInGroup)

Parameters

Value

Required. Double. The exact time of failure.

NumberInGroup

Required. Integer. The number of failed units at the time of failure.


Example

VBA

 'Declare a new WeibullDataSet object.  
  Dim WDS As New WeibullDataSet
 
 'Add the failure times 10, 20 and 30 to the data set.  
  Call WDS.AddFailure(10, 1)
  Call WDS.AddFailure(20, 1)
  Call WDS.AddFailure(30, 1)
VB.NET

 'Declare a new WeibullDataSet object.  
  Dim WDS As New WeibullDataSet
 
 'Add the failure times 10, 20 and 30 to the data set.  
  WDS.AddFailure(10, 1)
  WDS.AddFailure(20, 1)
  WDS.AddFailure(30, 1)