ALTADataSet.AddStressDefinition

The number of stress values used in subsequent calls to AddFailure, AddSuspension, etc. must be equal to the number of stress definitions in the data set (e.g., before you can add a failure time obtained with two stresses, you must add two stress definitions).

The same functionality is access via the Add/Remove Columns window in ALTA.

Syntax
 AddStressDefinition(

=

= 1 )  

Parameters
 * Name: The name of the new stress definition.


 * StressRelation: The stress transformation to apply to the new stress, specified using the ALTASolverLSR enumeration.


 * UseStress: The use stress level.

Usage Example
Dim ALTADS as New ALTADataSet

ADS.AddStressDefinition("NewStress1")

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

ALTADS.AddStressProfile(NewStressProfile1)