ALTAStressProfile Class: Difference between revisions
Jump to navigation
Jump to search
John Leavitt (talk | contribs) No edit summary |
John Leavitt (talk | contribs) |
||
Line 29: | Line 29: | ||
sp.AddSegment(3, 400) | sp.AddSegment(3, 400) | ||
{{APIComment|Add the stress profile.}} | {{APIComment|Add the stress profile. See [[ALTADataSet.AddStressProfile|AddStressProfile]] for additional details.}} | ||
'''ALTADS.AddStressProfile(sp)''' | '''ALTADS.AddStressProfile(sp)''' |
Revision as of 17:29, 6 February 2014
Constructors
This section contains information on how to create a new stress profile.
- New ALTAStressProfile Creates a new stress profile class that represents the data of the stress profile.
Methods
This section contains the methods that a user might use to manipulate their stress profile.
- AddSegment Adds a new segment to the stress profile.
- GetSegments Returns an array of ALTASegment objects that define each segment in the profile.
Properties
This section contains properties that a user may use to analyse their stress profile.
- Name Gets the name of the stress profile.
- RepeatCycle If set to true, cycles through the segments. Otherwise continues from the last stress.
Formatted 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)