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). Full application examples are available at Synthesis_API_Reference.

Dim ALTADS as New ALTADataSet ALTADS.AddStressDefinition("Stress1", ALTASolverLSR.Exponential, 300) Dim sp = New ALTAStressProfile("Profile1") sp.RepeatCycle = True sp.AddSegment(1, 250) sp.AddSegment(2, 300) sp.AddSegment(3, 400) ALTADS.AddFailure(10, 1, sp) ALTADS.AddFailure(20, 1, sp) ALTADS.AddFailure(30, 1, sp) ALTADS.AddSuspension(50, 3, sp) Dim NumberOfFailures as Integer NumberOfFailures = ALTADataSet.FailureCount Dim NumberOfSuspension as Integer NumberOfSuspension = ALTADS.SuspensionCount ALTADS.AnalysisSettings.ModelType = ALTASolverModel.CumDamage ALTADS.Calculate Dim Rel as Double Rel = ALTADS.FittedModel.Reliability(100) ALTADS.ClearDataSet