RawDataSet Class

From ReliaWiki
Jump to navigation Jump to search


To view an added data set in Weibull++ or RGA, choose Project > Synthesis > RDW to Folio.

Methods

Properties

  • ExtractedName (as string) Gets or sets the name of the data set.
  • ExtractedDate (as date) Gets or sets the date when the data set was extracted.
  • ExtractedBy (as string) Gets or sets the name of the person who extracted the data set.
  • ExtractedType (as AnalyticalDataSetType) Gets or sets whether the data set is for use with Weibull++ or RGA.

Usage Example

This usage example demonstrates how to create a simple raw data set and add it to a repository's Reliability Data Warehouse (RDW). Full application examples are available at Synthesis_API_Reference#Application_Examples.

 'Create a new RawDataSet object. See RawDataSet. 
 Dim RDW As New RawDataSet
 
 'Create a new RawData object, and specify a part name and number. See RawData. 
 Dim row1 As New RawData
 row1.PartName = "Frame"
 row1.PartNumber = "FRM"
 
 'Add a row to RawDataSet object with the specified part name and number. 
 RDW.AddDataRow(row1)
 
 'Connect to a Synthesis repository. 
 Dim MyRepository As New Repository  
 MyRepository.ConnectToRepository("C:\Users\Name\Documents\ReliaSoft\Files\database.rsr9")
   
 'Add the raw data to the Raw Data Warehouse in the repository. 
 MyRepository.SaveRawDataSet(RDW)
 
 'Disconnect from repository. 
 MyRepository.DisconnectFromRepository()