ALTADataSet Class

Constructors

 * ALTADataSet
 * ALTADataSet( String )

Methods
Use these methods to enter data points into a data sheet and analyze them. The settings for the analysis are specified with this class's properties.

Add Stresses and Stress Profiles
 * AddStressDefinition( String, [ALTASolverLSR], [Double] )
 * AddStressProfile( ALTAStressProfile )

Add/Remove Data
 * AddFailure( Double, Integer, Object )
 * AddFailure( Double, Integer, Object )
 * AddFailure( Double, Integer, Object, Object )
 * AddSuspension( Double, Integer, Object )
 * AddSuspension( Double, Integer, Object )
 * AddSuspension( Double, Integer, Object, Object )
 * AddFailureInterval( Double, Double, Integer, Object )
 * AddFailureInterval( Double, Double, Integer, Object )
 * AddFailureInterval( Double, Double, Integer, Object, Object )
 * AddSuspensionInterval( Double, Double, Integer, Object )
 * AddSuspensionInterval( Double, Double, Integer, Object )
 * AddSuspensionInterval( Double, Double, Integer, Object, Object )
 * ClearDataSet

Analyze Data
 * Calculate

Properties
Use these properties to specify analysis settings and view analysis results, as well as view or edit properties of the data set.

Analysis Settings
 * AnalysisSettings (as ALTAAnalysisOptions)
 * GeneralSettings (as ALTAGeneralOptions)
 * PlotUseStress( Integer ) (as double)
 * StressRelation( Integer ) (as ALTASolverLSR)

Analysis Results
 * FittedModel (as cModel)
 * AnalysisResults (as ALTAAnalysisResults)

Data Set Properties
 * DatasetName (as string)
 * FailureCount (as integer)
 * SuspensionCount (as integer)
 * NumStresses (as integer)

Events
The ALTAEvents class contains
 * Message( ALTADataSet, String, String, Boolean )
 * Question( ALTADataSet, String, MsgBoxStyle, MsgBoxResult )
 * UpdateCalculationProgress( ALTADataSet, String, String, Double, Boolean, Long, Boolean )
 * ShowCalculationProgress( ALTADataSet )
 * HideCalculationProgress( ALTADataSet )

Usage Example
This example demonstrates how to analyze failure times and suspensions obtained under time-varying stress conditions (ALTA PRO only). 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) ALTADS.AddSuspension(1, 1, sp) ALTADS.AddSuspension(2, 1, sp) ALTADS.AddSuspension(3, 1, sp) Dim NumberOfFailures as Integer NumberOfFailures = ALTADataSet.FailureCount Dim NumberOfSuspension as Integer NumberOfSuspension = ALTADS.SuspensionCount ALTADS.AnalysisSettings.ModelType = ALTASolverModel.CumDamage ALTADS.Calculate ALTADS.ClearDataSet