ALTAStressProfile Class: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) No edit summary |
Chris Kahn (talk | contribs) |
||
Line 6: | Line 6: | ||
== Methods== | == Methods== | ||
*[[ALTAStressProfile.AddSegment|AddSegment( Double, Double )]] {{APIComment|{{Template:ALTAStressProfile.AddSegment.Cmt}}}} | *[[ALTAStressProfile.AddSegment|AddSegment( Double, Double )]] {{APIComment|{{Template:ALTAStressProfile.AddSegment.Cmt}}}} | ||
*[[ALTAStressProfile.GetSegments|GetSegments]] {{APIComment|{{Template:ALTAStressProfile.GetSegments.Cmt}}}} | *[[ALTAStressProfile.GetSegments|GetSegments]] {{APIComment|{{Template:ALTAStressProfile.GetSegments.Cmt}}}} | ||
*[[ALTAStressProfile.Clear|Clear]] {{APIComment|Deletes all segments in the profile.}} | |||
== Properties == | == Properties == |
Revision as of 18:35, 11 March 2014
Constructors
- ALTAStressProfile Creates a new ALTAStressProfile object.
Methods
- AddSegment( Double, Double ) Adds a new segment to the stress profile.
- GetSegments Returns an array of ALTASegment objects that define each segment in the profile.
- Clear Deletes all segments in the profile.
Properties
This section contains properties that a user may use to analyse their stress profile.
- Name (as string) Gets the name of the stress profile.
- RepeatCycle (as string) If set to true, cycles through the segments. Otherwise continues from the last stress.
Usage Example
Declare the ALTADataSet. See New ALTADataSet for additional details.
Dim ALTADS as New ALTADataSet
Declare an ALTAStressProfile. See ALTAStressProfile for additional details.
Dim sp = New ALTAStressProfile("Profile1") sp.RepeatCycle = True sp.AddSegment(1, 250) sp.AddSegment(2, 300) sp.AddSegment(3, 400)
Add the stress profile. See AddStressProfile for additional details.
ALTADS.AddStressProfile(sp)