ALTADataSet.AddFailure

Inserts a failure point to the ALTADataSet.

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

Usage Example
Dim ALTADS as New ALTADataSet

Dim sp = New ALTAStressProfile("Profile1") sp.RepeatCycle = True sp.AddSegment(1, 250) sp.AddSegment(2, 300) sp.AddSegment(3, 400)

ALTADS.AddFailure(1, 1, sp) ALTADS.AddFailure(2, 1, sp) ALTADS.AddFailure(3, 1, sp)

Dim NumberOfFailures as Integer NumberOfFailures = ALTADS.FailureCount