Table - Interval Sample Size
Selecting Interval for Sample Size will return a data set with the number of rows determined by the interval. For example, if the range of time is one hour and the interval is one minute, the number of rows in the data set will be sixty one. This is because there are sixty rows that represent sixty minutes in an hour plus an additional row that represents the current values that are building an interval.
To set the Interval Sample Size
-
Drag a Table (or a Power Table) from the Component Palette into your window.
-
In the Property Editor, go to the Data property, and click the binding icon.
The Property Binding window is displayed. -
Select the Tag History option.
-
From Available Historical Tags, find the desired historical tags by selecting and expanding the historical providers.
-
Once you have found the tag, drag it into to the right into Selected Historical Tags.
-
Enter a desired start and end date in the Start Date Binding and End Date Binding text boxes.
If you want to enable the user to change the date range, bind these to the Start Date and End Date properties of a Date component. -
Select the appropriate Aggregation Mode.
-
For the Sample Size, select Interval from the drop-down and enter the desired number of rows to be returned.
-
Set Polling Mode to Relative to see table update at the project's Base Rate.
-
Click OK.