Enable historical playback
- Last UpdatedDec 10, 2024
- 2 minute read
AVEVA OMI provides the ability for users to review KPI-level information by playing back historical data from an Historian server. Users can switch to playback mode and visualize historical data from historized attributes. Attributes that are not historized, typically static data such as tag names and descriptions, are also shown via a connection to the live data source.
Any non-historized attribute values that are displayed are shown as live data. The appearance of the live data is differentiated from historical data by applying the style associated with the Live Value Playback Quality and Status indicator. This “Live Value Playback” Quality and Status indicator is applied to all live values while Historical Playback is active.
Note: Only the highest priority Quality and Style (QS) indicator is shown, and Live Data Playback has the lowest priority of all QS indicators. Therefore, if during playback any other QS indicator is active, live data will not be shown and any non-historized values will be displayed as NaN.
ViewApp Playback attributes can be used with graphic animations or action scripts to provide the functionality to show selected historical data. The graphic's graphic elements incorporate animations or scripts with Playback attributes set as reference values to provide the equivalent functionality of media player controls. For example, you can include a switch graphic element associated with the Boolean Enabled attribute that powers on the media player graphic.
To enable historical playback
-
Create a media player graphic in which you associate playback attributes with the various elements of the media player. For example, associate the Boolean MyViewApp.Playback.Enabled attribute with the media player power button, and the MyViewApp.Playback.Playing attribute with the play graphic. A typical media player graphic looks something like the following illustration, and has similar capabilities, enabled through the attributes provided in the Playback namespace:

-
Add a text box to the media player graphic and link it to the MyViewApp.Playback.HistorianServer attribute. Users can enter a node name in the text box to connect to different Historian servers at runtime.
-
Manually deploy the playback service that will play the historical data. See Manually deploy the playback service for instructions on deploying the playback service.
To configure the Live Playback indicator
-
Select Galaxy from the ribbon bar, then select Configure.
-
From the list of Configure options, select Galaxy.
-
Select Styles and then select Quality & Status.
-
Select the Live Playback indicator to configure it. For more information, see the following topics: