Manually Creating the Binding
Instead of dragging-and-dropping the tag, you could instead create the binding manually by editing the Data property on the table. While this approach is slightly slower to implement than dragging-and-dropping the tags, it has some benefits, such as filtering out non-historical tags, and allowing immediate access properties on the binding. Additionally, components that do not support drag-and-drop could be used instead.
To manually create a Tag History Binding
- 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.
- For Date Range, select Realtime from the drop-down list, and in the Most Recent text box, enter the amount of time in the past.
- Select the appropriate Aggregation Mode.
- Set Polling Mode to Relative to see table update at the project's Base Rate.
- Click OK.
From the Binding window we can make several configurations changes to modify how the data is displayed. The following information on this page demonstrates several different configurations of the Tag History Binding applied to a Table component. However, these examples could easily be adapted to other components that display data by timestamp, such as the standard Chart component. Even a dataset-type custom property could be used.