ALTADataSet.ClearDataSet

From ReliaWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
APIWiki.png


Member of: SynthesisAPI.ALTADataSet


Clears all data in the data set and removes the fitted model, if any.

Syntax

.ClearDataSet()


Example

VBA

 'Declare a new ALTADataSet object.  
  Dim ADS As New ALTADataSet
 
 'Define a stress type. 
  Call ADS.AddStressDefinition("Stress1",,10)
  
 'Add failure times for Stress1 = 190. 
  Call ADS.AddFailure_2(100, 1, 190)
  Call ADS.AddFailure_2(120, 1, 190)
  Call ADS.AddFailure_2(130, 1, 190)

 'Clear the defined stress and failure times from the data set. 
  Call ADS.ClearDataSet()


VB.NET
 
 'Declare a new ALTADataSet object.  
  Dim ADS As New ALTADataSet
 
 'Define a stress type. 
  ADS.AddStressDefinition("Stress1",,10)
 
 'Add failure times for Stress1 = 190. 
  ADS.AddFailure(100, 1, 190)
  ADS.AddFailure(120, 1, 190)
  ADS.AddFailure(130, 1, 190)
 
 'Clear the defined stress and failure times from the data set. 
  ADS.ClearDataSet()