Trend Controls (4.6)

This article applies to version 4.6 of P2 Explorer. For more, see Release History. For the latest help, see Trend Controls.

Overview

The Trend Controls can be found at the top of the trend, just below the ribbon.

The Trend Controls is a group of controls that you use to change the trend period, as well as the sample interval and sample method, and is made up of:

  • Time selectors
  • Sample Interval selector (options include: 30 seconds, 1 minute, 2 minutes, 1 hour, 1 month, 3 months, etc.), depending on the other selections you have made
  • Sample Method selector (options include: Average, Last Known Value, Linear Interpolate, Adaptive Raw, and Raw)
  • The 'Now' option, which causes the trend to auto-refresh, when selected

Here is an example of trend control selections:

 

Notes on the Trend Controls

For performance reasons, the options available in the controls are interdependent.

If Raw is selected, the time setting becomes Duration and the duration is selected as 8 hours. The limit of 8 hours can be updated in Explorer's web.config file (MaximumRawDuration). You can choose a different duration from the available options, which also vary depending on the Sample Method.

The available Sample Intervals change depending on the trend's selected time range, or the selected Duration. The longer the trend's time range, the larger the available sample intervals are. This prevents too much data being requested (for example, you cannot request one year of data at a 20 seconds sample interval).

Related: Data Transformation and Sample Methods (see how the data is fetched for the trend).


The Trend Control Selections

As well as being able to change the selections using the controls, you can also change the selection by using the range selector, or the zoom function.

Changing the Trend Control Selections

The selections you make on the Trend Controls affect the time range of the trend, as well as the data collection method (Sample Method) and interval (Sample Interval).

With 'Now' Selected

For a new trend, Now is pre-selected. This is how the controls look with Now selected:

1. Time Setting This is Duration where Now is selected. If you select Fixed, the Now check box is cleared. (The table below this one shows the controls where Now is cleared.)
2. Duration This is the duration leading up to the current date and time (Now). To change the duration, select from the drop-down list (e.g. 8 hours, 3 days, 1 year). See Note above on sample method and duration, and how they work together: Notes on the Trend Controls.
3. Sample Interval This is the sample interval (for example, 1 hour) that P2 Server uses to collect the trend data. See Note above for how the sample interval is calculated based on the trend's time range.
4. Sample Method This is the sample method (for example, Average) that P2 Server uses to collect the trend data. See Note above on sample method and duration, and how they work together.
5. Now When you select Now, the trend end time is the current time. This refreshes at the Sample Interval rate (with 30 seconds as the lowest refresh rate). You can also click the Refresh button on the ribbon for an immediate refresh.

 

With 'Now' Unselected

If you clear Now, the time controls change so that there is also an end time (labelled To). This is how the controls look with Now cleared:

or:

1. Time Setting Select Duration or Fixed.
2. Duration or Start Time If the time setting is Duration, then this is the duration leading up to the trend end time (To). To change the duration, select from the drop-down list (e.g. 8 hours, 3 days, 1 year). See Note below for how sample method and trend duration work together.
If the time setting is Fixed, then select the range start date and time from the Date/Time Picker.
3. To This is the trend end time.
To change the end time, select a date and time from the Date/Time Picker.
4. Sample Interval This is the sample interval (for example, 1 hour) that P2 Server uses to collect the trend data.
5. Sample Method This is the sample method (for example, Average) that P2 Server uses to collect the trend data. See Note below on sample method and duration, and how they work together.
6. Now When you select Now, the trend end time is the current time. This refreshes at the Sample Interval rate (with 30 seconds as the lowest refresh rate). You can also click the Refresh button on the ribbon for an immediate refresh. (The table above this one shows the controls where Now is selected.)

 

Changing your Time Selection with the Range Selector

The Range Selector, located below the Trace Window, works interchangeably with the Time trend controls to set your trend time range. The range selector has a highlighted section that matches the time range set by the date pickers, with double that time period shown before the selection if Now is selected (for example, for a new trend).

Resizing the highlighted section

1. Hover the mouse over the left or right edge of the highlighted section, until you see the mouse horizontal resize pointer .

2. Now click and drag to left or right. Note how the trend start and end time changes.

Moving the highlighted section

1. Hover the mouse over the central portion of the highlighted section, until you see the mouse move pointer .

2. Now click and drag the whole highlighted section to left (earlier) or right (later). Note how the trend start and end time changes.

Read more: Range Selector

Changing your Time Selection with the Zoom Feature

If there is a particular portion of the trace that you want to see in more detail, for example an unexpected spike in values, you can zoom into this to get a closer look, rather than using the Trend Controls.

Zooming changes the selected time range and sample interval, to give you an optimal view of the section you are interested in.

Read more: Zoom


The Adaptive Raw Sample Method

The Adaptive Raw sample method works differently from the other sample methods.

Adaptive Raw fetches far fewer data points from P2 Server (a maximum of 2000 points), yet renders a trend that is virtually identical to that produced when using the ‘Raw’ sample method (you may need to adjust the Sample Interval for Raw, to notice this).

The Adaptive Raw method renders the trend much faster than the ‘Raw’ method does. The Sample Interval cannot be selected for this method; it is called ‘Auto’, and is determined automatically to deliver the optimal number of data points. Server fetches the raw data points from the Historian, then uses an algorithm within its calculation engine to reduce the number of points, before sending these on to Explorer for the trend. (Please note that when you export to CSV, these are the same points that are exported; not the raw points from the Historian.)

Using the Adaptive Raw method, you can now view granular trends over a much longer period than before (up to two years, rather than up to eight hours).

Note: When the Adaptive Raw sample method is selected, the trend will only export the rendered data, not all of the raw data.

 


Release History

  • Trend Controls 4.6 (this release)
    • When you zoom, using the zoom feature introduced in this version, the start and end times, as well as the sample interval and method, will adjust automatically to suit the zoom selection
  • Trend Controls 4.5.5
  • Trend Controls 4.5.4

 

Comments are closed