TimePeriodMode Wizard option
- Last UpdatedAug 06, 2024
- 2 minute read
A trend time period is the interval of measured values shown on the X-axis of the trend, which consists of a start time, end time, and a duration. TimePeriodMode provides options to specify the type of time period shown by a trend.
-
Fixed: In a Fixed trend period, the start time is initially the current time. The start time of a trend period does not change automatically and can be specified by a script using the StartTime property. The end time of a Fixed trend period is set by the duration of the trend from the specified start time of the period. The EndTime property is read only.
In a Fixed trend time period, a trend updates from the left with the most current measured value shown at the left margin of the trend grid.
-
Moving: In a Moving trend period, the end time of a trend period is the current time. The end time is the duration of the time period from the start time.
In a Moving trend period, a trend updates from the right with the most current measured value shown at the right margin of the trend grid.
Note: When the Meter Wizard option is set to True for a SA_Trend_SinglePen symbol, a meter can be shown at the right margin of a trend set to a Moving time period.
Related Wizard options and custom properties
Different combinations of Wizard options and custom properties are shown based on the selected TimePeriodMode Wizard option. The following tables list the Wizard options and custom properties for both trend time period modes.
|
Type: Fixed Wizard options |
Custom properties |
|
Type: Fixed |
TimePeriod custom property: Set the trend time period in minutes |
|
SetTrendStartTime custom property:Set the start time of the trend period. |
|
Type: Moving Wizard options |
Custom properties |
|
Type: Moving |
TimePeriod custom property: Set the trend time period in minutes. |
|
GridVerticalTimePeriodScale: True | False |
|
|
GridVerticalTimePeriodScaleUnits: True | False |