ALTAStressProfile.AddSegment: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) No edit summary |
Chris Kahn (talk | contribs) |
||
Line 10: | Line 10: | ||
== Usage Example == | == Usage Example == | ||
{{APIComment|Declare an [[ALTAStressProfile Class|ALTAStressProfile]].}} | {{APIComment|'Declare an [[ALTAStressProfile Class|ALTAStressProfile]].}} | ||
Dim sp = New ALTAStressProfile("Profile1") | |||
{{APIComment|Add segments.}} | {{APIComment|'Add segments.}} | ||
sp.AddSegment(1, 250) | |||
sp.AddSegment(2, 300) | |||
sp.AddSegment(3, 400) |
Revision as of 22:31, 23 May 2014
Adds a new segment to the stress profile.
Method Syntax
- AddSegment( SegmentEnd As Double , Stress As Double )
Parameters
- SegmentEnd: The time at the end of this segment.
- Stress: The stress during this segment.
Usage Example
'Declare an ALTAStressProfile. Dim sp = New ALTAStressProfile("Profile1") 'Add segments. sp.AddSegment(1, 250) sp.AddSegment(2, 300) sp.AddSegment(3, 400)