Remote Automation Solutions OpenEnterprise Trend View User guide

Type
User guide
Reference Guide
D301544X412
April 2012
Remote Automation Solutions
Website: www.EmersonProcess.com/Remote
OpenEnterprise Trend View Reference
Guide (V2.83)
Reference Guide
D301544X412
APRIL 2012
Trend Vie
w
- i -
Contents
1 Trend View................................................................................................................................1
1.1 Overview.............................................................................................................................1
1.2 Realtime and Historical Tags..............................................................................................1
1.2.1 Creation of Realtime Pens............................................................................................2
1.2.2 Creating Standard Historical Pens...............................................................................2
1.2.2.1 Using the Tag Browser ..........................................................................................2
1.2.2.2 Setting up the Default Pen to convert dropped realtime to historical tags.............3
1.2.3 Historical Backfill Tags .................................................................................................4
1.2.4 Historical Backfill Tags with Performance Mode..........................................................4
2 Configuration...........................................................................................................................5
2.1 Accessing the Property Pages............................................................................................5
2.1.1 The Configure Menu.....................................................................................................5
2.1.1.1 The OpenEnterprise Desktop ................................................................................5
2.1.1.2 The Trend View Container.....................................................................................5
2.1.2 The Keyboard option....................................................................................................5
2.1.2.1 The Context Menu..................................................................................................5
2.2 General Page......................................................................................................................5
2.2.1 Display Type.................................................................................................................6
2.2.2 Create Menu Button .....................................................................................................6
2.2.3 Use Sub Menu..............................................................................................................6
2.2.4 Allow Runtime Configuration........................................................................................7
2.2.5 Hide Unresolvable Pens and Limits .............................................................................7
2.2.6 Force Save As..............................................................................................................7
2.2.7 Optimize for Data..........................................................................................................7
2.2.8 Optimize for Performance.............................................................................................8
2.2.9 Performance Optimization............................................................................................8
2.2.9.1 Resolution..............................................................................................................8
2.2.9.2 Zooming with Optimization.....................................................................................8
2.2.9.3 Optimization and the HDA Server..........................................................................9
2.2.9.3.1 Historical Streams Triggered by Value Changes .............................................9
2.2.9.4 Visible and Non-visible Data..................................................................................9
2.2.9.5 Showing all Data....................................................................................................9
2.2.9.6 Data Subset Warning...........................................................................................10
2.2.10 Advanced Optimization Dialog................................................................................10
2.2.10.1 Current X Axis Width ..........................................................................................11
2.2.10.2 Maximum Number ..............................................................................................11
2.2.10.3 Pixels Per Sample ..............................................................................................11
2.2.10.4 Samples Per Pixel ..............................................................................................11
2.2.10.5 Maximum Samples Possible...............................................................................11
2.2.11 Detail Sub Page - General Tab...............................................................................11
2.2.11.1 Background Color...............................................................................................12
2.2.11.2 Text Color ...........................................................................................................12
2.2.11.3 Number of Decimal Places.................................................................................12
2.2.11.4 Show Milliseconds..............................................................................................12
2.2.11.5 Visible .................................................................................................................12
2.2.11.6 Autosize Columns...............................................................................................12
Reference Guide
D301544X412
APRIL 2012
Trend Vie
w
- ii -
2.2.11.7
Detail Sub Page - Attributes Tab........................................................................12
2.2.11.7.1 Available Attributes.......................................................................................13
2.2.11.7.2 Add button ....................................................................................................13
2.2.11.7.3 Add All button ...............................................................................................13
2.2.11.7.4 Remove button .............................................................................................13
2.2.11.7.5 Remove All button ........................................................................................13
2.2.11.7.6 Selected Attributes .......................................................................................13
2.2.11.7.7 Re-ordering Selected Attributes ...................................................................13
2.3 Pens Page.........................................................................................................................13
2.3.1 List of Current Pens....................................................................................................14
2.3.2 Characteristics of the Default Pen..............................................................................14
2.3.2.1 General Characteristics .......................................................................................14
2.3.2.2 Color and the Default Pen....................................................................................15
2.3.2.3 The TVD File........................................................................................................15
2.3.2.4 The Automation Interface.....................................................................................15
2.3.3 Example Use of the Default Pen ................................................................................15
2.3.3.1 Adding Pens Dynamically to a Trend...................................................................15
2.3.3.1.1 Using 'Load File with Parameters...................................................................16
2.3.3.1.2 Using 'Load file with Data Access Tags'.........................................................16
2.3.3.2 Converting Dropped Realtime tags into Historical tags.......................................16
2.3.4 Remove ......................................................................................................................16
2.3.5 Remove All .................................................................................................................17
2.3.6 Add and Modify Buttons .............................................................................................17
2.3.7 Pen Configuration Data Page.....................................................................................17
2.3.7.1 Data Source.........................................................................................................17
2.3.7.1.1.1 Hint:..........................................................................................................17
2.3.7.1.2 How to place an Alias within a tag: -...............................................................17
2.3.7.1.2.1 Normal Tag (Without Alias)......................................................................17
2.3.7.1.2.2 Tag With Alias Inserted............................................................................17
2.3.7.2 Data Field Browse Button....................................................................................18
2.3.7.3 Convert Realtime Data Sources to Historical ......................................................18
2.3.7.4 Device..................................................................................................................20
2.3.7.5 Status...................................................................................................................20
2.3.7.6 Name....................................................................................................................20
2.3.7.7 Description...........................................................................................................20
2.3.7.8 Units.....................................................................................................................20
2.3.7.9 Auto Populate with Signal Data ...........................................................................20
2.3.7.10 Advanced Button ................................................................................................21
2.3.7.11 Advanced Dialog.................................................................................................21
2.3.7.11.1 Auto Populate Field List................................................................................22
2.3.7.11.2 Selected Field...............................................................................................22
2.3.7.11.3 Auto Populate Field Enabled........................................................................22
2.3.7.11.4 Auto Populate Field Attribute........................................................................22
2.3.7.11.5 Convert Auto Populate Tag..........................................................................23
2.3.7.11.6 Show Gap for Missing Data..........................................................................23
2.3.7.11.6.1 Extrapolation and Performance Mode ...................................................23
2.3.7.11.7 Default Maximum Gap..................................................................................23
2.3.7.11.8 Use Double Compressed Rate.....................................................................23
2.3.8 Pen Configuration Ranges Page................................................................................23
2.3.8.1 Override Global Time Settings.............................................................................24
Reference Guide
D301544X412
APRIL 2012
Trend Vie
w
- iii -
2.3.8.2
Use Time Period Relative to Current Workstation Time......................................24
2.3.8.3 Range Period.......................................................................................................24
2.3.8.4 Minimum Y-Axis...................................................................................................24
2.3.8.5 Maximum Y-Axis..................................................................................................25
2.3.9 Pen Configuration Limits Page...................................................................................25
2.3.9.1 Currently Configured Limits .................................................................................25
2.3.9.2 Limit Configuration Dialog....................................................................................25
2.3.9.2.1 Limit Type.......................................................................................................26
2.3.9.2.2 Value/Data Source..........................................................................................26
2.3.9.2.3 Limit Line Styles Dialog ..................................................................................26
2.3.9.2.3.1 Line Visibility.............................................................................................26
2.3.9.2.3.2 Line Plot Style ..........................................................................................26
2.3.9.2.3.3 Line Width ................................................................................................26
2.3.9.2.3.4 Line Style..................................................................................................26
2.3.9.2.3.5 Line Color.................................................................................................27
2.3.10 Pen Configuration Styles Page...............................................................................27
2.3.10.1 Styles Dialog.......................................................................................................28
2.3.10.1.1 Marker Style..................................................................................................28
2.3.10.1.2 Marker Color.................................................................................................29
2.3.10.1.3 Constant .......................................................................................................29
2.3.10.1.4 Expression Selected.....................................................................................29
2.3.10.1.5 Expression Editor..........................................................................................29
2.3.10.1.5.1 Expression Editor Dialog........................................................................30
2.3.10.2 Pen Axis Configuration Dialog General Page.....................................................32
2.3.10.2.1 X-Axis Placement .........................................................................................33
2.3.10.2.2 Y-Axis Placement .........................................................................................33
2.3.10.2.3 Autoscale......................................................................................................33
2.3.10.2.4 Deadband.....................................................................................................33
2.3.10.2.5 Pen Axis Configuration Dialog Styles Page .................................................34
2.3.10.2.5.1 Label Angle ............................................................................................34
2.3.10.2.5.2 Label Font ..............................................................................................34
2.3.10.2.5.3 Label Color.............................................................................................34
2.3.10.2.5.4 Label Visibility.........................................................................................34
2.3.10.2.5.5 Show Full Details on Axis.......................................................................34
2.4 Common Ranges Page.....................................................................................................34
2.4.1 Use Time Period Relative to Current Workstation Time ............................................35
2.4.2 Range Period..............................................................................................................35
2.4.3 Common Minimum Y-Axis..........................................................................................35
2.4.4 Common Maximum Y-Axis.........................................................................................36
2.5 Common Data Page..........................................................................................................36
2.5.1 Display Range ............................................................................................................36
2.5.2 Display Refresh Period...............................................................................................36
2.5.3 Advanced Data Retrieval Settings Dialog ..................................................................36
2.5.3.1 When to Change the Advanced Data Retrieval Settings.....................................37
2.5.3.2 Data Update Collection Interval...........................................................................37
2.5.3.3 Maximum Samples per Pen.................................................................................37
2.5.3.4 Maximum Pages of Data......................................................................................37
2.6 Graph Page.......................................................................................................................38
2.6.1 Border Style................................................................................................................38
2.6.2 File Style.....................................................................................................................39
Reference Guide
D301544X412
APRIL 2012
Trend Vie
w
- iv -
2.6.3
Fill Color......................................................................................................................39
2.6.4 Fill Angle.....................................................................................................................39
2.6.5 Show Multiple X-Axis..................................................................................................39
2.6.6 Show Multiple Y-Axis..................................................................................................39
2.6.7 Grid Configuration Dialog...........................................................................................39
2.6.8 Marker Configuration Dialog.......................................................................................40
2.6.9 Common Axis Configuration Dialog General Page....................................................40
2.6.9.1 X-Axis Placement.................................................................................................41
2.6.9.2 Y-Axis Placement.................................................................................................41
2.6.9.3 Autoscale .............................................................................................................41
2.6.9.4 Deadband.............................................................................................................41
2.6.9.5 Independent Scaling (IS) .....................................................................................42
2.6.9.6 Common Axis Configuration Dialog Styles Page.................................................44
2.6.9.6.1 Label Angle.....................................................................................................44
2.6.9.6.2 Label Font.......................................................................................................44
2.6.9.6.3 Label Color .....................................................................................................44
2.6.9.6.4 Visible .............................................................................................................44
2.6.9.6.5 Show Full Details on Axis...............................................................................44
2.7 Common Limits Page........................................................................................................45
2.7.1 List of Limits................................................................................................................45
2.7.2 Limit Configuration Dialog ..........................................................................................45
2.7.2.1 Limit Type.............................................................................................................45
2.7.2.2 Value/Data Source...............................................................................................45
2.7.2.3 Line Style Dialog..................................................................................................46
2.7.2.3.1 Line Visibility...................................................................................................46
2.7.2.3.2 Line Plot Style.................................................................................................46
2.7.2.3.3 Line Width.......................................................................................................46
2.7.2.3.4 Line Style........................................................................................................46
2.7.2.3.5 Line Color .......................................................................................................47
2.8 Parameters Page..............................................................................................................47
2.8.1 Permanently Resolving Aliases..................................................................................47
2.8.2 The Parameter Name.................................................................................................48
2.8.3 The Current Value of the Parameter..........................................................................48
2.8.4 The Default Value of the Parameter...........................................................................48
2.9 Time Zone Page................................................................................................................48
2.9.1 Adjust Time Values.....................................................................................................48
2.9.2 Time Zone...................................................................................................................49
3 Runtime Mode........................................................................................................................49
3.1 1) Graph Pane...................................................................................................................49
3.2 2) Pen Traces....................................................................................................................49
3.3 3) Sample Tooltip..............................................................................................................50
3.4 4) Sample Marker Bar.......................................................................................................50
3.5 5) Date - Time Scroll Bar...................................................................................................50
3.6 6) Block Pan and Time Adjustment Buttons.....................................................................50
3.7 7) Value Scroll Bar (zoomed)............................................................................................51
3.8 8) Details Pane..................................................................................................................51
3.9 9) Multiple Axes.................................................................................................................51
3.10 10) Graph - Details Splitter............................................................................................52
3.11 Graph Pane Context Menu............................................................................................52
Reference Guide
D301544X412
APRIL 2012
Trend Vie
w
- v -
3.11.1
Adjust Refresh Interval............................................................................................53
3.11.2 Hide Details.............................................................................................................53
3.11.3 Hide Marker.............................................................................................................53
3.11.4 Zooming ..................................................................................................................53
3.11.5 Refresh....................................................................................................................54
3.11.6 Export Data .............................................................................................................54
3.11.7 Showing all Data .....................................................................................................54
3.12 Details Pane Context Menu...........................................................................................54
3.12.1 Modify Pen ..............................................................................................................55
3.12.2 Add Pen...................................................................................................................55
3.12.3 Remove Pen............................................................................................................55
3.12.4 Remove All Pens.....................................................................................................55
3.12.5 Hide Pen..................................................................................................................55
3.12.6 Hide X-Axis..............................................................................................................55
3.12.7 Hide Y-Axis..............................................................................................................55
3.12.8 Adjust Time Range..................................................................................................55
4 Worked Examples..................................................................................................................56
4.1 Add a Realtime Pen in Runtime Mode..............................................................................56
4.1.1.1 Method.................................................................................................................56
4.2 Performance Optimization Example .................................................................................57
4.3 Marker Bar Example .........................................................................................................57
4.4 Changing the Display Period ............................................................................................57
4.4.1.1.1.1 Method .....................................................................................................57
4.5 Trend Overlay (Same Source Pens).................................................................................57
4.5.1.1.1.1 Method .....................................................................................................57
5 Index .......................................................................................................................................59
Reference Guide
D301544X412
APRIL 2012
Trend Vie
w
- 1 -
1 Trend View
1.1 Overview
The Trend View provides the user with the ability to configure and view Realtime and Historical
Trends either inside the OpenEnterprise Desktop, embedded in a display, or within its own container
as shown below.
1.2 Realtime and Historical Tags
A pen on a trend can either be a realtime or an historical pen:
The realtime pen uses Data Access OPC tags to plot the current value of a signal from the
moment the trend is opened. It does not show any data from before that time.
The historical pen uses Historical Data Access OPC tags to plot a range of values stored in
the database from a time in the past.
OPC stands for OLE for Process Control, and it is the agreed standard for displaying process control
data on a computer. The client OPC control requests the data from an OPC server using OPC tags.
There are two separate OPC standards used by the trend view; one for requesting realtime data (this
is called the Data Access standard) and one for requesting historical data (called the Historical Data
Access standard). The BristolOPCServer serves realtime process control data to the OE trend view
client and the BristolHDAServer serves it historical data.
Reference Guide
D301544X412
APRIL 2012
Trend Vie
w
- 2 -
1.2.1 Creation of Realtime Pens
To create a realtime pen you can configure a query using the Database Object Viewer and then drag-
drop a value onto a trend as shown below. The value is converted to a realtime (Data Acess) OPC tag
in the trend.
1.2.2 Creating Standard Historical Pens
Using the 'drag-drop' method described above does not create historical pens, as the Database
Object Viewer only sources realtime tags.
To create historical pens, you can either use the Tag Browser or make the trend convert dragged
realtime tags to historical tags.
1.2.2.1 Using the Tag Browser
The Tag Bro
wser is accessed from the small browse button marked with three dots [...], to the right of
the Data Source field for a pen.
Reference Guide
D301544X412
APRIL 2012
Trend Vie
w
- 3 -
1.2.2.2 Setting up the Default Pen to convert dropped realtime to historical tags
Put the trend view into co
nfiguration mode, right click and select the Properties menu. Select the Pens
tab and click Modify. Check the "Convert Realtime Data Sources to Historical" box. Then click OK.
Now, when you drag a realtime value onto the trend from the Database Object Viewer, you can
choose to convert it to a historical OPC tag.
Reference Guide
D301544X412
APRIL 2012
Trend Vie
w
- 4 -
For more information on this, see the Pen Configuration Data Page topic.
1.2.3 Historical Backfill Tags
For SCADA systems that may encounter periodic loss in communications with RTUs OpenEnterprise
can be set up to use historical backfill. This enables OE to collect historical data collected at the RTU
during the communication downtime and backfill it into its history tables. In this way no data is ever
lost.
In order for the Trend to plot historical data that has been backfilled from the RTU, you need to modify
the standard historical tag to add ".timecolumn:logtime" at the end of the tag as in this example:
BristolBabcock.BristolHDAServer.1\"rtrdb1"."nw3000realanalog_table".
"name:varchar:NORTH:V1.ASV.DPRS.VALUE"."logvalue:<coltype>"."2"."0s".
"timecolumn:logtime"
Note: The tag has no spaces or new lines. It is presented in this way for ease of viewing.
1.2.4 Historical Backfill Tags with Performance Mode
The trend view offers two modes of operation. Data mode is the default (see the Optimize for Data
topic). This displays all requested samples. However, when there are likely to be many thousands of
samples returned, the trend's performance may be affected.
Performance mode (see the Optimize for Performance topic) reduces the number of samples initially
requested, speeding up the process.
In order to use Performance mode with historical backfill tags you need to add a further expression to
the end of the historical backfill tag (e.g. "rate:1m") which specifies the logging frequency that you
wish the trend to use as it calculates what samples to request. Here is an example:
BristolBabcock.BristolHDAServer.1\"rtrdb1"."nw3000realanalog_table".
"name:varchar:XWUSLAAH26100:V1.ASV.DPRS.VALUE"."logvalue:<coltype>"."2"."0s
".
"timecolumn:logtime"."rate:1m"
The rate expression can refer to seconds, minutes or hours. For example:
Reference Guide
D301544X412
APRIL 2012
Trend Vie
w
- 5 -
"rate:15s" = 15 seconds
"rate:1m" = 1 minute
"rate:1h" = 1 hour
Note: The tag has no spaces or new lines. It is presented in this way for ease of viewing.
2 Configuration
2.1 Accessing the Property Pages
Configuration of the Trend View, as with all other Views requires that the user accesses the 'Property'
pages for the component. To access the Trend View's Property Pages, it is necessary to place it into
configuration mode. There are two ways to do this.
2.1.1 The Configure Menu
This is method is slightly different depending where the Trend View is being displayed: -
2.1.1.1 The OpenEnterprise Desktop
Select the Trend View to
make it the active window. Then select the File>Mode>Configure
menu item from the OpenEnterprise Desktop.
2.1.1.2 The Trend View Container
If the Trend View is runni
ng within its own container, then select the Configure menu from the
Trend View Container's menu bar.
2.1.2 The Keyboard option
Whether the Trend View is running within the Desktop or its own container, it can be toggled in and
out of configure mode by selecting the [Ctrl] and [M] keys together on the computer's keyboard.
2.1.2.1 The Context Menu
Once in co
nfigure mode, use the mouse and right click on the Trend View reveal its context menu :-
Select 'Properties' to display the Property Pages for the Trend View.
2.2 General Page
The General Page enables you to select the Trend display type, create context sensitive menu items
for the Trend View, configure the 'Details' section of the Trend View and toggle Runtime configuration
availability.
Reference Guide
D301544X412
APRIL 2012
Trend Vie
w
- 6 -
.
2.2.1 Display Type
This drop-down list will enable the user to select the type of Trend display. Currently, only 'Graph' type
is available.
2.2.2 Create Menu Button
Select the [Create...] button to open the Menu Editor.
This enables the user to configure context sensitive menu items for the Trend View. Refer to the
Menu Editor help for further information on how to configure Context Menus.
2.2.3 Use Sub Menu
When checked, a separate sub-menu, entitled 'Custom' is used for custom context menu items. See
the OEMenus Help file for more information.
When the [Use sub-menu] box is left unchecked any Custom Menu items configured for this Trend
View will be added directly on to the bottom of the Trend View context menu as shown below.
Reference Guide
D301544X412
APRIL 2012
Trend Vie
w
- 7 -
2.2.4 Allow Runtime Configuration
If this is checked, then the 'Properties' option on the Trend View context menu is available during
runtime operation.
2.2.5 Hide Unresolvable Pens and Limits
If this box is checked, any Pens or Limits containing unresolved aliases will be hidden both in the
Graph pane and the Details pane.
2.2.6 Force Save As
This option enables the TVD file to be set up as a ‘template’ and then ‘locked’. If the box is ticked and
the file is then saved it will be impossible to save to this file again until the Force Save As functionality
is turned off. In order to allow the user to turn it off, when the checkbox is un-ticked, it will be
immediately possible to save to it again.
When the Force Save As is enabled and the file is saved, the file’s attributes will be modified to set it
as read-only. When it is disabled and saved, the read-only attribute will be unchecked.
When a File->Save on a Trend in Desktop invoked, OpenEnterprise will check to see if the Trend has
Force Save As enabled. If it has, it will produce a Save As dialog forcing the user to save the file
somewhere else. The Save As dialog will be populated with a different name from the current TVD
file, preventing the user from trying to write straight back over the top of the file. This new name will
be the original filename with a 1 appended to the end. E.g. MyTrend.tvd will become MyTrend1.tvd.
Once a file with Force Save As enabled is saved to a new location, Force Save As will automatically
be disabled in the new file. This will allow the new ‘copy’ of the original to be saved over.
If a user selects File->SaveAs in Desktop for a Force Save As enabled file, the new file will still have
Force Save As enabled. This is because the user will have chosen to copy this file to a new location.
Also, selecting File->SaveAs will not result in the new filename being generated.
It will be possible to enable and disable the Force Save As functionality from the Trend Client’s
Automation Interface.
General Page
2.2.7 Optimize for Data
The default option for Trends. When selected, the Trend will get all data that falls within the Range
specified on either the Common Ranges page, or the Pen Ranges page, and will attempt to display it.
Reference Guide
D301544X412
APRIL 2012
Trend Vie
w
- 8 -
When trending large time ranges, the maximum number of samples defined on the Advanced Data
Retrieval Settings dialog must be set to a realistic figure. Trend performance could be affected when
very large numbers of samples are being requested. In these circumstances, it is advisable to select
the [Performance] option, in order to work out a satisfactory data granularity to display area ratio.
2.2.8 Optimize for Performance
Allows fine tuning between the available display area and sample granularity for optimum Trend
performance. Select the [Advanced...] button, which becomes enabled when this button is selected to
open the Advanced Optimization dialog.
For further help on how Performance Optimization works, see the Performance Optimization section.
2.2.9 Performance Optimization
The following pages explain how Performance Optimization works and how it affects the use of the
Trend generally. Read these pages to gain a better understanding of the ramifications of using the
Performance Optimization feature.
Note: If the historical dataset for the pen is using historical backfill, you will need to modify the OPC
tag manually. See the Historical Backfill Tags with Performance Mode section of the Realtime and
Historical Tags topic for more information.
2.2.9.1 Resolution
In Performa
nce Mode, the minimum space permitted between each sample is termed the Trend
Client’s Resolution. E.g. if the Resolution is 5 minutes and a sample is drawn at time T, no other
sample can be drawn in the range T +/- 5 minutes.
Due to the way that optimised data is returned from the HDA Server this is based on the first sample
received rather than an average of all the samples that are available within an interval.
The Resolution is calculated automatically using these specific formulae:
Resolution = X Axis display range time / (pixels on X Axis / pixels per sample) OR
Resolution = X Axis display range time/(pixels on X Axis * samples per pixel)
It is calculated when the Trend is initially drawn and when the user zooms in and out. A recalculation
will result in new requests on the HDA Server due to the fact that not all the data may be present (see
the ‘Optimization and the HDA Server’ page).
2.2.9.2 Zooming with Optimization
Whe
n a Trend is in the default Data mode, after a zoom-in operation, the visible area changes to be
the selected zoom area. However, the full range of the Trend stays the same. Therefore the handles
on the scroll bars shrink to indicate more data is available off-screen and any part of the original total
area of the Trend can be viewed through scrolling.
However, when the user zooms in under Performance Mode, the granularity of the data increases and
so there will potentially be more points to return and draw. This in turn means the performance of the
Trend has the potential to decrease. The further the user zooms in, the bigger the potential decrease
in performance until eventually the Trend performance will be the same as it is in data mode.
Reference Guide
D301544X412
APRIL 2012
Trend Vie
w
- 9 -
In order to avoid this scenario, when the user zooms under Performance Mode, the total X Axis of the
Trend shrinks to the zoomed in area. For example, a Trend is set up to display 1 day’s worth of data.
If the user highlight’s 1 hour’s worth of data, the Trend’s X axis will be clipped to display ONLY that 1
hour’s worth of data.
This in turn means that no X-Axis scrolling is available under Performance Mode zooming. The only
way to move left and right will be to block pan. However, once the user has block-panned they will be
able to scroll within the new block-panned range.
The original X Axis time range is restored only when the user completely undoes all zooming. This is
achieved by selecting ‘Zoom Undo’, ‘Zoom Undo Full’ or ‘Refresh’ from the Graph context menu.
2.2.9.3 Optimization and the HDA Server
When the Trend is in Performance Optimization m
ode, the HDA Server will optimise its queries to only
return a number of records relevant to the current Resolution.
2.2.9.3.1 Historical Streams Triggered by Value Changes
Note that in order for Performanc
e Optimization to work for historical streams that are configured to
collect samples on value changes (triggered collection) you need to add a rate section at the end of
the tag in the trend. This is because triggered streams have no fixed data collection rate, so you need
to specify a rate that the trend can use so that it can calculate which samples to request. See the
Realtime and Historical Data topic for more information.
2.2.9.4 Visible and Non-visible Data
Whe
n in Performance Optimization mode, the query mechanism is modified to query only the
requested visible data initially. Once this has been returned the rest of the data will be returned. By
splitting the non-visible data up into chunks (or ‘sub-pages’), filling in data becomes more of a
background task.
For example, if a Trend is set up for 1 day’s with 8 hour’s data visible, the visible 8 hours will be
queried for first. Once this is returned the rest of the data will be retrieved.
This also applies to block panning left and right. Rather than a whole new page being fetched in one
go, it will be fetched in sub-pages.
When non-visible data is being fetched, the user will still be able to interact with the Trend e.g.
perform a rubber-band zoom.
2.2.9.5 Showing all Data
In Performa
nce Mode, it is possible that certain peaks and troughs in the data may not be shown due
to the fact that only a subset of the data is being displayed. The Show All Data option on the Trend's
context menu provides a solution to this problem while still maintaining performance improvements.
When this option is selected, the current visible range of data is refreshed, applying no resolution
restriction. This returns and displays all available data for the visible range. De-selecting this option
re-applies the current resolution setting and restricts the amount of data shown again.
When all data is currently being shown the context menu will be ticked. When it is only showing a
subset, it will be un-ticked.
This menu option is controlled by a Trend View Application Token called Show All Data.
Reference Guide
D301544X412
APRIL 2012
Trend Vie
w
- 10 -
The Show All Data context menu option is a runtime only option and is not saved to the TVD file.
Selecting Show All Data could potentially cause a large performance hit in the Trend View. For
example, if a month’s worth of data were on view a potentially very large set of samples could be
returned. To guard against this , when the user selects this option, a dialog is displayed warning the
user that this may affect Trend performance. It asks if the user wishes to continue. If they select [Yes]
the switch to showing all data is allowed. If they select [No] the operation is cancelled.
There is a checkbox on this dialog allowing the user to specify that it should not be shown again. This
will set a value called DisableShowAllDataWarning to 1 under the OpenEnterprise\Tasks\Trend Client
key in the OpenEnterprise settings file. To enable the dialog again, this value must be reset to 0
(zero) using the Settings Editor.
2.2.9.6 Data Subset Warning
To indicate to the user that not all of the data availabl
e is currently being displayed, a warning icon will
be shown in the bottom left hand corner of the Trend Grid (in the intersection of the scroll bars):
This new icon will be tied to what data is being displayed, not whether Performance mode is enabled.
In other words, when all potential data is being displayed there will be no icon in the area, and when
Performance Mode is initially enabled, the icon will appear.
However, if the user were to select Show All Data from the runtime context menu, although
Performance Mode is currently still enabled all the data in the current visible range is being displayed.
Therefore the warning icon will be removed. If the user were to deselect Show All Data, then it would
return.
2.2.10 Advanced Optimization Dialog
The Advanced Optimization dialog enables you to fix a ratio between the available display area on
the Trend, measured as pixels on the X Axis against the number of samples to display per pixel. Click
the hotspots on the image below for further help on this dialog.
It is not possible to change these settings when the Trend is in Runtime mode. However, there is a
context menu item available from the Trend Graph area called Show All Data. This enables the user
to toggle between seeing the Performance Mode optimised data and viewing all the available data for
the selected range (as it would appear in Data Mode).
Note: Although the Show All Data option displays data in the same way as Data Mode, the Trend in
fact remains in Performance Mode. This means that the Performance Mode zooming functionality still
applies.
Reference Guide
D301544X412
APRIL 2012
Trend Vie
w
- 11 -
General Page
2.2.10.1 Current X Axis Width
Displays the
amount of pixels currently available for display on the X Axis. This is shown as a guide
only. The X axis width when this dialog is displayed may well change depending on the size of the
grid area at runtime. For instance, if you show more axes then there will be less pixels available.
2.2.10.2 Maximum Number
The sp
ecified maximum number of pixels per sample or samples per pixel, depending on the option
selected. Enter a numerical value between 1 and 9999.
2.2.10.3 Pixels Per Sample
This optio
n assigns a number of pixels to each sample. For example, if the current width in pixels is
512 and 2 pixels per sample is chosen, there will be a maximum 256 samples visible per pen at any
one time. Using this option, the number of pixels available determines the maximum number of
samples which can be displayed. The default setting is 1 pixel per sample.
This option trades faster display of data against lower granularity of data.
2.2.10.4 Samples Per Pixel
This optio
n assigns a maximum number of samples to a single pixel. For example, if the current width
in pixels is 512 and 2 samples per pixel is chosen, there will be a maximum 1024 samples visible per
pen at any one time.
This option trades finer granularity of data against slower display of data.
2.2.10.5 Maximum Samples Possible
The text displ
ayed here indicates the highest number of samples that can be displayed on the Trend
given the current settings.
Note that this number is given as a guide only. The X axis width when this dialog is displayed may
well change depending on what happens at runtime. For instance, if the user adds a Pen to the Trend
at runtime, then more axes are displayed, making less pixels available, and therefore less samples
can be displayed.
2.2.11 Detail Sub Page - General Tab
This dialog enables you to configure the visual aspects of the Details Pane.
Reference Guide
D301544X412
APRIL 2012
Trend Vie
w
- 12 -
2.2.11.1 Background Color
Click on the
colored square for a palette that enables the background color of the Details pane to be
changed.
2.2.11.2 Text Color
Click on the
colored square for a palette that enables the color of the text within the Details pane to be
changed.
2.2.11.3 Number of Decimal Places
This field will
determine how many decimal places are displayed for real number values within the
'Details' section of the Trend View. Select the check box to enable the 'Decimal Places' field. Change
the number of decimal places with the spin control or type the number directly in the field.
2.2.11.4 Show Milliseconds
If checked, the Detail
s pane will display time based attributes to millisecond resolution.
2.2.11.5 Visible
Checking thi
s box will hide the Details pane.
2.2.11.6 Autosize Columns
When this box is checked the col
umns will auto resize themselves to fit the text within them during
Runtime operation.
2.2.11.7 Detail Sub Page - Attributes Tab
This dial
og enables you to configure the attributes that will be displayed within the Details Pane.
Reference Guide
D301544X412
APRIL 2012
Trend Vie
w
- 13 -
2.2.11.7.1 Available Attributes
This is
a list of the attributes available for inclusion within the Details pane. Any attributes in this list
will not appear in the Details pane in runtime. When an attribute from this list is added to the Selected
attributes pane, it no longer appears as an available attribute until it is removed from the Selected list.
2.2.11.7.2 Add button
Selecting thi
s button adds any attributes selected from the Available attributes list to the Selected
attributes list.
2.2.11.7.3 Add All button
Selecting thi
s button places all attributes from the Available attributes list, whether they are currently
selected or not into the Selected attributes list.
2.2.11.7.4 Remove button
This button m
oves any highlighted attributes from the Selected attributes list back into the available
attributes list.
2.2.11.7.5 Remove All button
All attributes
will be removed from the Selected attributes list and be placed back into the Available
attributes list.
2.2.11.7.6 Selected Attributes
Any attributes within this list will be displ
ayed in the Details pane in runtime.
2.2.11.7.7 Re-ordering Selected Attributes
Attributes in the Selecte
d attributes list can be rearranged by clicking and dragging them up or down
in the list. Attributes in the list from top to bottom are placed into the Details pane in order from left to
right.
2.3 Pens Page
The Pens page enables you to add, modify and remove pens from the Trend. Pens are defined by
OPC tags. As such, pens can be drag-dropped from the Database Object Viewer into the Current
Pens list. Click here to view an animation of this operation.
Reference Guide
D301544X412
APRIL 2012
Trend Vie
w
- 14 -
2.3.1 List of Current Pens
This list shows the Pens that have been configured. In a newly opened Trend, the only pen showing
is the Default Pen. The Default Pen should be used as a template for creating all other pens. It allows
a user to create a set of basic preferences (e.g. a particular line style) that they wish to be used
whenever they create a pen.
The Default Pen will always be the first Pen listed. It can be identified by the '<Default>' value in the
ID attribute.
Selecting the Default Pen in the Pens List will enable the Modify button as it would for a Standard
Pen. However it will not enable the ‘Remove’ or ‘Remove All’ buttons. Pressing the ‘Modify’ button
with the Default Pen highlighted will display the Pen Configuration dialog in the same way that it
would for a Standard Pen.
Example Use of the Default Pen
2.3.2 Characteristics of the Default Pen
Since the Default Pen is there to be used as a template for all other pens has certain characteristics
which set it apart from what we call Standard Pens.
2.3.2.1 General Characteristics
The Defa
ult Pen never has any of its Tags resolved and never has any of its data plotted on the
Trend. It is not displayed in the Details list on the main Trend control. There is only one Default Pen in
a given Trend. All other Pens that get created will be Standard Pens.
Whenever a user adds a Standard Pen it will be created as a copy of the Default Pen. This includes
Pens added from the Context Menus in the Trend Client
Pens dynamically added to a Trend via OEMenus
Pens dragged and dropped from Database Object Viewer
Pens added by the Automation Interface.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68

Remote Automation Solutions OpenEnterprise Trend View User guide

Type
User guide

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI