OPH070
OPH070
Version 4
September 2020
Ovation™
Process Historian User Guide
About this manual
Welcome to the Emerson Ovation distributed control system. Ovation is a highly reliable and responsive
real-time plant monitoring and process control system that uses commercially available hardware platforms,
operating systems, and open network technology.
This manual provides an overview of the Ovation Process Historian. The Ovation Process Historian collects
process values and messages that are generated by your Ovation control system and stores these values and
messages in an optimized historical data store that runs on a Microsoft Windows platform. You can use the
historian to better understand the typical and abnormal behavior of your plant processes, to identify
common trends, to explore abnormalities, and to diagnose process flaws and failures.
The information in this manual represents the recommended standards and procedures. If your system
requires a different configuration, contact your Emerson service representative or sales office for help with
the review of your system. It is assumed that all installation and maintenance procedures described in this
document will be performed by qualified personnel and that the equipment used is only for the purposes
described. Using alternate methods of installation or configuration could yield undesirable results.
Summary of changes
This 3.7.1 version of the Ovation Process Historian User Guide includes the following new information:
• Historian terminology [19] updated to explain that when Auto Historian is specified as the Historian for
a trace item, it determines which historian from the list of configured historians is to be used as the data
source; updated to include Controller, DEC module, COMTRADE, and High Speed Data Recorder
definitions.
• Trend data view [355] updated to explain that the context ribbon tab for the Historical Trend provides
ways to customize and navigate the historical data display.
• To add a point to a Historical Trend [366] updated to describe specifying point information to include
number of data samples or trace sample interval type, multiplier, and alignment.
• Event Trends [393] section updated to include COMTRADE and High Speed Data Recorder in list of event
filter types.
• Event types [400] describes the Controller, DEC module, High Speed Data Recorder (HSDR), and
COMTRADE event types.
• Message History Tables [563] updated to include Operator Events.
The text, illustrations, charts, and examples included in this manual are intended solely to explain the use and
application of the Ovation™ Unit. Due to the many variables associated with specific uses or applications, Emerson
cannot assume responsibility or liability for actual use based upon the data provided in this manual.
No patent liability is assumed by Emerson with respect to the use of circuits, information, equipment, or software
described in this manual.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any
means, including electronic, mechanical, photocopying, recording or otherwise without the prior express written
permission of Emerson.
The document is the property of and contains Proprietary Information owned by Emerson and/or its
subcontractors and suppliers. It is transmitted in confidence and trust, and the user agrees to treat this document
in strict accordance with the terms and conditions of the agreement under which it was provided.
This manual is printed in the USA and is subject to change without notice.
Ovation is the mark of Emerson. Other marks are the property of their respective holders.
Copyright © Emerson Process Management Power & Water Solutions, Inc. All rights reserved.
Email: [Link]@[Link]
Web site: [Link]
Contents
Contents
Section 1 Introduction to the Ovation Process Historian ...................................................................... 17
1.1 Ovation Process Historian overview .................................................................................... 17
1.1.1 Functions performed by using the Ovation Process Historian ......................................... 17
1.1.2 Advantages of the Ovation Process Historian .............................................................. 18
1.2 Historian component overview ......................................................................................... 18
1.3 Historian terminology ..................................................................................................... 19
1.4 Historian server redundancy ............................................................................................. 22
1.5 How does the historian work? ........................................................................................... 23
1.6 Scanning data ............................................................................................................... 23
1.6.1 How the scanners handle missing data ..................................................................... 24
1.6.2 How the scanners handle time ................................................................................ 24
1.6.3 How the scanners pass data to storage ..................................................................... 25
1.6.4 How the scanners are configured ............................................................................ 25
1.6.5 Using redundant scanners ..................................................................................... 25
1.7 Storing data .................................................................................................................. 27
1.8 Archiving data ............................................................................................................... 28
1.8.1 How archive functions are configured? ..................................................................... 30
1.9 Retrieving data .............................................................................................................. 30
1.9.1 How to retrieve data by using the historical reports? .................................................... 31
1.9.2 How to retrieve data by using the Historical Reviews? ................................................... 32
1.9.3 How to retrieve data by using the Historical Trends? .................................................... 32
1.9.4 How to retrieve data by using the History Manager? .................................................... 32
1.10 Historian security ......................................................................................................... 33
1.11 Using wildcard characters for retrieving data ...................................................................... 34
1.11.1 Escape characters .............................................................................................. 34
OPH070 5
Contents
6 OPH070
Contents
OPH070 7
Contents
7.4.3 To recover the main storage in case of an external RAID failure ..................................... 148
7.5 Recovering the fixed archive storage ................................................................................. 149
7.5.1 To re-archive historical data from main storage ......................................................... 150
8 OPH070
Contents
OPH070 9
Contents
10 OPH070
Contents
OPH070 11
Contents
12 OPH070
Contents
OPH070 13
Contents
14 OPH070
Contents
OPH070 15
Contents
16 OPH070
Ovation Process Historian overview
You can use the historian to better understand the typical and abnormal behavior of your
plant processes, to identify common trends, to explore abnormalities, and to diagnose
process flaws and failures. The frequency and precision of historian monitoring are
beneficial when accuracy is of utmost importance.
OPH070 17
Historian component overview
Note
If you have previously used the eDB or the HSR to collect historical information, you can
utilize Emerson's migration service to shift your collected data to your new Ovation
Process Historian. Your migrated data is seamlessly merged with your collected data
and is available on trends, reviews, reports, and SQL queries, the same as your
collected data. Contact your Emerson representative for details.
Component Use
Historian server Facilitates collection, storage, archiving, and retrieval, as well as the
historian license manager.
Scanner(s) Monitors points and collects data that includes attributes, alarms,
operator events, SOE, and SCADA.
18 OPH070
Historian terminology
Component Use
Engineering tools Helps you configure your historian server, disks, archive, scanners, scan
(includes Historian groups, and points. In addition, this component helps you edit and
Configuration Tool and annotate historical data.
History Edit tool)
Report Manager Enables you to schedule and generate customized reports to display
your historical data.
Client interface Enables you to use OLE DB to write your own programs to retrieve data.
Client Desktop Tools Enables you to query and retrieve information by using SQL, trend,
review, and the Excel add-in.
Term Description
Absolute time Date and time that are specified in numeric month, day, year, and hour, minute,
second.
Alias An alternate name assigned to a process point in a database.
API Application Programming Interface specifies how software components should
interact with each other.
Auto Historian Based on user preference Auto Historian Criteria, when Auto Historian is specified
as the historian for the trace item, the data source used is either the first
accessible historian in the list of configured historians or the first accessible
historian that contains history data for the item.
Compound This is a trace item that is not directly a process point but derives its values from
trace other process point values by applying the specified calculation logic.
COMTRADE The Common format for Transient Data Exchange (COMTRADE) for power systems
is a file format for storing oscillography and status data related to transient power
system disturbances. OPH accepts and stores transient data from third-party
devices.
Select COMTRADE to browse transient power system disturbances and launch the
trend of event variables.
See Using the IEC 61850 MMS Client Protocol with Ovation for more details.
Controller The OPH stores configured Ovation Controller Triggered Events in data files. Data
collected before and after the selected variables are stored as well.
See the applicable Ovation Controller User Guide for more details.
DCS Distributed Control System (or plant control system); the Ovation system or
systems that provide the source of the process point data, and alarms and events
that are collected by the historian.
Deadband A configuration that specifies the amount of change that must occur before a
point is collected.
OPH070 19
Historian terminology
Term Description
DEC module The Digital Excitation Controller (DEC) module captures ultra-high frequency
oscillography data for internal DEC I/O module variables, which occurs when a
configured trigger condition is met and uses OPH to store data as events.
Select this option to browse ultra-high frequency oscillography data and launch
the trend of event variables.
See the Digital Excitation Controller User Guide for more details.
Display ratio When the time-period being shown contains too many samples, an Event Trend
reduces the data that is displayed by using an approximation technique.
The display ratio indicates the reduction in data that occurred for the purpose of
plotting a reasonable and representative number of samples.
Event Trend This type of trend allows you to identify triggered event occurrences and details
from Controllers, the DEC module, COMTRADE or the High Speed Data Recorder.
In this mode, you can also view corresponding pre- and post-event data in a
graphical or tabular form.
Fixed archive A duplication of historical data files stored on a non-removable storage device,
typically a networked-attached storage (NAS), direct-attached storage (DAS), or
storage area network (SAN) unit, where the archive is typically online and
available for access.
GUI Graphical user interface is a type of user interface that allows users to interact
with electronic devices by using images rather than text commands.
High Speed The High Speed Data Recorder (HSDR) records high frequency data from Ovation
Data Recorder controllers, based on Data Recorder session configuration. The recorded data is
presented as events in the Events browser.
Select this option to browse high frequency data from the Ovation controller and
launch the trend of event variables.
See the High Speed Data Recorder User Guide for more details.
Historical Trend This type of trend shows the historical view of process point values for a specified
time span. It interfaces with the OPH to obtain historical data of specified
granularity and data aggregation criteria, such as actual-value, minimum,
maximum, average, and so on.
Lab Data Historical point data that is entered into the system from an outside application
rather than the Ovation network. (You provide the timestamps for this
information.)
Live Trend This type of trend continuously updates the Trend display to show real-time
updates to process point values.
Migrated data Historical data that is transformed to the Ovation Process Historian historical file
format from a previous historical file format.
NAS disc CD/DVD that contains the NAS support files. The disc is labeled as NAS Support
Files for OPH 3.6.0 and SBR 2.0 – June 2016.
NAS PC Personal computer (PC) used to configure a Network Attached Storage (NAS)
unit.
NSECS Nanosecond is one billionth of a second.
NTFS NT File System: an advanced file system that is designed for use specifically with
the Windows operating system.
20 OPH070
Historian terminology
Term Description
ODBC Open Database Connectivity is a standard C programming language API for
accessing database management systems (DBMS).
OLAP Online Analytical Processing is an approach to answer multi-dimensional
analytical (MDA) queries swiftly.
OLE Object Linking and Embedding is a distributed object system and protocol
developed by Microsoft.
OPC OLE for Process Control is a set of standard OLE/COM interface protocols that are
intended to foster greater interoperability between automation/control
applications, field systems/devices, and business/office applications in the process
control industry.
RAID Redundant Array of Independent Disks: a data storage method in which data is
distributed among two or more hard disk drives.
Relative time This is a method of specifying start and/or end time for a Historical Trend and is
relative to commonly understood time boundaries, such as current time, current
hour, today, yesterday, and so forth. This is represented as an expression
comprised of various mnemonics. One example is ‘ct -10hr - 10mi’ meaning
subtract 10 hours and 10 minutes from current time, to determine the time value.
Relative time is useful for Historical Trends because it makes it unnecessary to
specify absolute time values every time a trend needs to be generated.
Removable A duplication of historical data files stored across a library of individual DVD-RAM
archive discs. Access is limited to the data contained on the mounted volume at any one
time.
Scanner Mechanism that is used by the historian for process point data and message-
based data collection.
SCSI Small Computer System Interface: a SCSI bus that is used to connect
microcomputers to peripheral devices.
SOE Sequence of Events is the order in which a set of events happens.
SQL Structured Query Language is a special-purpose programming language designed
for managing data held in a relational database management system (RDBMS).
TCP/IP Transmission Control Protocol/Internet Protocol: the default standard for data
transmission over networks.
Time Zone This is a three- or four-letter abbreviation for the time zones that are available on a
Abbreviation Windows machine, and which users intend to use for specifying the absolute start
and/or end times for a Historical Trend. Using these abbreviations, times can be
specified from non-local time zones.
Trace Trace is a graph line representing the values for a process point. The whole Trend
is comprised of a maximum of 32 traces.
Trace values This feature allows you to examine trace values while simultaneously moving a
explorer vertical cursor line horizontally across the trend chart.
User preferences These are the settings for controlling the behavior of the application. You can save
these settings in order and apply them to any new application sessions.
UTC Coordinated Universal Time is the high-precision atomic time standard.
OPH070 21
Historian server redundancy
Redundant servers protect against data loss by communicating to each other for two
reasons: to forward messages from the primary server to the partner server in real time, and
to backfill data that was missed when one of the servers went offline.
During normal operation, the scanner communicates to the primary server, which in turn
forwards that information to the partner server. The partner server acknowledges receipt of
information to the primary server, which in turn passes the acknowledgement to the
scanner.
During failover operation, when the primary server is offline, the scanner automatically
communicates with the partner server, and the partner server acknowledges receipt of
information back to the scanner.
During failback operation, when the primary server has come back online, the scanner
automatically switches its communications back to the primary server, which forwards that
information to the partner server. The partner server not only acknowledges receipt of that
information, it also forwards the missing data that the primary server was unable to collect
while it was offline.
When partner servers are running, they work together automatically to establish
synchronization. For example, if you add a point to drop 61, it communicates your settings
to partner drop 62, to ensure configuration synchronization.
If the partner servers are not in sync, you will be unable to download any new configuration
settings, such as adding points, though the servers will continue working. It is possible to
get out of sync in the following situation: if you add new configurations to the primary while
the partner is failed, and then shut down the primary and restart the partner. Because the
servers in this situation do not have a chance to send missed configuration settings and
other missed data, this situation will create a lack of synchronization. When both servers are
up and running, they reestablish their synchronized configuration.
After recovery, both servers will automatically share all available historical data (up to six
months' worth). If you shift from a non-redundant historian to using redundant servers, it
backfills up to six months of data. All backfills are implemented at a throttled rate in order
not to slow down your network.
22 OPH070
How does the historian work?
• Scan [23].
• Store [27].
• Archive [28].
• Retrieve [30].
Point Data
Every point in your system has a value, a status, and some attributes (attributes provide
information about a point). Scanners manage the point values (packed, analog, and digital),
statuses, and attributes for the points that you choose to scan. The historical value and
status sampling function reads the point information, either from your Ovation network or
from within a Controller, and checks two items:
The sampling function performs these two checks every second, or as frequently as you
configure your scanner to perform these checks (from every 40 milliseconds to 60 minutes,
but typically once per second). Scanners collect a sample based on a deadband amount, or
amount computed by a percentage of operating range. If a point exceeds the deadband
that you set, or if a digital point's value changes state, the scanner gathers the sample for
that point (timestamp, status, and value) and sends it to the historian for persistent storage
to disk. If no change in value exceeds the deadband within one hour, a sample is taken and
stored anyway.
In addition to values and statuses, each process point in the Ovation system has descriptive
attributes. Though the point values in your system can change significantly, the attributes
of the points change more slowly. Changes in attributes are caused by actions, such as
manually editing the attributes. These slowly changing attributes are read less often. When
scanning for point attributes, the attribute values are read every two hours and reported to
the historian.
Attributes that the historian collects and stores include the following:
• Point name.
• English description.
• Engineering units.
OPH070 23
Scanning data
When you configure a point-for-point value scanning, that point's attributes are
automatically scanned. You can retrieve the point attributes from the historian at any time
and use them to display point value trends, review, or reports.
In addition to the capture of Ovation native point values, some values originate in external
systems and arrive with externally generated timestamps to Ovation via the ELC or SCADA
Server. ELC values are mapped to Ovation points, from which OPH point scanners capture
samples, including the external timestamps when Deluxe point records are used. For
SCADA Server points, there are three types of scenarios in which they can be collected by
the Historian:
• Type A: The points are broadcast over the Ovation network or Controller, and arrive
normally via a standard OPH point scanner. Any data that was buffered by the external
device and cannot be broadcast in real time will be captured through the SCADA
scanner.
• Type B: No broadcasting of points over the Ovation network or Controller. All data
samples will be scanned through the SCADA scanner.
• Type C: Points are broadcast over the Ovation network or Controller, but are only
scanned by using the SCADA scanner.
Message Data
In addition to Ovation point value and attribute collection, additional scanners capture
Ovation process message data (operator events, sequence of events, and alarms), which is
packaged and sent to the historian. Unlike point data, message data is captured whenever it
occurs and is not filtered by a deadband.
A unit qualification and originating workstation ID are sent along with the message to help
you pinpoint which unit and workstation originated the message data.
The alarm message scanner can also collect PlantWeb alerts. The historian treats PlantWeb
alerts like all other alarm messages.
24 OPH070
Scanning data
The historian identifies and reports reverse time shifts (when the system time is set
backward from the current time) at the scanner level. New data that is scanned after the
reverse time shift is detected is marked as duplicate data and stored. The second set of
duplicated data is returned to retrieval applications, such as reporting.
The scanner uses a disk file for temporary storage. You can configure the size of this file to
best utilize your resources. A small time configuration maximizes the scanner's resources,
and a large time configuration allows for longer periods of communications failure without
data loss.
If the temporary scanner storage ever fills, your scanner issues a fault that indicates data
loss and marks the time period that is missing data.
The historian uses a scanner redundancy manager software process to manage redundant
scanner pairs. If you use only one scanner, you will not use the scanner redundancy
manager. If you use multiple scanners, it is helpful to understand how the historian
manages your redundant scanning.
The redundancy manager communicates with a set of local scanners, as well as a partner
redundancy manager. The partner redundancy manager also communicates with its own
set of local scanners.
OPH070 25
Scanning data
The redundancy manager also retrieves a redundancy state (the default redundancy
state that you chose for your active scanner). The redundancy manager attempts to
retrieve this information periodically. Program control remains in a data collection
state until the redundancy manager validates the data.
• Validates your redundancy configuration information.
In addition to gathering data from your scanners, the redundancy manager also:
The redundancy manager monitors all input and error conditions for circumstances that
require a transition between redundancy states:
Note
The backup scanner stores at least one minute of data to ensure no data is lost during a
controller failover.
State Meaning
Unknown This is the initial state of the redundancy manager when it starts, and for the time that it
takes before the redundancy managers can initiate communication with each other.
26 OPH070
Storing data
State Meaning
Active This state means that the redundancy manager is in control, during which time the
backup redundancy manager receives duplicate information to maintain
synchronization. The active state can mean that:
• The scanner redundancy managers are unable to communicate with each other
after a standard amount of initialization time.
• After the standard amount of initialization time, the partner redundancy manager is
unknown, even though your configuration specifies that redundancy manager as
the active redundancy manager.
• After the standard amount of initialization time, the partner redundancy manager is
backup or failed.
• When the condition that caused a failed state stops, either there is a communication
failure between the redundancy managers or the partner redundancy manager is
unknown, backup, or failed.
• The current redundancy state is backup, and the partner redundancy manager is
unknown or failed.
Backup This state means that control has been given to the redundancy manager's partner,
during which time the backup redundancy manager receives duplicate information to
maintain synchronization. The backup state can mean that:
• After the standard amount of initialization time, the partner redundancy manager is
unknown, even though your configuration specifies that redundancy manager as
the backup redundancy manager.
• After the standard amount of initialization time, the partner redundancy manager is
active.
• When the condition that caused a failed state stops, the partner redundancy
manager is active.
Failed This state means that a redundancy manager has a problem communicating with the
historian, or that one of your scanners has reported a redundancy state different from
your assigned value. A set of scanners in a failed state operates like a set of scanners in a
backup state -- data is scanned and communications are processed.
During a failed state, the partner redundancy manager does not attempt to failover.
When an active redundancy manager fails, it checks that its partner redundant manager
is healthy before failing over. If the partner is failed, then the active redundancy manager
remains active.
The historian supports various storage areas and configurations. It manages up to three
storage types as described in the following table.
OPH070 27
Archiving data
Storage Description
type
Main The most recently collected data is kept online in disk storage and is used as the
primary destination for the historian’s historical data. The main storage maintains a
history of data for as long as the historian server's internal disk capacity will support.
Main As an option, the internal main storage can be extended to provide additional disk
Extended storage pools that can include many years of valuable online historical data. The
storage pools can be ranked in order of data I/O performance to allow the historian to
keep the most recent (and most often used) historical data on the highest performing
storage hardware. As space is needed on the highest ranked pool, data files are
automatically moved to other storage pools.
Typically, the main extended storage is implemented by using an external RAID storage
unit. Up to 16 external storage units can be supported.
Note
If storage pools are configured with unequal ranking in the OPH Server, data files go to
the highest ranked pool first. However, if storage pools are configured with equal
ranking in the OPH Server, data files will go to the first storage pool of that rank listed
in the configuration file.
Once the main or extended storage area(s) are full, its oldest historical data files will be
deleted to make room for newly collected data. The optional archive storage maintains a
copy of the historical data that can extend beyond what currently resides on the main or
extended storage.
28 OPH070
Archiving data
Archive Description
storage
type
Removable The historian’s removable archive solution consists of an unlimited series of DVD-
archive RAM optical storage discs. If old data is no longer available on main storage, it can be
reloaded from the DVD-RAM media, using the History Manager [265], or read directly
from a disc volume resident in the DVD-RAM reader.
• The discs can be moved off-site to protect against data loss due to a catastrophic
event.
• The discs are impervious to magnetic fields.
• It is easy to make duplicate copies of the media.
• With proper handling, the discs are durable and can last a very long time.
Fixed archive A removable archive requires periodic manual interaction to remove full volumes and
insert blank media, or to insert older media when there is a need to access data that
precedes that on the main storage. A fixed archive provides an archive solution with
minimal human involvement.
You can use the archive functions to perform the following tasks:
The archive system maintains a volume database that contains information about all data
written to the removable or fixed archive. Each piece of removable media can contain one
or two sides. Each side of media can contain a volume created by the archive system. The
archive system assigns a unique volume name to each volume created for the removable or
fixed archive.
OPH070 29
Retrieving data
If you do not specify an archive, the storage processes manage the main storage disk space
so that data collection continues and is stored to disk. The oldest data that resides on main
or main extended storage is removed in order to accommodate the newly collected data.
The removable archive system can prompt you for attention at any time by generating any
of the following messages.
Message Description
Request for blank media Archive system is attempting to archive data files but a currently open
volume does not exist.
Request for a specific Archive system is attempting to archive data files and the currently open
volume volume is not in the drive, or a volume request is received from a retrieval
operation and the requested volume is not in the drive.
Confirmation for Response to a request for blank media has been received, but the media in
overwrite the drive is not blank.
The fixed archive system can prompt you for attention at any time by generating any of the
following messages.
Message Description
Archive Device is full, space required When the fixed archive device reaches its full storage
capacity.
Configured space available The disk storage capacity exceeds the percentage specified in
percentage is exceeded the Disk Warning Threshold field
Historian archive functionality is optional. If you choose not to use archive functionality, the
historian deletes the historical data when disk space is needed to store more current
historical data.
• Historical reports.
• Historical Review.
• Historical Trend.
• Excel add-in.
• SQL access.
• History Manager.
You can search for information in specific ways for each type of historical data.
30 OPH070
Retrieving data
You can run reports to focus on specific categories of information and distribute them to
other users. When you want to run reports, you can use the Emerson-designed report
templates or create your own. You can configure where you want a report to be run, how
you want the report to look, and when you want it to be generated.
OPH070 31
Retrieving data
• Alarms.
• Operator events.
• SOE.
• Points.
• ASCII.
• SIS.
You can access the Historical Review interface from your workstation Start menu or using
the Desktop client.
For more details on Historical Reviews, see Using Historical Reviews [287].
You can apply desired aggregation criteria (for example, processing type, such as actual,
average, or integration) to the values stored by the historian to visualize computed results.
You can access the Historical Trend interface from your workstation Start menu or using the
Desktop Client.
For more details on History Manager, see Using the History Manager [265].
32 OPH070
Historian security
For example, you could configure a certain set of privileges (group) and then apply these
privileges to functions inside Ovation or Windows. This allows you to enable desktop items,
choose the frequency at which passwords need to be reset, and limit access to desktop
features, removable media devices, and other items.
If you choose, you can refuse a single machine (or single user name) access to historian
functions. Alternatively, you could configure a single machine (or user name) to have
unlimited access to historian functions. Any configuration between these two extremes is
also possible.
OPH070 33
Using wildcard characters for retrieving data
• OPH supports either of the following characters for a match any set of characters:
◦ *: Typically, the * character is used for a match any search.
◦ %: The % character is used in the OPH SQL engine when processing LIKE clauses.
Note
The OPH SQL engine does not support * as match any.
• OPH, including the OPH SQL engine, supports the ? character for a match one character
search when processing LIKE clauses.
• Report Manager (or Crystal Reports) supports the * character for match any and the ?
character for match one. It does not support the % character for match any.
34 OPH070
Hardware requirements for the historian
• Dell PowerEdge T310, T320, T330, T440, R710, R720, R730, or R740.
◦ Point quantity greater than 200K requires a minimum of T330/ R730 machine,
with a H730 or H730P PERC controller installed.
• Synology NAS 2418RP+ (Emerson Part Number 1X00783H07).
• The OPH Server is typically deployed using internal storage, configured as a single RAID
5 array in the RAID BIOS, which is accessible during the boot process. This unit is
recommended to be partitioned into C: and D: virtual drives.
• Ensure that you have at least 80 GB of free disk space on the system partition (C:) for
the installation of Windows and Ovation applications.
• The D: partition contains the rest of the available disk space, which should be used for
OPH software and historical data storage.
• Modifying the RAID hardware configuration can jeopardize your RAID 5 protection and
is not recommended.
• All hard disks must use the NTFS file system.
Note
Due to the possibility of various disk partitioning scenarios, Emerson recommends that
you contact your Emerson representative if you have questions about partitioning your
disks.
OPH070 35
Software requirements for the historian
Note
The OPH is compatible with Ovation 3.5.1, 3.6 Feature Pack 4, 3.7 Feature Pack 1, and
later releases.
Note
The Desktop Tools are available for the above listed Windows versions. See Using the
Historian Desktop Tools [417].
36 OPH070
Historian planning overview
The number of historians that you use can help decide the number of scanners that you
need (you need at least one scanner per historian).
The number of scanners that you use determines the amount and detail of data that you can
archive and retrieve from your system.
Because these considerations are intertwined, Emerson recommends that you plan your
historian setup with a thorough understanding of the options available to you. The
following questions can help you create your historian plan:
OPH070 37
How many historians do you need?
In addition to knowing the number of points you want to collect, you must know what type
of points you want to scan for, because different point types are treated differently by the
historian and some require more storage space than others. The number of points and the
types of points that you want to collect both affect your disk space. For example, you should
decide if you want to monitor any points at a 0.1 second scan rate and understand how that
will impact your storage and retrieval performance Emerson recommends that you aim for
an overall storage rate of less than 1-2% change rate per second, especially if you have a
larger point count.
After you have analyzed the various aspects of your historian plan, revisit the question of
how many historians you require. After the various elements of your historian plan are in
place, the number of historians that you need should become clearer.
• If your system includes a remote area with a potentially unreliable network link to the
rest of your system, multiple historians can provide continued local operation at your
remote facility while offering central historical data storage for your entire system.
• If you anticipate running out of licenses; for example, you might want to collect more
than 400,000 points, or you might require more non-Ovation clients than one historian
allows.
Note
If you think that you may eventually use a single historian for multiple units, Emerson
advises that you install your historian on your core network switches.
38 OPH070
How many scanners do you need?
If historical data collection is critical to your plant, consider utilizing redundant servers. If
you are currently using a non-redundant historian server, you can convert to redundant
servers. The redundant servers will backfill up to six months of data, at a throttled rate in
order not to slow down your network.
Redundant historian servers are only available to customers with Ovation 3.1.1 or higher, or
customers with Ovation 3.0.4.
When planning your scanners, consider the number of network vulnerabilities, such as
routers and switches, between your scanner and your historian. Use of multiple scanners on
a single system is a decision that you should make based not on your point count but rather
on the quality of your network connectivity. There are no specific recommendations, but
generally, 30,000 points per scanner ensures good performance quality. Under typical
collection rates (1-2% average sampling rate), OPH point scanners deployed on current
Ovation standard computer hardware (for example, T330 / R730 or newer) can support up
to 50,000 points per scanner.
After you have decided whether to use a single scanner or multiple scanners, decide if you
want scanner redundancy. Redundant scanners exist on two separate Ovation machines.
They communicate with one another to determine which one of the two scanners is active,
and which one is backup. Two scanners that are configured as redundant do not utilize the
Ovation primary and backup mechanism and are not affected by Ovation applications that
initiate a failover. The status of the redundant scanners is displayed as an item on the
Maintenance and Status screen.
If you do decide that you want redundancy, the scanner redundancy manager must connect
the scanners, and the historian that they report to, in order to obtain redundant
information.
Note
If you use multiple non-redundant historians, a single Ovation process point can be
collected by more than one scanner but it is only configured once for a given historian.
OPH070 39
How will you archive your data?
Note
Emerson strongly recommends the use of an Emerson-standard network attached storage
(NAS) device for fixed archiving purposes.
Disk size estimates are based on the volume and type of information that you want to
collect. Since your disk space needs can change radically based on the volume and type of
points that you want to collect historical information for, use the following estimates as
general guidelines only.
• Your hardware is a Dell PowerEdge T440 or R720 with a standard configuration: three
300-gigabyte drives in RAID 5, approximately 540 gigabytes of usable disk space.
• You collect samples at, on average, a 1% rate.
• Your total disk space is approximately 510 gigabytes.
• Your DVDs can hold a maximum of approximately 8 gigabytes of data.
Note
The use of larger disks for main storage is recommended when point counts exceed
100,000.
40 OPH070
Who are your end users?
External RAIDs extend your main storage capability and let end users access data online,
without having to load a DVD or other removable media in order to view data. You can add
up to 16 external RAIDs to your historian. You can use removable media in conjunction with
external RAIDs. However, deploying an external RAID unit as a fixed archive device provides
the benefit of duplicating the primary storage data while also providing an online access to
the data that is no longer available in the main storage.
• The discs can be moved off-site to protect against data loss due to a catastrophic event.
• The discs are impervious to magnetic fields.
• It is easy to make duplicate copies of the media.
• With proper handling, the discs are durable and can last a very long time.
If you decide that you do want removable media, you can use an internal or external DVD-
RAM drive. Historian archiving supports making backup copies of DVD-RAM volumes to
DVD +/- RW media.
Removable media offers storage beyond standard online storage. However, the removable
archive requires periodic manual interaction to remove full volumes and insert blank media,
or to insert older media when there is a need to access data that precedes the data on the
main storage.
A fixed archive provides an archive solution with minimal human involvement. In addition
to unmanned operation, a fixed archive has the following advantages:
• Volumes are always mounted and accessible for data retrieval, eliminating the need for
the primary extended storage or reloading of files from the archive.
• Faster read and write times than a DVD-RAM.
• Catastrophic data loss protection can be provided by locating the storage system
remotely.
• The fixed archive itself can be backed up and restored.
• If you want to view your historical data in graphs, use Historical Trend.
• If you want to perform ad hoc queries to explore raw historical data, use Historical
Review.
• If you want tabular data to analyze, print, or save to files, use historical reports.
• If you want to analyze your storage utilization, use History Manager.
• If you want to use data on a spreadsheet, use the Excel add-in or OLE DB database
queries.
Consider where your end user is geographically. Local end users present no difficulties (for
example, you can print reports to any network printer). End users that are geographically
removed require special network planning; you will need to address connectivity and
firewall difficulties between the historian system and your end user's system.
OPH070 41
Do you need to migrate eDB or HSR data to your new historian?
For example, if the user at workstation 200 wants to be able to demand historical reports,
workstation 200 must have the Report Manager software loaded and have connectivity to
the historian server workstation. In addition, non-local users who query the historian server
frequently, or for large volumes of data, could greatly impact your network performance.
If you need to migrate data, you should budget for work time and services to plan your data
migration, migration cost, and downtime. The downtime is a significant consideration if
you plan to use the same hardware for the historian that you used previously.
It is possible to migrate your custom report templates to the historian, but there can be
difficulties. Therefore, Emerson recommends that you do not attempt to migrate any
custom report templates that meet the following criteria:
• The reports are direct, cross tab reports (instead of ExpressCalc reports, which are
easier to migrate).
• The reports contain large amounts of custom code.
42 OPH070
Installing the historian overview
OPH070 43
To install the historian
Note
See What are different OPH installation scenarios? [53] for more information.
Use the following steps to install the Ovation Process Historian software:
1. Insert the historian CD into the CD-ROM drive of the machine that you want the
historian to run on.
2. Navigate to the [Link] file in the root directory of your CD drive.
44 OPH070
To install the historian
4. The Ovation Process Historian InstallShield wizard appears with the Welcome page.
Click Next.
OPH070 45
To install the historian
46 OPH070
To install the historian
Note
Your user name and company name are automatically detected. You can edit
these fields as necessary.
OPH070 47
To install the historian
7. The Choose Destination Location page appears. Click Next to accept the default
location, or change it, if required.
48 OPH070
To install the historian
Historian Details
component
Server Installs the server on any machine connected to your network that you
want the historian server to run on.
Scanners Installs the scanner software on all machines that you want to function
as scanners; scanner machines must be connected to the server and
have Ovation loaded on them.
Engineering This is the main configuration tool for the historian installation. You
Tools must install the engineering tool on each workstation that you want to
have the ability to engineer the historian system in the Developer
Studio, as well as the Ovation database server. The Engineering tools
installation component includes the History Edit tool.
Reports The Report Manager enables you to design, generate, and schedule
reports. Install the Report Manager on any machine connected to the
server that you want to run reports from.
Client Interface The client interface enables you to write your own programs, and
access your historian data from other applications, such as Microsoft
Excel.
OPH070 49
To install the historian
Historian Details
component
Client Desktop Client tools (including the History Console and [Link]) let you
Tools manipulate the system by using SQL queries, Trend, Review, and the
Excel add-in.
Data Insertion Libraries used to facilitate insertion of Historian data.
Note
Currently, these libraries are used on a SCADA or COMTRADE server
drop that does not require Historian Scanner functionality.
Note
See What are different OPH installation scenarios? [53] for more
information.
b. Click Next.
50 OPH070
To install the historian
10. After selecting the installation option, a confirmation dialog box appears. Click Yes
after confirming that you have selected the appropriate option.
11. Return to the Ready to Install the Program page. Click Install to begin the installation.
OPH070 51
To install the historian
When the installation is complete, the Installation Completed page appears. Click
Finish.
52 OPH070
To uninstall historian components or change your installation
• Initial Installation: Use this option when you are installing the OPH software on a
machine for the first time. In addition, this option can be used when you want to
discard all historical data.
CAUTION
Start -> Control Panel -> Add/Remove Programs -> Ovation Process Historian
• Remove: This option removes all of the historian components completely (except for
report configuration, (which is written to export files for future applications to use),
license keys, history files, and point configurations). A prompt will check whether you
are sure that you want to remove all features. Select Yes or No.
• Change: This option accesses a maintenance mode that enables you to modify, repair,
or remove historian components through the Select Features installation screen. You
can use this option to add components that you did not initially install. By using this,
you do not need to uninstall and reinstall your historian. You can add to your
installation as often as you need.
Note
After removing programs or changing components, Emerson recommends that you
restart your machine.
OPH070 53
Configuration overview
OPH070 55
To configure a historian for the first time on a Windows-based system
1. Access the Ovation Developer Studio. Refer to the Ovation Developer Studio User Guide
for more information.
2. Use the system tree to navigate to the Ovation Process Historian Servers folder as
follows:
Systems -> Configuration -> Historians -> Ovation Process Historian Servers -> Ovation
Process Historian Servers
3. Right-click on the second Ovation Process Historian Servers folder and select Insert
New. The New Ovation Process Historian Servers window appears:
4. Use the Value drop-down menus to select the Ovation Process Historian Number
ranking. The rank decides what order you want your historians to display in the pull-
down menus in Trend and Review.
5. Use the drop-down menus to select your primary and partner historians.
56 OPH070
To configure a historian for the first time on a Windows-based system
6. Click OK. Your new historian appears in the bottom-left corner of the Ovation
Developer Studio window. In the following figure, the new historian is drop 210.
OPH070 57
To access the Historian Configuration Tool window for Windows-based systems
7. Right-click on your new historian and select Engineer. The Historian Configuration Tool
window appears:
8. You can now use the Historian Configuration Tool to define how you want to manage
your historians, scanners, scan groups, points, and storage options.
1. Access the Ovation Developer Studio. Refer to the Ovation Developer Studio User Guide
for more information.
2. Use the system tree to navigate to the Ovation Process Historian Servers folder as
follows:
Systems -> Configuration -> Historians -> Ovation Process Historian Servers -> Ovation
Process Historian Servers
58 OPH070
To access the Historian Configuration Tool window for Windows-based systems
3. Right-click on the historian workstation that you want to configure. The right-click
menu appears:
The following table describes the right-click menu options of the historian workstation.
OPH070 59
To access the Historian Configuration Tool window for Windows-based systems
60 OPH070
Components of the Historian Configuration Tool window
The Historian Configuration Tool (HCT) window contains the following components:
Note
When you change any settings in the Historian Configuration Tool window and click
Apply, a red flag appears in the Ovation Developer Studio. The flag indicates that you
need to perform the load procedure [125]. This note is applicable only for Windows-
based systems.
OPH070 61
Historian Configuration Tool menu button
The following table describes the functions provided by the Historian Configuration Tool
menu button:
Function Description
New Creates a new and blank database.
Open Opens an existing database.
Validate Validates the configuration.
Download Downloads the configuration to a historian.
Note
For configuration sessions opened from the Ovation Developer Studio, you must
download the configuration by using the Ovation Developer Studio. In such cases, this
option would be disabled and grayed out.
Figure 20. Quick Access Toolbar of the Historian Configuration Tool window
62 OPH070
Quick Access Toolbar
The following table describes the icons in the Quick Access Toolbar.
You can make the following changes to the Quick Access Toolbar.
OPH070 63
Menu bar
• Home tab: Use this tab to access the basic configuration options in the Home ribbon
bar [65].
• Tools tab: Use this tab to access the point and data options in the Tools ribbon bar
[65].
In addition to these tabs, the Edit tab will appear under the Points menu when you
configure your historian points [110]. Use this tab to access the point configuration options
in the Edit ribbon bar [68].
In addition to these ribbon bars, the Edit ribbon bar [68] appears under the Points menu
when you configure your historian points [110].
64 OPH070
Ribbon bars
Figure 21. Home ribbon bar of the Historian Configuration Tool window
The following table describes the functions available in the Home ribbon bar.
Table 14. Functions in the Home ribbon bar of the Historian Configuration Tool window
Note
For configuration sessions opened from the Ovation Developer Studio, you
must download the configuration by using the Ovation Developer Studio. In
such cases, this option would be disabled and grayed out.
OPH070 65
Ribbon bars
Figure 22. Tools ribbon bar of the Historian Configuration Tool window
The following table describes various functions available in the Tools ribbon bar.
Table 15. Functions in the Tools ribbon bar of the Historian Configuration Tool window
• Scanner name
• Database name
• Last Update Time (GMT)
• Data Origin
Click Browse Points on the window to browse points.
Click Force Refresh on the window to refresh the database for a
selected scanner.
Refresh Refreshes available points in the database for a selected scanner.
Points
Data Backup Sets the backup parameters and allows an instant backup. When
you click Backup, the Backup window [68] appears. You can set the
backup interval and number of backup copies.
66 OPH070
Ribbon bars
When you click Browse Points in the Point Browse Databases Details window, the following
window appears:
OPH070 67
Ribbon bars
Backup window
The following figure depicts the Backup window.
Figure 26. Edit ribbon bar appears under the Points menu
The following table describes various functions available in the Edit ribbon bar.
Table 16. Functions in the Edit ribbon bar of the Historian Configuration Tool window
68 OPH070
Ribbon bars
• Browse Points
• Append
Modify Allows the modification of selected point records.
Delete Deletes the point records from a scan group.
Data Undo Rolls back changes to the point of last Save.
Refresh Refreshes the Historian Configuration Tool window with data from
the database.
Apply Saves changes to the database.
OPH070 69
Left pane of the Historian Configuration Tool window
• Historian
• Scanners
70 OPH070
Left pane of the Historian Configuration Tool window
• Scan Groups
• Main Storage
• Archive Storage
• Main Storage [Partner]
• Archive Storage [Partner]
OPH070 71
Right pane of the Historian Configuration Tool window
Depending on the operations you perform, the right pane can display the data in the
following formats:
72 OPH070
Right pane of the Historian Configuration Tool window
Figure 29. Historian Properties tab in the right pane of the Historian Configuration Tool
window
OPH070 73
Right pane of the Historian Configuration Tool window
Figure 30. Scanners tab in the right pane of the Historian Configuration Tool window
74 OPH070
Right pane of the Historian Configuration Tool window
Figure 31. Main Storage tab in the right pane of the Historian Configuration Tool window
OPH070 75
Right pane of the Historian Configuration Tool window
Figure 32. Archive Storage tab in the right pane of the Historian Configuration Tool window
76 OPH070
Right pane of the Historian Configuration Tool window
Ordering data
Use the following steps to order or sort the data in a grid view [77]:
OPH070 77
Right pane of the Historian Configuration Tool window
5. From the right-click menu, you can perform the following operations:
• Sort the data in an ascending order.
• Sort the data in an descending order
• Clear sorting, if applicable.
• Group by the column.
• Hide or view the Group By box.
• Remove the column.
• Choose columns. When you click Column Chooser in the right-click menu, the
Column Chooser dialog box appears. You can drag a column, such as TYPE, to the
dialog box to temporarily remove it from the grid view.
Figure 35. Column Chooser dialog box - the TYPE column removed from the grid
view
78 OPH070
Right pane of the Historian Configuration Tool window
Filtering data
Use the following steps to filter the data in a grid view [77]:
4. Click Filter Editor. The Filter Editor dialog box appears. In the dialog box, you can
change the filter column, for example, from NAME to INFORMATION. In addition, you
can retrieve the data with values beginning with a desired text.
OPH070 79
Right pane of the Historian Configuration Tool window
5. You can also filter the data by using the filter icon to the right of a column heading.
When you click the icon, a pop-up menu appears:
6. Click (Custom) in the pop-up menu. The Custom AutoFilter dialog box appears. The
dialog box allows you to further customize your search by using equations.
7. Specify the conditions in the Custom AutoFilter dialog box, and click OK.
Grouping data
Use the following steps to group the data in a grid view [77]:
80 OPH070
Right pane of the Historian Configuration Tool window
3. Drag the column headers one by one to the grouping area. The following figure depicts
a multiple group of TYPE, DEADBAND ALGORITHM, and DEADBAND VALUE columns.
4. Right-click in the Grouping area to fully expand the tree, fully collapse the tree, entirely
clear the grouping, or hide the Group By box, as shown in the following figure.
The Historian Configuration Tool window displays the following information as a card view:
OPH070 81
Right pane of the Historian Configuration Tool window
Main storage
The following figure depicts a card view for a main storage.
Note
See To configure a main storage [94] for information about configuring a main storage.
82 OPH070
Right pane of the Historian Configuration Tool window
Archive storage
The following figure depicts a card view for archive storage devices.
Note
See To configure an archive [96] for information about configuring an archive.
OPH070 83
Right pane of the Historian Configuration Tool window
Scanners
The following figure depicts a card view for scanners.
Note
See To configure a scanner [100] for information about configuring a scanner.
84 OPH070
Status bar
Scan groups
The following figure depicts a card view for scan groups.
Note
See To configure a scan group [105] for information about configuring a scan group.
OPH070 85
To export data to an XML file
Figure 47. Dialog box launcher in the XML group of the Home ribbon bar
3. The Export Settings window appears. You can choose to include a style sheet in your
exported XML file by selecting the check box Include XSL Stylesheet instruction, in the
exported XML file.
86 OPH070
To export data to an XML file
5. The Save As window appears. Enter the XML file name, such as example, in the File
name field and click Save. The file is saved.
Note
Save the XML file to the same path where the XSL stylesheet is available. This enables
the exported XML file to appear in a tabular form when opened in an Internet browser.
Alternatively, you can copy XSL files to the location of the exported XML file.
6. Open the XML file from the path. By choosing to export the data to an XML file using a
style sheet, the data appears formatted in the exported file. The XML file opens with
Internet Explorer, as shown in the following figure.
OPH070 87
To export data to an XML file
88 OPH070
To import data from an XML file
OPH070 89
To import data from an XML file
3. In the window, select the XML file, such as [Link], from which you want to
import the data, and click Open. The Select items for import window appears:
90 OPH070
To configure a historian server
Note
The term My Historian only appears until you rename your primary server, and your
partner server if you are using redundancy, as part of the configuration task. After
naming your primary server, the name you choose, instead of My Historian, will display
in this left pane.
3. Navigate to the Historian Properties tab in the right pane of the Historian
Configuration Tool window [72].
OPH070 91
To configure a historian server
Figure 53. Historian Properties tab in the Historian Configuration Tool window
92 OPH070
To configure a historian server
Note
E-mail notification and drop attention are not currently enabled.
8. In the All Archives subgroup of the Archive Storage Configuration group, perform the
following steps:
a. Select the Archiving Enabled check box to enable the archiving process for all
archives, including fixed and removable archives.
b. In the Archive Time drop-down list, select the time when you want the historian to
archive your data every day. The options are IMMEDIATE and any hour of the day. If
you select the IMMEDIATE option, the OPH data archival is scheduled immediately
after active data files are closed, which is every four hours.
c. In the Retry Period drop-down list, select the retry period between 1 and 12 hours.
If an archive operation fails, and fails again even when the historian attempts to
archive after the set retry period, there are no additional retries. When the archive
retry finally succeeds, it archives all data files available, not just the data files that
existed at the time of the initial failure.
OPH070 93
To configure a main storage
9. In the Fixed Archive subgroup of the Archive Storage Configuration group, perform the
following steps:
a. In the Warning Threshold field, enter the percentage of the fixed archive storage
capacity that must be filled before you receive a warning message.
b. Specify Volume Period in months or days. The historian archives your data or, in
other words, copies the data files to the storage device in separate volumes. Each
volume is a separate directory for a volume period.
10. In the Data Retrieval Options group, use the Percent Good Aggregate Computation
drop-down list to retrieve the percentage aggregate when the point value was GOOD
over the requested time period. Select from the following options:
• Use FAIR and GOOD samples: Both GOOD and FAIR samples are used for Percent
Good computation.
• Use GOOD samples only: Only GOOD samples are used for Percent Good
computation.
11. Click Apply in the Home ribbon bar [65] to save your changes.
12. Click Validate in the Home ribbon bar [65] or Quick Access Toolbar [62] to ensure that
your changes are consistent with the historian requirements. The following message
appears:
94 OPH070
To configure a main storage
3. In the Main Storage group, click Add Disk. The right pane of the Historian Configuration
Window [72] displays the Disk Properties tab for the new primary historian disk or the
main storage, as shown in the following figure.
Figure 56. Disk Properties tab for the new primary historian disk
Note
If storage pools are configured with unequal ranking in the OPH Server, data files
go to the highest ranked pool first. However, if storage pools are configured with
equal ranking in the OPH Server, data files will go to the first storage pool of that
rank listed in the configuration file.
OPH070 95
To configure an archive
6. Click Apply in the Home ribbon bar [65] to save your changes. The new disk appears in
the Main Storage group in the left pane of the Historian Configuration Tool window
[70].
7. Click Validate in the Home ribbon bar [65] or Quick Access Toolbar [62] to ensure that
your changes are consistent with the historian requirements. The following message
appears:
8. Click OK.
9. In the Ovation Developer Studio, right-click on the workstation that you want to load
and select Load. The configuration changes are sent to the historian and the new
settings take effect.
Note
You can also configure a redundant or partner storage by using the Add Disk option of
the Main Storage [Partner] group, which appears under the Storage Media tab in the
left pane of the Historian Configuration Tool window [70]. The configuration steps for
the redundant or partner storage would be exactly same as the configuration steps for
the main storage.
96 OPH070
To configure an archive
3. In the Archive Storage group, click Add Archive Storage. The right pane of the Historian
Configuration Window [72] displays the Archive Storage Properties tab for the new
primary historian fixed archive, as shown in the following figure.
Figure 58. Archive Storage Properties tab for the new primary historian fixed archive
OPH070 97
To configure an archive
7. Click Validate in the Home ribbon bar [65] or Quick Access Toolbar [62] to ensure that
your changes are consistent with the historian requirements. The following message
appears:
8. Click OK.
9. In the Ovation Developer Studio, right-click on the workstation that you want to load
and select Load. The configuration changes are sent to the historian and the new
settings take effect.
Note
You can also configure a redundant or partner fixed archive by using the Add Archive
Storage option of the Archive Storage [Partner] group, which appears under the
Storage Media tab in the left pane of the Historian Configuration Tool window [70]. The
configuration steps for the redundant or partner fixed archive would be exactly the
same as the configuration steps for the primary fixed archive.
98 OPH070
To configure an archive
3. In the Archive Storage group, click Removable storage. The right pane of the Historian
Configuration Window [72] displays the Archive Storage Properties tab for the new
primary historian removable archive, as shown in the following figure.
Figure 60. Archive Storage Properties tab for the new primary historian removable
archive
OPH070 99
To configure a scanner
8. Click OK.
9. In the Ovation Developer Studio, right-click on the workstation that you want to load
and select Load. The configuration changes are sent to the historian and the new
settings take effect.
Note
You can also configure a redundant or partner removable archive by using the Add
Archive Storage option of the Archive Storage [Partner] group, which appears under
the Storage Media tab in the left pane of the Historian Configuration Tool window [70].
The configuration steps for the redundant or partner removable archive would be
exactly the same as the configuration steps for the primary removable archive.
100 OPH070
To configure a scanner
3. In the Scanners group, click Add Scanner. The right pane of the Historian Configuration
Window [72] displays the Scanner Properties tab for the new scanner, as shown in the
following figure.
Note
You can configure a single machine to run all of the different types of Ovation scanners
or split each of the scanner functions to multiple machines. You can also divide point
scanning across multiple scanners.
Note
The IP address is automatically generated for you if it is in the hosts file, which
contains the mappings of IP addresses to host names. If the IP address is not
automatically generated, enter the address manually.
OPH070 101
To configure a scanner
6. If you also want to assign a redundant or a partner scanner to the new scanner, perform
the following steps in the Partner Scanner group.
a. In the Name field, enter the name of the partner scanner that is assigned to the
new scanner. The partner scanner operates in the backup mode and goes into
active mode only if the primary scanner fails.
b. In the IP field, enter the IP address of the partner scanner.
Note
The IP address is automatically generated for you if it is in the hosts file, which
contains the mappings of IP addresses to host names. If the IP address is not
automatically generated, enter the address manually.
102 OPH070
To configure a scanner
Note
Alarms, Operator Events, and SOE history types can only be assigned to one
scanner per network.
All other scanner types can be assigned to multiple scanners on the same
network.
b. Use the DAT file size drop-down menus to assign a DAT file buffer size to each
history type that you want the scanner to scan. The following table describes the
default buffer sizes for different history types.
8. To fully identify the scanner to the historian in case of duplicate workstation names,
perform the following steps in the Qualifiers group:
a. In the Unit drop-down list, select the scanner's unit.
b. In the Network drop-down list, select the scanner's network.
OPH070 103
To configure a scanner
Note
In order to apply the changes to the deluxe point's U8 and U9 fields, after you
select or clear the Enable Deluxe Point Timestamps check box, ensure that you
load the OPH configuration and then restart the OPH services of the scanner drop.
Although the historian does not need to be located within your Ovation network, your
scanners must be. Because the historian scanners are distributed, you can collect historical
information from a wide-area network with any one of a large variety of diverse system
architectures.
104 OPH070
To configure a point scan group
Point Data
Every point in your system has a value, a status, and some attributes, which all provide
information about a point. Scanners manage the point values (packed, analog, and digital),
statuses, and attributes for the points that you choose to scan. The historical value and
status sampling function read the point information, either from your Ovation network or
from within a Controller, and check two items:
The sampling function performs these two checks every second, or as frequently as you
configure your scanner to perform these checks (from every 40 milliseconds to every 60
minutes, but typically once per second).
In addition to values and statuses, each process point in the Ovation system has descriptive
attributes. Though the point values in your system can change significantly, the attributes
of the points change much more slowly. Changes in attributes are caused by actions, such
as an engineer manually editing the attributes. These slowly changing attributes are read
less often, so when scanning for point attributes, the attribute values are read every two
hours and reported to the historian.
Attributes that the historian collects and stores include the following:
• Point name.
• English description.
• Engineering units.
• Set and reset description.
• Top and bottom of scale.
• Alarm limits.
When you configure a point for point value scanning, that point's attributes are
automatically scanned. You can retrieve the point attributes from the historian at any time
and use them to display point value trends, review, or reports.
OPH070 105
To configure a point scan group
3. From the left pane, click Add Scan Group in the Scanner [Name] group.
4. The Right pane of the Historian Configuration Tool window [72] displays the Scan
Group Properties tab for the new scan group. In the Scan Group, perform the following
steps:
a. Enter the scan group name in the Name field.
b. Enter a brief description of the scan group in the Description field.
c. Select Ovation Network or Controller from the Data Source drop-down menu to
determine where the point data samples are to be located. If Ovation Network is
selected, then the data sampling algorithm uses point values and statuses read
from Ovation broadcast data. If Controller is selected, the point values and status
are sampled within the Controller and streamed directly to the Point Scanner,
bypassing the point data broadcast. In this case, the Primary Controller and
Partner Controller fields are enabled. If you select Ovation Network, skip to Step 6.
106 OPH070
To configure a point scan group
Note
You can specify a OCC100 Controller in these fields.
c. Select the Scanning Enabled check box if you want this scan group to be
monitored.
d. In the Scan Frequency field, set the scan frequency that determines how often a
historian scanner monitors information from this group of points. You can
configure the Scan Frequency field to Standard (scans in multiples of one second,
up to a limit of 3600 seconds (60 minutes) and Fast (scans at the fast broadcast
rate of the system (either 40 mS or 100 mS).
e. In the Long Term Enabled field, select the check box if you want this scan group to
be a long-term scan group. You can define a subset of points to be stored for long
term (the current default for a long-term storage is five years), and these points
will be deleted last if space is required. It is recommended to use the long-term
storage for a small subset of key points.
f. In the Digital Sampling Limiting Enable field, select the check box if you want to
activate chattering suppression for digital point sampling performed in the
Controller.
g. The Max Samples in 5 Min field becomes active when the chattering suppression
for digital points is activated. This value determines how long the scanner detects
and limits the sampling of digital points.
OPH070 107
To configure a point scan group
a. Select the Scanning Enabled check box if you want this scan group to be
monitored.
b. In the Scan Frequency field, set the scan frequency that determines how often a
historian scanner monitors information from this group of points. You can
configure the Scan Frequency field to Standard (scans in multiples of one second,
up to a limit of 3600 seconds (60 minutes) and Fast (scans at the fast broadcast
rate of the system (either 40 mS or 100 mS).
c. In the Long Term Enabled field, select the check box if you want this scan group to
be a long-term scan group. You can define a subset of points to be stored for long
term (the current default for a long-term storage is five years), and these points
will be deleted last if space is required. It is recommended to use the long-term
storage for a small subset of key points.
Note
When setting a point scan frequency, consider the time between significant events in
your process. For example, if your point is monitoring a large wastewater pond for
changes in depth, you can set a slower scan rate, because changes in depth will
generally be slow. However, if you are monitoring a generator whose wattage output
can fluctuate in a matter of seconds, consider a faster scan rate.
Note
The Scan Enabled, Scan Frequency, and Long Term Enabled parameters are defined for
the scan group and are applicable to all points in the scan group. It is recommended to
108 OPH070
To configure a point scan group
add points of different parameters to different scan groups. You may choose any logical
classification to group points into various scan groups for organization and
configuration.
7. In the Default values for new point additions group, define the values for new point
additions that are assigned to all new points added to this scan group. The following
table describes the deadband options in this group.
Deadband Description
option
Deadband Determines how changes in the analog point value are filtered by the
Algorithm historian. The following algorithms are available for the Ovation Network
data source:
• STANDARD
• PCT_RANGE
• RATIO
• LOG
• POWER
• FLOW
• RADIATION
• SLOPE
Note
For the Controller data source, only STANDARD and PCT_RANGE
deadband algorithms are supported.
Deadband Value Determines the value that is applied by the selected deadband algorithm.
Deadband K The K value is used for the following algorithms:
Value
• LOG
• POWER
• FLOW
• RADIATION
Deadband N The N value is used for the following algorithms:
Value
• LOG
• POWER
The default N value for FLOW algorithm is 0.5.
The default N value for RADIATION algorithm is 10.
Note
For more information about deadbands, refer to the analog point
deadband definitions in To configure historian points [110].
OPH070 109
To configure historian points
8. The Historian Configuration Tool window displays the following point count
information:
a. License: Reflects the total number of licensed points. The Historian is licensed
based on the number of points of historical data you want to collect. The Historian
can collect a maximum of 400,000 points.
b. HCT: Reflects the number of points that are configured on the local network.
c. Unused: Reflects the number of points that are still available for configuration.
Typically, you can calculate the number of unused points as follows:
Unused = License - OPH
9. For convenience and organizational purposes, you can create multiple scan groups for
each scanner. You can plan your scan groups in many different ways. For example, you
might want to create groups around a scan frequency, an originator, a plant area, or for
a long-term storage. When you are finished, click Apply in the Home ribbon bar [65] to
save your changes. The new scan group appears in the Scanner [Name] group in the
left pane of the Historian Configuration Tool window [70].
10. Click Validate in the Home ribbon bar [65] or Quick Access Toolbar [62] to ensure that
your changes are consistent with the historian requirements. The following message
appears:
110 OPH070
To configure historian points
3. In the Scanner [Name] group, select a scan group, and click the Point List tab in the
right pane of the Historian Configuration Window [72], which causes the Edit ribbon
bar [68] under the context-sensitive Points menu to appear in the ribbon bar, as shown
in the following figure.
4. If you are adding points for the first time to the scan group, click Add in the Edit ribbon
bar [68]. The Add Points to Scan Group window appears:
OPH070 111
To configure historian points
7. You can modify a point if you want. Click a point to highlight it, and click Modify in the
Edit ribbon bar [68]. The point's fields are now editable. You can type directly in some
fields, or use the drop-down menus that appear when you click the other fields. You
can also edit multiple lines at the same time by holding down the Shift key to select a
large continuous section of points, or by using the Ctrl key to select multiple individual
points, and clicking Modify.
Note
Press Ctrl+F to access the Find dialog box. The dialog box enables you to enter a search
string. For example, you might use the Find dialog box to search points in a point list
that share a common naming convention.
112 OPH070
To configure historian points
8. You can use the Point List tab interface to organize your data as per your preferences.
The interface enables you to order [77], filter [79], and group [80] your data by various
criteria.
The following table describes the columns in the point data displayed in the Point List
tab.
Table 19. Columns in the point data displayed in the Point List tab
If you are working with analog points, the deadband values that you can select are
described in the following table.
Deadband Meaning
Standard Compares the previously collected values with the currently scanned value for
changes beyond your specified deadband value.
Percent range Compares the previously collected value with the percentage of the current
range of the top and bottom of range values of the point.
Flow Compares the current collection deadband and the results of the current and
previously stored process values raised to the power specified by 1/0.5.
OPH070 113
To configure historian points
Deadband Meaning
The collection deadband is calculated as follows:
Note
N Component is fixed at 0.5.
Power Compares the current collection deadband and the results of the current and
previously stored process values raised to the power specified by 1/
NComponent.
Note
N Component is fixed at 10.0.
Note
In cases where K component is applicable, you can configure its value.
9. Click Apply in the Home ribbon bar [65] to save your changes.
114 OPH070
Configuring your Ovation system to enable the collection of historical messages or events
10. Click Validate in the Home ribbon bar [65] or Quick Access Toolbar [62] to ensure that
your changes are consistent with the historian requirements. The following message
appears:
Note
For complete user interface definitions and further information on these tasks, refer to
the Ovation Developer Studio User Guide.
1. Access the Ovation Developer Studio. Refer to the Ovation Developer Studio User Guide
for more information.
2. Use the system tree to navigate to the Alarm folder as follows:
Systems -> Configuration -> Alarm
If you do not see an Alarm folder in your system tree, right-click and select Insert New
to create one.
3. Right-click on the Alarm folder and click Open. The Alarm window appears.
OPH070 115
Configuring your Ovation system to enable the collection of historical messages or events
4. Scroll to select the Normal Mode Filtering, Priority Mode Filtering, or Unit Filtering tabs
by using the horizontal scroll bar. Specify your filtering options. Your specifications
indicate which alarms are sent to the historian for storage.
5. Scroll to select the Alarm Historical Storage tab.
116 OPH070
Configuring your Ovation system to enable the collection of historical messages or events
7. You can save configuration changes after each tab is configured, or you can save all
changes after all the required tabs in the window have been configured. Click Apply to
save the changes and leave the window open. Alternatively, click Ok to save the
changes and close the window.
8. The configuration changes you made will not take effect until they are downloaded to
the Ovation workstation and the Ovation workstation is restarted.
For more information about Ovation alarm event configuration, refer to Configuring Your
Ovation Operator Station.
Use the following steps to check for alarm configurations by using the Search function of
the Ovation Developer Studio:
1. Access the Ovation Developer Studio. Refer to the Ovation Developer Studio User Guide
for more information.
2. Right-click at the System level of the navigation tree, and click Search. The Search
Options Wizard appears.
3. Select Object: Alarms in the wizard, and click Next.
4. Select whether you want to search for all items of this type or narrow your search with
clauses. In this case, select the Find all items option, and click Finish.
5. The search results are displayed in the Search: Object: Alarms window, as shown in the
following figure. You can use these results to ensure that each alarm configuration in
your system is set appropriately.
OPH070 117
Configuring your Ovation system to enable the collection of historical messages or events
1. Access the Ovation Developer Studio. Refer to the Ovation Developer Studio User Guide
for more information.
2. Use the system tree to navigate to a network folder as follows:
Systems -> Networks (open a network)
3. Right-click the network folder and click Open. The Config tab appears:
118 OPH070
Configuring your Ovation system to enable the collection of historical messages or events
1. Access the Ovation Developer Studio. Refer to the Ovation Developer Studio User Guide
for more information.
2. Use the system tree to navigate to the Controller folder as follows:
Drop Folder (select a Controller drop) -> Configuration -> Controller
3. Right-click the Controller folder and click Open. The Controller Parameters tab appears:
OPH070 119
Configuring your Ovation system to enable the collection of historical messages or events
4. In the SOE Logger fields, from the drop-down list, select the workstations that you
want the Controller to send the SOE messages to.
Field Description
SOE Selects the first Scanner Workstation drop where SOE messages are sent. (Refer to
Logger 1 the applicable Ovation Process Historian User Guide.) This field is not applicable if
the system does not include a Sequence of Events I/O module.
Default = None
SOE Selects the second Scanner Workstation drop where SOE messages are sent.
Logger 2 (Refer to the applicable Ovation Process Historian User Guide.) This field is not
applicable if the system does not include a Sequence of Events I/O module.
Default = None
SOE Selects the third Scanner Workstation drop where SOE messages are sent. (Refer
Logger 3 to the applicable Ovation Process Historian User Guide.) This field is not applicable
if the system does not include a Sequence of Events I/O module.
Default = None
SOE Selects the Ovation OPC Alarm and Event Server (workstation drop) where SOE
Logger 4 messages are sent. (Refer to the applicable Ovation Process Historian User
Guide.) This field is not applicable if the system does not include a Sequence of
Events I/O module.
Note
The same workstation cannot be used as both the OPC Alarm and Event Server
(AED) and the OPH SOE scanner for SOE configuration. For more information on
OPC AES, refer to the OPC Tools User Guide.
5. Select the workstations where your Historian scanners reside. To allow for redundant
scanners, add both scanners.
6. Click Apply or Ok to accept changes.
Note
The configuration changes you made will not take effect until they are downloaded to
the Controller and the Controller is restarted.
1. Access the Ovation Developer Studio. Refer to the Ovation Developer Studio User Guide
for more information.
2. Use the system tree to navigate to the Digital Points folder as follows:
Systems -> Networks -> Network -> Units -> Unit -> Drops -> Drop -> Points -> Digital
Points
120 OPH070
Configuring your Ovation system to enable the collection of historical messages or events
3. Double-click the point that you want to open. The Point tab appears. Scroll to the
Hardware tab.
4. Select the Soe point check box. This step identifies the point as an SOE point to the
Controller.
5. Specify your I/O settings as described in the following table.
Attribute Value
IO type • Q-Line
• Ovation
• Third Party
IO module Options in this field correspond to the value in the IO Type field. Select the
appropriate SOE module.
IO channel 1 - 16
IO task Index 1 - 5
OPH070 121
Configuring your Ovation system to enable the collection of historical messages or events
9. Select Event Tagging Enable for the channels that the SOE will be reporting on, by
selecting the appropriate check box. For example, you might select all sixteen
channels. If a correct channel is not selected, SOE reporting is not performed for a point
configured on that channel.
10. Select Apply or Ok to accept the changes.
11. The configuration changes you made will not take effect until you load them to the
workstation.
Refer to the Ovation Developer Studio User Guide for an explanation of all of the tabs
available in the Ovation Module folder and a detailed procedure on configuring points and
configuring I/O.
122 OPH070
Configuring your Ovation system to enable the collection of historical messages or events
1. Access the Ovation Developer Studio. Refer to the Ovation Developer Studio User Guide
for more information.
2. Use the system tree to navigate to the Controller folder as follows:
Drop Folder (select a Controller drop) -> Configuration -> Controller
3. Right-click the Controller folder and click Open. The Controller Parameters tab appears:
OPH070 123
Configuring your Ovation system to enable the collection of historical messages or events
4. In one of the Triggered Event Logger fields, select the workstation from the drop-down
list that is to receive the triggered event:
Field Description
Triggered Event Selects the first scanner workstation drop where Triggered Events are
Logger 1 sent. This is applicable to OCR 1100 Controllers only. Default = None
Triggered Event Selects the second scanner workstation drop where Triggered Events are
Logger 2 sent. This is applicable to OCR 1100 Controllers only. Keep the default
value of none for Ovation Compact Controllers. Default = None
5. Select the workstations where your Historian scanners reside. To allow for redundant
scanners, add both scanners.
6. Click Apply or Ok to accept changes.
Note
Triggered Event Logger 1 and Triggered Event Logger 2 cannot have the same value,
that is, they must be different drops or Event Trend will fail to display the data.
Note
The configuration changes you made will not take effect until they are downloaded to
the Controller and the Controller is restarted.
124 OPH070
To load your configuration to the historian on a Windows-based system
Note
The Event scanner can also receive COMTRADE file sets from the SCADA server. When the
COMTRADE file set is received, an event is created. See Using the IEC 61850 MMS Client
Protocol with Ovation for details.
Note
Any configuration changes made through the Historian Configuration Tool (HCT) window
must be saved and loaded to the OPH.
Use the following steps to load your configuration to the historian on a Windows-based
system:
1. Access the Ovation Developer Studio. Refer to the Ovation Developer Studio User Guide
for more information.
2. Use the system tree to navigate to the historian object that represents your historian
workstation:
System -> Configuration -> Historians -> Ovation Process Historian Servers
3. Right-click the historian and click Load. The load procedure validates your settings and
sends them to your historian server. As the server only checks for changes every 30
seconds, it could take up to 30 seconds before your settings take effect.
OPH070 125
Licensing overview
• Point count: The historian is licensed on the basis of how many points you want to
collect the historical data for. The maximum number of points that one historian can
collect is 400,000. You can license points in 1,000-point increments between 5,000
and 400,000 points.
• Non-Ovation client: Though Ovation clients do not need to be licensed, applications
that are not Ovation-dependent must be licensed. You can only have a pre-determined
number of non-Ovation client applications running concurrently. Each time that one of
your non-Ovation applications attempts to connect to the historian, the historian
checks that you have not exceeded your maximum number of allowed applications.
Simultaneous applications on the same machine consume only one license.
• Historian subsystem: During startup, the historian checks that the correct subsystems
(point data, alarm, sequence of events and operator events collection and storage) are
licensed.
• Desktop Tools: This license is required for the non-Ovation client.
You are allowed a 10-day trial license to use the historian. After 10 days have expired, you
must fully license the historian to continue using it.
Note
During the trial license period, you may receive the drop fault (Operator Attention)
message. If this happens, obtain the full license immediately.
OPH070 127
To obtain your locking code
In addition to obtaining the locking code and license keys, note the following points:
• You must reboot the system or restart the OPH service when you update a license.
• If there is a mismatch between the historian configuration and license settings, no
historian processes will start. For example, if a SCADA scanner is enabled in
configuration and you do not have a SCADA scanner licensed, no historian processes
will start. The following configuration or licensed items are checked:
◦ Scanner type (Point data, Alarms, SOEs, Operator Events, and SCADA).
◦ Historian point count.
• If you are using redundant servers, you must obtain a separate license for both the
primary and partner servers. Emerson recommends that redundant server pairs have
the same features licensed on each server.
Note
The directory that stores the [Link] file is normally D:\OVHist\bin or E:\OVHist
\bin. The OVH_HOME environment variable is set up during the installation of the
historian software. You can determine its value by opening the System icon on the
Control Panel and finding the OVH_HOME setting in the Environment tab.
128 OPH070
To obtain your locking code
2. The Historian License Manager window appears. Note the Locking Code displayed on
this window.
You can also obtain the locking code by selecting Add License from the menu bar. The
Add License window appears. Note the Locking Code displayed on this window.
3. Give the locking code to your Emerson representative when you apply for your license
key.
OPH070 129
To obtain your license key
Note
The directory that stores the [Link] file is normally D:\OVHist\bin or E:\OVHist
\bin. The OVH_HOME environment variable is set up during the installation of the
historian software. You can determine its value by opening the System icon on the
Control Panel and finding the OVH_HOME setting in the Environment tab.
130 OPH070
To enable your license
3. The Add License window appears. You can add license keys in two ways:
• Enter License Code (see Step 4)
• Extract License(s) From File (see Step 5)
OPH070 131
To enable your license
5. If the license key(s) [130] are provided in a file, you can use the Extract License(s) From
File option. To use this option:
a. Click Browse.
b. Navigate to the file containing the license key(s).
c. The path of the text file appears in the field adjacent to the Browse button.
d. Click Extract License(s).
Figure 84. Add License window -- Extract License(s) From File option
e. The Add License(s) window displays the licenses available from the text file.
f. Select the check box(es) for the license key(s) that you want to extract.
g. Click Extract.
132 OPH070
To verify your installed licenses
6. The KeyDetails window appears. Verify the license details and click Add to install the
license.
Note
The directory that stores the [Link] file is normally D:\OVHist\bin or E:\OVHist
\bin. The OVH_HOME environment variable is set up during the installation of the
historian software. You can determine its value by opening the System icon on the
Control Panel and finding the OVH_HOME setting in the Environment tab.
OPH070 133
To verify your installed licenses
2. The Historian License Manager window appears. In the left pane, select the license
feature. The right pane displays the license details.
Note
If the license is not present, is expired, or the number of points configured in your
historian exceeds the number allowed in the license, the historian collection process
does not start. A license error message is logged in the historian error log
(%OVH_HOME%\bin\Ovh_Log_File.0).
134 OPH070
OPH Server storage failure and recovery overview
Note
Recovery of historical data in the event of catastrophic failures depends on configuring and
maintaining at least one of two optional OPH capabilities -- data archiving and/or OPH
Server redundancy.
Figure 88. OPH runtime environment and historical data of an OPH Server
OPH070 135
OPH Server storage failure and recovery overview
• Re-installation of the Windows operating system and OPH software from installation
media [139].
• Recovery from a backup image using Emerson’s optional System Backup & Recovery
2.0 (or newer) product (SBR) [141].
Note
Refer to the appropriate System Backup and Recovery User Guide for SBR backup and
recovery procedures.
These native features provide enhanced protection against historical data loss over the SBR
tool.
Note
Emerson requires the use of OPH native features, rather than SBR capabilities, to restore any
OPH historical data storage.
The following table summarizes the historical data protection provided by the available
OPH Server deployment configurations.
136 OPH070
Possible OPH Server failure scenarios
Another storage system that can be affected by failure is an OPH fixed archive. While SBR is
not supported for this device, the OPH can be used to re-archive its current main storage
content. Alternatively, replication or backup capabilities supported by the storage device
manufacturer can be used. However, the Ovation network should not be used as the data
transport mechanism.
The internal RAID disk storage (depicted as drives C: and D: in the figure) contains the
Microsoft Windows operating system, OPH applications, configuration, and main storage
historical data. Main storage is often extended by one or more external RAID disk storage
units (depicted as the K: drive in the figure). In addition, an archive storage, such as an NAS,
may be included.
The following table describes software and data loss expectations along with recovery
options for various OPH Server failure scenarios.
OPH070 137
Recovering the OPH Server runtime environment
138 OPH070
Recovering the OPH Server runtime environment
Restore the OPH runtime environment by using the following general sequence:
1. When a storage device fails, replace the hardware and restart the OPH Server.
2. Restore the operating system, Ovation (optional), and OPH software.
3. Restart the OPH Server.
4. From all connected Ovation systems, reload the OPH Server configuration by using the
Ovation Developer Studio (see Post runtime software restore steps [141]).
5. If an archive exists, reestablish the volume database (see Post runtime software restore
steps [141]).
6. Data collection, storage, and retrieval should begin to operate.
7. You can proceed with the historical data recovery (see Recovering the main storage
historical data [146]).
You can restore the failed OPH runtime environment by using the following two methods:
Use the following steps to restore the failed OPH operating environment by reinstalling
from the installation media (Windows OS and OPH/Ovation software):
OPH070 139
Recovering the OPH Server runtime environment
Note
You must select the Recovery installation to ensure that the runtime configuration
reestablishment sequence is properly initiated.
Note
See What are different OPH installation scenarios? [53] for a description of other
installation options.
140 OPH070
Recovering the OPH Server runtime environment
After the restored OPH drop is restarted, proceed to restore the OPH Server configuration
and reestablish the internal archive records to complete the restoration of the runtime
environment (see Post runtime software restore steps [141] ).
OPH070 141
Recovering the OPH Server runtime environment
1. After the machine restarts, open the Historian Diagnostics tool [510]. The tool may
display a status of Waiting for new configuration or Waiting for configuration.
2. When the Historian Diagnostics tool indicates it is waiting for configuration, load the
OPH configuration from the Ovation Developer Studio for each Ovation system
serviced by this OPH Server.
142 OPH070
Recovering the OPH Server runtime environment
3. Return to the Historian Diagnostics tool. If an archive exists, the tool displays a status of
Waiting for VOLDB restore. If no archive exists, skip to Step 5.
OPH070 143
Recovering the OPH Server runtime environment
4. Restore the Archive management records manually from the most recently archived
volume by using the OPH utility, OvhRecoUtilities.
Note
You must perform these steps using the OvhRecoUtilities program. Otherwise,
necessary archive management information will be missing.
a. From the Windows Start button, open ovhrecoutilities and click OK.
144 OPH070
Recovering the OPH Server runtime environment
Note
After the volume management records have been restored, the OPH Server
updates the storage log file to reflect the current storage pool content of the main
storage.
5. Return to the Historian Diagnostics tool. The tool now displays that the OPH Supervisor
and other processes status are Running.
OPH070 145
Recovering the main storage historical data
6. The OPH Server is now operational and will begin to collect and store new process data.
Archiving (if configured) will be functional.
7. The OPH Server is now ready for historical data recovery (see Recovering the main
storage historical data [146]).
Note
You need to download the remote scanner configuration from a remote network after
recovery of a standalone OPH Server from the loss of the OPH operating environment.
Note
Emerson does not support the use of SBR and other data backup technologies to
recover main storage historical data.
Note
If the failed or replaced storage device also caused the loss of the operating system
and/or OPH software (for example, internal RAID), the OPH runtime environment must
be restored before historical data can be recovered. See Recovering the OPH Server
runtime environment [138] for more information.
The progress of the historical data recovery operation can be monitored through the
Historian Diagnostics window.
146 OPH070
Recovering the main storage historical data
During the historical data synchronization operation, the pair of OPH partners are able to
service data retrieval requests.
Note
A redundant OPH drop with an archive skips re-archival of recovered files for time ranges
that exist in the archive. This means that archiving of recovered files will occur only for those
files with an end time greater than the end time of the last archived file.
OPH070 147
Recovering the main storage historical data
During the reload from the archive, the OPH Server will handle requests for historical data
retrieval.
Note
If an archive exists, the archive volume database must be reestablished before historical
data can be recovered. See Post runtime software restore steps [141] for more information.
Use the following steps to recover an OPH Server (standalone) with an external RAID failure:
148 OPH070
Recovering the fixed archive storage
2. When an external RAID fails, the OPH storage process reports a drop fault. The
Historian Diagnostics tool indicates the storage unit failure.
3. After you repair or replace the storage unit, reboot the machine. The OPH Server
returns to service.
4. Depending on OPH Server configuration, restore your historical data.
• See To recover the main storage in case of redundant OPH Server [146] for
redundant OPH Servers.
• See To recover the main storage in case of a standalone OPH Server [148] for
standalone OPH Servers with an archive.
OPH070 149
Recovering the fixed archive storage
To protect historical data in a removable archive, you can replicate the DVD-RAM volumes
by using Windows Explorer. Each copy can be used interchangeably, and therefore, can be
considered a backup of the original. However, since a fixed archive is itself a storage device
that can fail, re-archival of existing historical data from the main storage can be used to
manage its data restoration (see To re-archive historical data from main storage [150]).
Note
You can protect and recover the fixed archive data by using features supported by the
storage device manufacturer. In this case, do not use the Ovation network as the backup
and restore data transport mechanism. When a fixed archive is restored in this manner, you
must reestablish the archive management records by using the OvhRecoUtilities option 1
(see Post runtime software restore steps [141]).
Use the following steps to recover a fixed archive storage by re-archival of main storage:
150 OPH070
Recovering the fixed archive storage
2. Remove or reset the archive volume database by using the OPH utility,
OvhRecoUtilities.
a. From the Windows Start button, open ovhrecoutilities and click OK.
3. To start re-archival:
a. Open the History Manager window [265].
b. Run the Archive command.
OPH070 151
Using the Network Attached Storage (NAS) unit
If you have a NAS device that is dedicated to the OPH application, you must perform the
following tasks for proper operation:
1. Configure the NAS as per the manufacturer instructions. The NAS should be
reconfigured with an IP address and TCP/IP settings consistent with the configuration
of the Ovation network. This is typically accomplished by using a PC temporarily
configured with network settings to match the NAS’ default TCP/IP settings to
establish initial connectivity. Then, use a web browser to connect to the NAS’ default IP
address to configure the desired settings. These settings may vary slightly from model
to model but can typically include hostname, network settings (including TCP/IP
settings and NIC speed/duplex), NTP server address, access credentials, and share
configuration.
2. For configuring the NAS, see Configuring the OPH NAS [153].
1. Install hard drives [154]. If the hard drives have already been installed, skip this step.
2. Configure a PC and connect it to the NAS. [155].
3. Perform an initial OS load [161].
4. Log on for the first time and to set the IP address of the OPH NAS [169].
5. Access the OPH NAS main window [175].
6. Apply the applicable DSM Build [177].
7. Verify or determine Synology NAS model and version [181].
8. Create an OPH share [183].
9. Enable a guest account [186].
OPH070 153
Configuring the OPH NAS
Note
You may skip the procedure if the hard drives are already installed.
1. The NAS has four hard drives. The drive bays are numbered as follows, looking at the
front of the NAS. Start at bay 1.
1 2 3 4
5 6 7 8
9 10 11 12
2. Pull the handle on the hard drive in the direction as indicated below to remove the hard
drive tray.
3. Place the hard disk in the hard drive tray. Turn the tray upside down, and then tighten
the screws to secure the hard disk.
154 OPH070
Configuring the OPH NAS
Figure 105. Loading the hard disk in the hard drive tray
1. Insert the loaded hard drive tray into the empty hard drive bay.
2. Push the hard drive tray handle to secure the hard drive tray.
3. Repeat these steps to assemble all hard disks you have prepared.
OPH070 155
Configuring the OPH NAS
3. The Control Panel window appears. Click Network and Sharing Center.
[empty]
4. The Network and Sharing Center window appears. Click Change adapter settings.
156 OPH070
Configuring the OPH NAS
5. The Network Connections window appears. Right-click the network adapter and click
Properties.
OPH070 157
Configuring the OPH NAS
7. The Internet Protocol Version 4 (TCP/IPv4) Properties dialog box appears. Note the
current settings.
8. Select the Obtain an IP address automatically and Obtain DNS server address
automatically options.
158 OPH070
Configuring the OPH NAS
9. Click OK.
OPH070 159
Configuring the OPH NAS
10. Return to the Local Area Connection Properties dialog box. Click Close to save the
settings.
11. Connect the PC to the NAS. Plug it into LAN 1 on the NAS. LAN 1 is the leftmost port of
item 13.
12. Connect power to the power ports (item 8).
13. Ensure that the NAS unit is powered on. If not, press the power button on the front of
the NAS.
160 OPH070
Configuring the OPH NAS
Note
The following procedures refers to the PC now connected to the NAS as the 'NAS PC.'
OPH070 161
Configuring the OPH NAS
4. The Synology Assistant window appears and scans for any NAS it can see. If you have
configured your NAS PC properly, the NAS appears in the list of Synology servers. If it
does not appear, ensure that you have configured your NAS PC to have an auto-
configured IP address (see To configure NAS PC and connect to OPH NAS [155]). In
addition, wait for five to 10 minutes for NAS to appear. Note the IP address.
5. Once you see a Rackstation in the list, right-click the Rackstation and click Install.
6. The Synology Assistant Setup wizard appears with the Welcome page. Click Browse.
7. Browse for the installation file. Use the following path: \NAS\Synology
\23824_2\synology_denverton_RS2418RP+.pat
162 OPH070
Configuring the OPH NAS
OPH070 163
Configuring the OPH NAS
9. The Enter server information page appears. Perform the following steps:
a. Enter a password for the administrator's account, for example, Security.4u.
b. Confirm the password.
c. Enter a server name, for example, OPH_NAS.
d. Ensure that the Create a Synology Hybrid RAID (SHR) volume after installation
check box is selected.
e. Click Next.
164 OPH070
Configuring the OPH NAS
Note
If an entry for the DNS Server is present, remove it.
c. Click Finish.
OPH070 165
Configuring the OPH NAS
12. The Installation Progress page appears, showing installation in progress. The page
applies a check mark to every step that installs properly. If you fail at step 1 of the
installation process (Applying network settings), you may need to reboot the NAS by
holding the power button on the front of the NAS and starting again. Otherwise, the
system will automatically proceed to step 4 (Installing DSM). Wait for 10 minutes for
the hardware to restart.
166 OPH070
Configuring the OPH NAS
OPH070 167
Configuring the OPH NAS
13. When the installation is complete, the following page appears. Click Close.
168 OPH070
Configuring the OPH NAS
8.2.4 To log on for the first time and to set the IP address of the
OPH NAS
Use the following steps to log on for the first time and to set the IP address of the OPH NAS:
OPH070 169
Configuring the OPH NAS
170 OPH070
Configuring the OPH NAS
5. For the first login instance, the OPH NAS main window appears with pop-up tips. Click
anywhere in the browser to see the main options on the window.
OPH070 171
Configuring the OPH NAS
8. Click the Control Panel option on the OPH NAS main window.
172 OPH070
Configuring the OPH NAS
10. The Control Panel window updates with the Network tab view.
a. Select the Network Interface tab.
b. Select LAN1.
c. Click Edit.
OPH070 173
Configuring the OPH NAS
174 OPH070
Configuring the OPH NAS
14. At this point, the IP address of the OPH NAS has changed. A failure to communicate
error appears.
1. Once the NAS PC and NAS have been properly placed and the NAS PC has the correct IP
settings [169], open a web browser.
2. In the address bar, enter:
<PROTOCOL>://<IP ADDRESS>:<PORT NUMBER>
Where:
<PROTOCOL> is either http or https, depending on the current system configuration.
<IP ADDRESS> is the IP address of the OPH NAS.
<PORT NUMBER> is the port number that the NAS is configured to use.
Examples:
[Link]
OR
[Link]
OPH070 175
Configuring the OPH NAS
3. If you use the https protocol, a certificate warning message appears. Click Continue to
this website.
4. The login window appears. Enter the login credentials and click Sign in.
176 OPH070
Configuring the OPH NAS
1. Ensure that the NAS PC and OPH NAS are properly configured [155].
2. Ensure that the NAS PC has the correct IP settings [169].
3. Log on to the OPH NAS by using the IP address that you configured (see To log on for
the first time and to set the IP address of the OPH NAS [169]) using only the http
protocol (https has not been turned on yet).
4. If you are logging on for the first time after changing the IP address, the Control Panel
window appears. Click the Home button to go to the main Control Panel window.
OPH070 177
Configuring the OPH NAS
5. If the Control Panel window is not visible, click the Control Panel link from the OPH NAS
main window [175].
Figure 144. Control Panel link on the OPH NAS main window
7. The Control Panel window updates with the Update & Restore tab view.
a. Select the DSM Update tab.
b. Click Manual DSM Update.
178 OPH070
Configuring the OPH NAS
9. A confirmation message appears. Click Yes to begin the transfer of the update file and
the update process.
OPH070 179
Configuring the OPH NAS
10. The update file is uploaded to the NAS. A progress indicator appears, showing the
update progress.
180 OPH070
Configuring the OPH NAS
11. A rebooting screen appears. It will count down until the GUI attempts to access the
NAS, giving it time to update. The NAS reboots.
Figure 151. Control Panel link on the OPH NAS main window
OPH070 181
Configuring the OPH NAS
4. The Control Panel window updates with the Info Center tab view.
a. Select the General tab.
b. Note the model name.
c. Note the DSM version for the software version.
182 OPH070
Configuring the OPH NAS
OPH070 183
Configuring the OPH NAS
4. The Control Panel window updates with the Shared Folder tab view. From the Create
drop-down list, click Create.
184 OPH070
Configuring the OPH NAS
5. The Create New Shared Folder window appears. Go to the General tab and perform the
following steps:
a. In the Name field, enter OPH.
b. In the Description field, enter a brief description, such as OPH archive.
c. Click OK.
6. The Edit Shared Folder OPH window appears. Go to the Permissions tab and perform
the following steps:
a. In the Read/ Write column, place a check mark for both admin and guest.
b. Click OK.
OPH070 185
Configuring the OPH NAS
7. The OPH share appears on the Control Panel window (Shared Folder tab view).
Figure 159. Control Panel window (Shared Folder tab view) -- OPH share
186 OPH070
Configuring the OPH NAS
4. The Control Panel window updates with the User tab view.
a. Select guest.
b. Click Edit.
OPH070 187
Configuring the OPH NAS
5. The guest window appears. Go to the Info tab and perform the following steps:
a. Clear the Disable this account check box.
b. Click OK.
6. Return to the Control Panel window with the User tab view. The guest status now
appears as Normal.
188 OPH070
Configuring the OPH NAS
OPH070 189
Configuring the OPH NAS
4. The Control Panel window updates with the File Services tab view. Go to the
SMB/AFP/NFS tab and perform the following steps:
• In the SMB group of the window, ensure that the following options are selected::
• Enable SMB service
• Enable Transfer Log
5. In the AFP group, ensure that the Enable AFP service check box is clear (not checked).
6. In the NFS Service group, ensure that the Enable NFS option is selected.
190 OPH070
Configuring the OPH NAS
OPH070 191
Configuring the OPH NAS
4. The Control Panel window updates with the Network tab view. Go to the DSM Settings
tab.
a. Select the Automatically redirect HTTP connections to HTTPS, Enable HTTP/2, and
Enable HSTS check boxes.
b. Click Apply to save.
5. You will be redirected to the HTTPS page. Click Continue to this website (not
recommended).
192 OPH070
Configuring the OPH NAS
OPH070 193
Configuring the OPH NAS
4. The Control Panel window updates with the Advanced mode view. Click Regional
Options.
194 OPH070
Configuring the OPH NAS
OPH070 195
Configuring the OPH NAS
196 OPH070
Configuring the OPH NAS
4. The Control Panel displays the Login Style and Theme tabs. Perform the following
steps:s:
a. Enter a message, for example, OPH NAS, in the Login page title field.
b. Add a title appropriate for your company in the Welcome title field.
c. Add a message appropriate for your company in the Welcome message field.
d. Pick a style in the Template field. (For example purposes in this procedure, the
second one was chosen. See the following figure.)
e. Click Remove in the Background section. This step enables the color entry field.
Enter the Emerson color (#0F205F).
f. Click the + symbol in the Logo section.
The Select image window appears. Click the Upload link.
g. Browse for the Ovation logo, which can be found on the NAS disc at the following
path: \NAS\Synology\Ovation_Logo.png
h. Click Upload and return to the Control Panel window Login Style tab.
OPH070 197
Configuring the OPH NAS
5. Click the Theme tab to select the theme, Light or Dark. Click Apply.
6. Click OK and close the Control Panel window. The OPH NAS main window appears.
198 OPH070
Configuring the OPH NAS
7. Click the human icon at the upper-right corner of the window, and then click Personal.
8. The Personal window appears. Go to the Desktop tab and perform the following steps:
a. Ensure that the Customize color check box is selected.
b. Enter the following colors:
• Text color: #FFFFFF
• Background color: #0F205F
c. Ensure that the Customize wallpaper check box is clear.
d. Click OK.
OPH070 199
Report Manager overview
You can use the Report Manager to perform the following tasks:
In addition, you can track changes made to the OPH Report Manager configuration and
OPH report definitions.
OPH070 201
Report Manager overview
You can direct your report output to a system printer, an e-mail address, a file, or a Web
server.
Historian reports are built and executed using the Business Objects Crystal Reports
product. Refer to the Crystal Reports User Manual for complete information about Crystal
Reports. See Crystal Reports tasks [491] for a brief summary of the most frequently used
Crystal Reports functions.
A complete library of fully functional report layout files (.rpt) is provided with the Report
Manager for your convenience (see Sample Reports [599]). If you require a report layout
that is not included in the library, you can use one of the existing files as a template, and add
your own modifications.
The following table describes two different methods that you can use to run reports.
Method Details
Direct Use this method to access data directly from the historian database in its original
Reports [599] storage form with no pre-processing. You must perform any modifications that you
need in the report layout file using formulas, functions, and report design
techniques. The standard report library contains (point data and message text)
reports that you can use as templates for new or modified reports. Report designs
using this method can take longer to complete and can be more complex.
The Report Manager includes a selection of standard direct reports layout files that
are designed to address most of your reporting needs.
ExpressCalc This method uses a report pre-processor to collect and process data from the
Reports [622] historian database based upon configurations that you define in the Report
Manager. The pre-processor output is stored in the report results database, which is
available to any report designer. This method minimizes the need for any data
processing inside the report layout file. Reports can be designed and completed
quickly by using drag and drop. The standard report library contains templates that
you can use to generate reports quickly and easily.
Unless otherwise specified, all information provided in the following sections applies to
both reporting methods.
202 OPH070
Report Manager overview
Note
Report Definitions [221], Timed Events [238], and Trigger Events [244] created by any user
are available to all other users that have an access to a particular Report Manager
installation. In other words, although multiple users can configure and initiate reports,
there is no concept of separate reports and configuration per user. The administrator must
assign administrative rights to such users by using the Manage Admin Users option of the
Report Manager. For more information about setting the administrative rights, see To set
administrative rights in the Report Manager [253].
• Import data.
• Backup data.
• Manage admin users.
• Configure the Report Manager, except the following parameter in the Advanced tab of
the Configuration dialog box [206]:
◦ Set TIME input mode to Standard Time (Default is Local Time)
• View report storage and historian configuration.
• Create, modify, or delete events, report definitions, and report formats.
• Export the entire database via the Export icon in the toolbar.
• View the Report Manager configuration. Modify the following parameter in the
Advanced tab of the Configuration dialog box [206]:
◦ Set TIME input mode to Standard Time (Default is Local Time).
• View the shift time intervals.
• Save the contents of the main pane to a file.
• View report definitions and formats.
• View event definitions.
• Generate reports.
OPH070 203
To access the Report Manager
Start -> Programs -> Ovation Process Historian -> Report Manager
The main display of the Report Manager is the Report Generation Queue display.
The Report Generation Queue is a table in the Report Manager configuration database. The
queue is updated constantly. Records are deleted from the queue after one week.
Each event in the Report Generation Queue is represented with an icon that displays the
event's status.
Canceled
Complete
204 OPH070
To access the Report Manager
Pending
Triggered
The Report Generation queue columns display the following information for each report:
• Event name.
• Report name.
• Execution status.
• Execution date.
• Report output destination.
• Destination information.
• Report file name.
• Report file path.
• Creation date.
• Start date.
• End date.
• Historian server.
The icons in the Report Manager toolbar enable you to perform the following actions.
Icon Description
Shows or hides the left menu bar.
OPH070 205
To configure the Report Manager
Icon Description
Configures the Report Manager.
Finds a string.
Exports data.
Imports data.
206 OPH070
To configure the Report Manager
2. Choose File -> Configure Report Manager. The Configuration dialog box appears. This
dialog box contains five tabs:
• General
• SOE
• Triggers
• Advanced
• SMTP
OPH070 207
To configure the Report Manager
208 OPH070
To configure the Report Manager
OPH070 209
To configure the Report Manager
3. Make your changes in each tab and click OK to accept the changes.
Table 30. Options available in the tabs of the Configuration dialog box
Note
The default selection automatically selects the historian that
has the best available data (for ExpressCalc).
210 OPH070
To configure the Report Manager
OPH070 211
To configure the Report Manager
212 OPH070
To configure the Report Manager
Note
Set the Message Type parameter as RPTAUDIT in the Report
Properties window to report changes. See Message-based
reports [227] for more information.
Note
Using this option, you cannot track changes to Report
Template files created by using the SAP Crystal Reports
Report Designer application.
SMTP tab
Server Indicates the SMTP e-mail server address. Text box
Port Indicates the required port number of the e-mail server. Text box
OPH070 213
To configure printers that your Report Manager can use
%OVH_HOME%\bin\[Link]
The program, by default, takes no arguments but must be run by the administrator that has
initially added the printer(s). If additional printers are added in the future, the program
must be run again by the administrator that has added the printer(s) before they can be
used by the Report Manager service [202]. This program configures both local and network
printers.
Use the following steps to configure historians that your Report Manager can use:
214 OPH070
To configure historians that your Report Manager can use
2. Select File -> Configure Historians. The Configure Historians window appears:
3. Enter the IP addresses and host names for each of the historians that you want the
Report Manager to use.
4. Click Edit if you want to change the IP address, host name, partner host name, or
partner IP address. The Host Name and IP Address window appears:
OPH070 215
To configure work shifts in the Report Manager
Use the following steps to configure work shifts in the Report Manager:
3. All fields are configurable. You can add, delete, or modify the shift properties. The
following table describes the setting options available in the Shift Configuration Dialog
window.
Item Description
RefShiftID ID number that refers to the shift.
ShiftName Name of the shift.
ShiftEnd Time that the shift ends.
* You can add a new shift in this field.
216 OPH070
To configure reports storage
2. Select File -> Configure Reports Storage. The Reports Storage Management window
appears:
This window enables you to generate multiple, individually named report output files.
In addition, the window manages the disk space consumed by those report output
files. You can use this window to perform the following tasks:
• Select a file location.
• Choose to uniquely name report output files with the date and time or by a
sequence number.
• Select space management settings.
• Limit the number of files you want to add to a directory.
If you execute a report whose output will be stored to a file in this directory, or any of
its child directories, it uses the settings that you choose in this window.
3. Select OK to save your changes.
OPH070 217
To use report formatting
3. Use the plus sign icon in the Report Manager toolbar [205] to add a report format. To
remove an existing report format, right-click the format and click Delete.
Note
Emerson-supplied report format templates are examples of report format usage. These
templates may be modified in a future release. If you want to avoid future changes,
create a copy of the sample templates and use them later as your own version.
218 OPH070
Report format templates supplied with OPH installation package
OPH070 219
Report format templates supplied with OPH installation package
Note
The Reference ID field, which appears on the supplied Report Audit template,
can be used to visually group report audit entries together for entries related
to changes to report definitions, report formats, timed events, triggered
events, and demand events. When one of these entities is created, a non-zero
Reference ID is assigned and associated with the create audit message.
Subsequent updates to that same item result in audit messages containing
the same Reference ID. The Reference ID is not unique and represents the
internal Report Manager ID for the entity. This ID is reused if an entity is
deleted and is not unique across entity types.
Operator Event This format displays information from operator event messages, including
Messages- timestamp, message types and subtypes, and operator event-specific fields
[Link] message, point_name, description, new value, and previous value.
Note
This format is intended to display operator events only, so the report
definition using this format should define the Message Type as OPEVENT in
the Additional Msg Filters panel.
220 OPH070
To use report definitions
ExpressCalc CT 80
[Link]
ExpressCalc CT Multi-Point This cross-tab report supports more than 80 points and whose values
As [Link] are formatted as numbers.
ExpressCalc CT Multi-Point This cross-tab report supports more than 80 points and whose values
As [Link] are formatted as text fields.
ExpressCalc Sub Report This report format is an example of a report that contains sub-reports.
[Link] Sub-reports must be used when the number of points exceeds 80. Each
sub-report can contain up to and including 80 points.
OPH070 221
To use report definitions
222 OPH070
To use report definitions
3. If you want to add a new report definition, access the Add Report Definition shortcut
icon on the Report Manager toolbar [205]. Choose Point-ExpressCalc, Point-Direct,
Alarm, SOE, or Text from the Filter Criteria section.
If you want to edit an existing report definition, double-click on a report definition. The
Report Properties window appears (the fields in this window vary depending on the
type of report that you have selected).
4. Specify the properties for your report definition. You can rename and modify most of
the properties.
5. Enter a unique name for your report in the Report Name field.
6. Choose one of the report format types from the Report Format drop-down menu.
OPH070 223
To use report definitions
7. Use the Report Destination drop-down list to select where you want the report to go.
The list contains the following report destination options:
• Window: The generated report displays in a window on your screen.
Note
The Window option is only valid for manually requested (demand) reports. The
option is not supported for event-driven reports, which include timed, periodic,
and auto-SOE reports. Execution of event-driven report definitions that are
configured with this option results in an error listed in the Report Generation Log
of the Report Manager.
• Printer: The generated report is sent to the printer that you specify by using the
adjacent Select Printer button.
• File: If you select File, click the adjacent Select File button to choose an output file
name and type. The available file types are as follows:
◦ Text file (.txt)
◦ Microsoft Word files (.doc)
◦ HTML files (.htm or .html)
◦ CSV files (.csv)
◦ Excel files (.xls or .xlsx)
◦ RTF files (.rtf)
◦ PDF files (.pdf)
• Email: The generated report is sent through an e-mail to the address that you
specify by using the adjacent Select Mail button.
• File at Historian: The generated report is saved and archived with the rest of your
historical data.
8. The Destination Info field is populated with your choice.
9. You can enter information in the Header 1 area of your report (for example, a report
title) and Header 2 area of your report (for example, a subtitle or other information).
The WhereClause field is automatically generated with the properties that you have
selected. You can edit this clause, but it is not recommended.
10. An Include Initial Value on Report check box is shown on the Report Properties window
for a Raw Value report. Checking this box guarantees a value at the start time of
interval.
11. Enter the format that you want to use for the report's time period in the Time Format
field (Hour:Min:Sec, Day, Month, or Shift).
12. Enter the time period for your report in the Time Period field.
224 OPH070
To use report definitions
13. Set the points that you want to use to generate your report.
• You can specify up to 80 points to use in your report in the Point List field.
• The Seq field displays the position of each point within your report.
• Rearrange the point names in the point list by clicking the Up or Down buttons.
You might want to arrange your point names in a specific order for some reports.
• Use the Add button to add a single point. If you want to add multiple points, use
the Browse Points button.
• Use the Modify button to modify point names.
• Use the > button to remove a highlighted point name from your list.
• Use the >> button to remove multiple point names from your list.
14. Select OK, Delete, or Cancel to finish defining your report definition properties.
OPH070 225
To use report definitions
15. If you want to define additional report properties, use the Advanced button. The
Advanced Report Properties window appears:
start of month
start of week
start of day
start of shift
start of hour
Additional Offset Enables you to add or subtract from the offset. Months, Days, Hours,
Minutes, Seconds
Do not allow the Enables you to set limits on report generation. Years, Months, Days,
report Hours, Minutes,
generation to Seconds
exceed following
time period.
Text Lines/Page Enables you to specify the number of lines per page Numeral values
in the generated text file output.
226 OPH070
To use report definitions
Note
If a report definition contains process values that are larger than the space configured
for that field in the generated report, it will not display the complete value (that is, the
report displays the values as truncated or merged with other fields). In cases where a
field is not large enough to output desired values, it is recommended that you adjust
the field width by using the SAP Crystal Reports Report Designer application.
Depending on the type of report format that you selected, you might need to specify
further properties. The format types that require you to make additional specifications are
message-based reports [227] and ExpressCalc reports [231].
OPH070 227
To use report definitions
1. If you selected a message-based report format, such as Alarm, SOE, or Text, from the
Report Formats [218] window for your report definition, the Report Properties window
appears:
2. If you do not know the scanner number you want to enter for the Message Source field,
you can click the arrow button to browse. The Scanner browsing window appears:
228 OPH070
To use report definitions
The other options on the Report Properties window are same as the previous Report
Properties window, except for the Additional Message Filters options and the Primary Text
field Search String.
Note
to report changes made to the OPH Report
Manager configuration and OPH report
[Link] the Message Type
parameter to
There are also some additional filters for alarm messages if you select an alarm-based
report.
6 - Spurious Alarm
7 - Suppressed Alarm
8 - Acknowledged Alarm
9 - Released Alarm
SOE Not applicable Not applicable Scanner ID Unit # Drop #
OPH070 229
To use report definitions
Operator events
The following message subtypes originate in the Ovation system, and describe operator
events.
230 OPH070
To use report definitions
The options for the Report Properties - ExpressCalc window are same as the options for the
previous Report Properties window, except for the following.
OPH070 231
To use report definitions
No. of intervals
Sample Interval Quantifies the sample time or interval count required by
Time Value the pre-processor to generate the requested number of
samples for the report. Corresponds to the selected
Sample Interval Time Format.
232 OPH070
To use report definitions
Actual Bit
Time Average
Maximum Value
Minimum Value
Time of Maximum
Time of Minimum
Integration
Toggle
Toggle Set
Toggle Reset
Time Set
Time Reset
Average
Total
Count
Start Value
End Value
Delta
Range
Percent Bad
Percent Good
Duration Bad
Duration Good
Standard Deviation
Variance
OPH070 233
Report generating tasks
234 OPH070
Report generating tasks
5. Use the Set option to specify a time span. Choose one of the options from the pop-up
menu. To specify other available time span options, skip to Step 6.
• Previous Hour
• Previous Shift
• Yesterday
• Last
◦ Monday
◦ Tuesday
◦ Wednesday
◦ Thursday
◦ Friday
◦ Saturday
◦ Sunday
◦ Week
◦ Month
◦ Shift
• Past
◦ 10 minutes
◦ 30 minutes
◦ 60 minutes
◦ 2 hours
◦ 1 day
◦ 2 days
◦ 7 days
◦ 14 days
◦ 1 month
• Current Hour
• Current Shift
• Today
• Current Week
• From Start Of
◦ Today
◦ Yesterday
◦ Last Monday
◦ Last Tuesday
◦ Last Wednesday
◦ Last Thursday
◦ Last Friday
OPH070 235
Report generating tasks
◦ Last Saturday
◦ Last Sunday
6. Select a Start Date Time, in Absolute or Relative (A or R) time format. The pull-down
menu displays a calendar. Select dates from the calendar or manually enter dates in the
field.
7. Select an End Date Time, in Absolute or Relative time format. The pull-down menu
displays a calendar. Select dates from the calendar or manually enter dates in the field.
8. Select a Historian Server from the drop-down menu.
236 OPH070
Report generating tasks
9. Use the Report Destination drop-down list to select where you want the report to go.
The list contains the following report destination options:
• Window: The generated report displays in a window on your screen.
Note
The Window option is only valid for manually requested (demand) reports. The
option is not supported for event-driven reports, which include timed, periodic,
and auto-SOE reports. Execution of event-driven report definitions that are
configured with this option results in an error listed in the Report Generation Log
of the Report Manager.
• Printer: The generated report is sent to the printer that you specify by using the
adjacent Select Printer button.
• File: If you select File, click the adjacent Select File button to choose an output file
name and type. The available file types are as follows:
◦ Text file (.txt)
◦ Microsoft Word files (.doc)
◦ HTML files (.htm or .html)
◦ CSV files (.csv)
◦ Excel files (.xls or .xlsx)
◦ RTF files (.rtf)
◦ PDF files (.pdf)
• Email: The generated report is sent through an e-mail to the address that you
specify by using the adjacent Select Mail button.
• File at Historian: The generated report is saved and archived with the rest of your
historical data.
10. The Destination Info field is populated with your choice.
11. Select OK to save your changes, or Cancel to exit.
OPH070 237
Timed, demand, and triggered events
• XML (*.xml)
Note
The file type, Microsoft Excel Workbook Data-Only (*.xlsx), is limited to data only. All
formatting information, for example, font size, bold, and so forth, that may have been
configured using the SAP Crystal Report Manager is not passed on to the xlsx output
file.
• Timed events run based on a due date and time period that you specify.
• Demand events run when you manually request them.
• Triggered events run based on a value change in a digital, monitored process point.
238 OPH070
Timed, demand, and triggered events
3. Select New Event from the Options menu (or, if you want to configure an existing
timed event, select Open Event Definition). The Add Timed Event window appears:
This window enables you to add a new timed event, or edit a timed event that already
exists.
4. Enter an Event Name. This name is displayed in the Timed Events window.
5. Select an Event Due Date from the pull-down menu. The timed event will trigger as
long as the current date and time is greater than the event due date that you specify.
6. Choose the Time Format (Hour:Min:Sec, Day, Month, or Shift) for the next event due.
7. Select a Time Period for Next Event Due. This field automatically changes based on your
time format selection. When a shift time is selected, the next event due date is
calculated from a database table along with the event due date and time.
8. Choose an Offset Time (Hour:Min:Sec) for the event. This time is used to adjust the end
date to ensure that all report data is available to the report that is being generated. The
end date is the time at which the timed event occurs minus the offset time. Your data
stops at the due date minus the offset. For example, if you generate at 12:05 with an
offset of [Link], the data includes up until 12:00.
9. Place a check mark in the Enable Event box to enable the event. Deselect the box to
disable the event.
10. Click OK to add the timed event, or Cancel to exit.
OPH070 239
Timed, demand, and triggered events
240 OPH070
Timed, demand, and triggered events
4. Choose an Event, and right-click to select the Edit Reports List button, or choose
Options -> Edit Reports List. The Reports List window appears:
5. Choose an Available Report Name and add it to the Added Report Names.
6. Click OK to save the updated report list, or Cancel to exit.
OPH070 241
Timed, demand, and triggered events
3. Select Options -> New Event. The Add Demand Event window appears:
You can use this window to add a new demand event, or edit a demand event that
already exists.
4. Enter an Event Name.
5. Place a check in the Enable Event check box to enable the event. Clear the check box if
you want to disable the event.
6. Click OK to add or edit the demand event, or Cancel to exit.
242 OPH070
Timed, demand, and triggered events
4. Specify the start and/or end time for your demand event. The following table describes
setting options available in the Select Start Time and End Time dialog box.
Table 39. Options in the Select Start Time and End Time dialog box
Item Description
Use Default Start and End The default start time is based on the time period that you
Time specified in the report definition. The default end time is the
current time.
I want to specify Start time The report is generated based on specific start and end times.
OPH070 243
Timed, demand, and triggered events
You can use this window to add a new trigger event, or edit a trigger event that already
exists.
4. Enter an Event Name. This name is displayed in the Trigger Events grid.
5. Enter a Trigger Point name, or click Browse Points.
6. Select a Trigger Value from the pull-down menu. The trigger value determines whether
the event will be triggered when the digital point changes to a 1, to a 0, or on any
change in state.
7. Enter a start time and end time offset from trigger time. This is the amount of time
prior to, and following, the trigger that you want to include in the report (in hh:mm:ss).
244 OPH070
Timed, demand, and triggered events
8. You can also specify the start time as one of the following options:
• "Last change of state time" of the trigger point: To perform this action, select the
Use Last Change of State as Start Time check box.
• "Last processed trigger time" of the trigger event: To perform this action, select the
Use Last Trigger as Start Time check box.
See How the report start time is computed based on various event trigger settings
[249] for more information about report start time computation.
9. Enter a time to wait before this trigger event is processed again. This time value
determines if changes in the trigger should be ignored for a specific time period after
the trigger is detected and processed.
10. Enter the Last Processed Time. This is the time of the last processed trigger event.
Events with times greater than this time will be processed. Use the down arrow to
access a calendar that you can use to select the date. The default is the current time.
11. Use the Enable Event check box to enable or disable the event.
12. Click Reports List to perform the following actions:
• View the list of available reports for the event.
• Add report(s) to the event.
See Using the Reports List option in the Trigger Event dialog box [246] for more
information about the Reports List option.
OPH070 245
Timed, demand, and triggered events
9.12.7 Using the Reports List option in the Trigger Event dialog
box
When you click Reports List in the Trigger Event [244] dialog box, the following dialog box
appears:
Option Description
Event Name Shows the name of the trigger event.
Available Report Shows the available reports
Names
Added Report Shows the reports that are added to the trigger event.
Names
Add Adds the selected report(s) from the Available Report Names box to the Added
Report Names box.
246 OPH070
Timed, demand, and triggered events
Option Description
Add All Adds all reports from the Available Report Names box to the Added Report
Names box.
Filter Filters reports by specifying a criteria. When you click Filter, the Filter Criteria
dialog box appears:
You can specify a filter criteria by using any one or a combination of the following
options:
• Select the check box(es) against the report format(s) that you want to use as
the filter criteria.
• Enter a string in the Filter String box.
Click Apply after you specify the filter criteria.
Show All Shows all reports with no filter criteria.
Move Up Moves up the selected report(s) in the Added Report Names box.
Move Down Moves down the selected report(s) in the Added Report Names box.
Remove Removes the selected report(s) in the Added Report Names box.
Remove All Removes all reports in the Added Report Names box.
OK Applies changes and dismisses the window.
Cancel Cancels changes and dismisses the window.
Mapped drive names are only applicable to the user that created the mapping and are only
valid while that user is logged on. The Report Service component of the Report Manager will
not have access to user mappings and will not be able to execute the reports if they are
timed or triggered.
OPH070 247
Timed, demand, and triggered events
To use a UNC pathname, enter the destination pathname directly into the File Name field of
the Save As dialog box that appears when you define the destination file in the Report
Manager [222]. Use the following format:
\\<servername>\<sharename>\<filename>
Do not include the extension in the filename as that is defined by the Save as type field of
the Save As dialog box.
The computer hosting the share (or, shared folder) must be a member of the same domain
as the computer hosting the Report Service. Additionally, on the computer hosting the
share, the shared folder must have its share permissions and security set to allow access by
the computer hosting the Report Service. To do so, use the following steps:
248 OPH070
How the report start time is computed based on various event trigger settings
Trigger Value Use Last Change of State as Start Time Use Last Trigger as Start Time
1 (unchecked) (unchecked)
Figure 214. Computing report start time during a typical event trigger execution
OPH070 249
How the report start time is computed based on various event trigger settings
Trigger Value Use Last Change of State as Start Time Use Last Trigger as Start Time
1 checked (unchecked)
Trigger Value Use Last Change of State as Start Time Use Last Trigger as Start Time
1 (unchecked) checked
250 OPH070
Report Manager administrative tasks
Trigger Value Use Last Change of State as Start Time Use Last Trigger as Start Time
CHANGE IN STATE (unchecked) checked
CHANGE IN STATE checked (unchecked)
3. Select View Error to view the most recent report generation error.
OPH070 251
Report Manager administrative tasks
3. To enable the historian to automatically backup Report Manager data, check the
Automatic Backup Enabled check box.
4. Choose the Automatic Backup Interval. The system automatically performs data
backups based on this time interval.
5. If you choose to disable automatic backup, you can set the length of time that you
want to be reminded on, in order to perform your manual backup. If you enable
automatic backup, this option is not available.
6. Click Do Backup Now to perform an immediate backup of your data, or select OK to
save your settings or Cancel to exit.
252 OPH070
Report Manager administrative tasks
3. If you want to remove a user, highlight the name and click Remove.
4. If you want to add a user, click Add. The Add User window appears:
5. Type a user name and click OK to save your settings, or Cancel to exit.
Display elements including graphics, supplemental text, page numbers, and date/time
stamps.
OPH070 253
Report Manager administrative tasks
You can invoke the functions in this library with any of the report layout files in the standard
library or any custom designed report from the Crystal Reports engine. You can expand the
UFL depending on your requirement.
Note
You can use this procedure to move or duplicate report settings between machines.
254 OPH070
Report Manager administrative tasks
A check mark is now displayed in front of your selected item (or items) and all other
items now have check boxes.
4. Select the check boxes of any additional items that you want to export.
OPH070 255
Report Manager administrative tasks
5. Click the Export Data button. The Export Package Name window appears:
256 OPH070
To create reports of edited historical data
7. Click Start Export if you approve of the selection, or click Cancel. The Report Manager
logically groups items together when creating an export package, so that any other
items related to the item that you selected to export are also exported. In this example,
a demand event was selected for export. The Report Manager also exported the report
definition associated with the demand event, as well as the report format and the
associated RPT file.
An export status window is displayed to let you know that your export was successful.
OPH070 257
To create reports of edited historical data
258 OPH070
To exit the Report Manager
1. Select File -> Exit, or alternxatively, the “X” button at the top right corner of the Report
Manager window. The Quit Application dialog box appears:
2. Select No.
Note
If you exit the Report Manager, scheduled or triggered reports will not run. Emerson
recommends that you minimize the Report Manager when you are not using it.
OPH070 259
File History overview
The File History tool enables you to quickly move files between your workstation and your
historian, and acts as a running document history of your historical data. The files are saved
until the hard disk storage is full or indefinitely if an archive media is used.
The tool functions like an FTP transfer program, but unlike an FTP program, multiple
versions of the same file cannot overwrite themselves. To enable you to save multiple
versions of the same file without danger of overwriting, files are saved by timestamp. This
means that you can keep multiple versions of a file with the same name, because they will
have different timestamps. For example, you can keep a running record of a file generated
daily, entitled Boiler analog points, and the File History tool displays each day's version of
that file organized by timestamp.
The File History tool enables you to create directories on your local workstation and on your
historian server. However, any directories that you create on your historian server are virtual
only, and meant to aid your file organization; these directories will not exist on the historian
disk.
OPH070 261
To use the File History tool
1. From your workstation, select Start -> Programs -> Ovation Process Historian -> File
History. The File History tool appears. Your local workstation is displayed on the left
side of the tool. The historian workstation that you are connected to displays on the
right side of the tool.
Note
The user and domain names are read only.
262 OPH070
To use the File History tool
6. You can click the arrow buttons to send files between the two workstations. File
transfers occur in real time and the tool display refreshes automatically. In this
example, the [Link] file on the local workstation has been sent to the
historian workstation.
7. You can use the File History tool filter function to narrow down the selection of files on
your historian workstation. You can filter the historian files by timestamp, date,
domain, user, computer, and source (which is the application that created the file).
OPH070 263
To use the File History tool
8. You can use the File History Tool hover function to hover over (or mouse over) a file
name and view its details without scrolling.
264 OPH070
History Manager overview
OPH070 265
Components of the History Manager window
266 OPH070
Components of the History Manager window
The following table describes the options available in the menu bar.
OPH070 267
Components of the History Manager window
11.3.2 Toolbar
The following figure depicts the toolbar of the History Manager window [266].
The following table describes the icons available in the toolbar of the History Manager
window.
268 OPH070
Components of the History Manager window
Icon Description
Refreshes the current view.
Reloads historical data to the main storage from an archive device by time.
Locks the specified historical data from being removed from the main storage by the
historian’s automated disk space management software.
Unlocks the historical data for the specified time range and historical data type,
making it available for the historian’s automated disk space management software.
Writes any un-archived historical data file to the archive device.
Enables the removable archive (DVD-RAM), or enables archive activities for the fixed
archive, such as NAS, SAN, or DAS.
Disables the removable archive (DVD-RAM), or disables archive activities for the fixed
archive, such as NAS, SAN, or DAS.
Locks the removable archive (DVD-RAM).
11.3.3 Tabs
The following figure depicts the tabs of the History Manager window [266].
OPH070 269
Components of the History Manager window
The top half of the window displays the following information about the historical data:
The bottom half of the window displays the following information about the historical data:
270 OPH070
Components of the History Manager window
The top half of the window displays the following data about the removable archive devices:
For each removable archive device, you can use the following buttons.
OPH070 271
Components of the History Manager window
Button Functionality
Enable Enables the removable archive device (DVD-RAM).
Disable Disables the removable archive device (DVD-RAM).
Lock Locks the removable archive device (DVD-RAM).
Unlock Unlocks the removable archive device (DVD-RAM).
Eject Ejects the removable archive volume (DVD-RAM disc).
Format Formats the removable archive volume (DVD-RAM disc).
The bottom half of the window contains attention messages. This area displays the
following data about the attention messages:
• Time: This field indicates the time when each attention message was issued.
• Description: This field indicates the description of the action that you should take.
• Prompting you, through an archive attention message, when a new volume needs to
be inserted and how it should be physically labeled.
• By logically labeling a volume.
• Tracking all created volumes in the volume database.
Emerson recommends that you physically label removable media volumes in accordance
with the logical label that the archive manager assigns.
The volume database facilitates the reload of files that are no longer located in the main
storage. The archive manager will prompt you for the volumes needed to satisfy a reload
request using the logical labels. The History Manager can show you which volumes are
currently in the drive, because it is able to read the logical label of the volume. Retrieval is
allowed directly from the volume currently in the drive, without performing a reload
operation.
272 OPH070
Components of the History Manager window
The top half of the window displays the following data about the fixed archive devices:
For each fixed archive device, you can use the following buttons.
Button Functionality
Enable Enables archive activities for the fixed archive device, such as NAS, SAN, or DAS.
Disable Disables archive activities for the fixed archive device, such as NAS, SAN, or DAS.
Volumes Enables you to view the volumes information [274].
The bottom half of the window contains attention messages. This area displays the
following data about the attention messages:
• Time: This field indicates the time when each attention message was issued.
• Description: This field indicates the description of the action that you should take.
OPH070 273
Components of the History Manager window
Because a fixed archive device is typically online, they are accessible for historical data
retrievals if the requested data is no longer available on the main storage. You are not
required to perform a reload operation.
4. When you click Volumes, the Archive Volumes dialog box appears. The dialog box
displays the archive volumes created by the fixed archive until the current date.
274 OPH070
Components of the History Manager window
• Delete: Use this option to delete a volume. When you click Delete, the following
confirmation message appears. If you click Yes, the volume is deleted. Click No if
you do not want to delete the volume.
OPH070 275
Components of the History Manager window
6. You can also directly remove the last volume from the History Manager’s volume
database by using the Volumes -> Remove Last option in the menu bar [267]. When
you click Remove Last, the following confirmation message appears. If you click Yes,
the last volume is deleted. Click No if you do not want to delete the volume.
Tab View
Historical Data Details of the Historical Data
Removable Archive Details of the removable devices (DVD-RAMs).
Fixed Archive Details of the fixed archive devices (NAS, SAN, or DAS).
• Time range: Select the By Time Range option. The following figure depicts the Storage
Map area for this option.
• Size: Select the By Size In Bytes option. The following figure depicts the Storage Map
area for this option.
276 OPH070
Components of the History Manager window
See Color legend [277] for a description of colors in the Storage Map area.
Button Description
Reload [283] Reloads historical data to the main storage from an archive device by time.
Unload By Time Unloads historical data from the main storage by time.
[281]
Unload By Size Unloads historical data from the main storage by size.
[282]
Lock [284] Locks the specified historical data from being removed from the main storage
by the historian’s automated disk space management software.
Unlock [285] Unlocks the historical data for the specified time range and historical data
type, making it available for the historian’s automated disk space
management software.
Archive [286] Writes any un-archived historical data file to the archive device.
The following table describes the meaning of each color in the color legend.
OPH070 277
Managing the historical data with the History Manager
278 OPH070
Managing the historical data with the History Manager
As you browse through the tree folders, you will notice the following main historical data
types:
• Points
• Alarms
• Sequence of Events
• Text
• Attributes
• Lab Data
As you click through the folders, the Storage Map [276] graphic changes to give you a visual
representation of the historical data time period available for a selected storage area.
Storage areas can include the following:
The color legend [277] at the bottom of the screen identifies the meaning of each color. You
can display data in the Storage Map by:
• Time range, or
• Size in bytes
OPH070 279
Managing the historical data with the History Manager
To zoom in, click the Zoom In icon in the toolbar. The Zoom Into Historical Data dialog box
appears:
You can select a start date and time and an end date and time that you want to zoom in (or
out) on. After you click OK, the Storage Map is updated to display your new, narrower (or
wider), time range. Alternatively, a left-click drag of the mouse within the Storage Map
highlights an area to zoom. A subsequent click of the Zoom In icon zooms the map to the
selected time range.
Each button under the Storage Map [277] performs specific functions for the historical data.
The buttons are as follows:
In addition to the Historical Data tab, the History Manager has the following tabs:
280 OPH070
Managing the historical data with the History Manager
3. You can use the Unload Historical Data dialog box to select which type of historical
data you would like to unload, as well as the date and time period that you would like to
unload it from.
4. The Size Only option determines how much space will be freed by unloading the
history types and time ranges that you have specified. You can use this check box to
help you plan your available space, because the data is not actually removed.
OPH070 281
Managing the historical data with the History Manager
3. You can use the Unload Data By Size dialog box to enter the number of megabytes of
data that you would like to unload, if you know that you only want a certain size of
data.
4. The Size Only option determines how much space, up to your requested amount, can
be freed by the unload operation. You can use this feature to help you plan, because
the data is not actually removed.
282 OPH070
Managing the historical data with the History Manager
3. You can use the Load Historical Data dialog box to select which type of historical data
you would like to load, as well as the date and time period that you would like to load it
from.
4. The Size Only option enables you to determine how much space would be required to
reload the types and time ranges that you specify. The data will not actually be
restored if you select this check box. This option is useful to give you a preview of the
space you need for a reload so that you can plan accordingly.
OPH070 283
Managing the historical data with the History Manager
5. The Delete Oldest option instructs the historian to automatically remove the oldest
files to make space available for the files that you want to reload.
Note
The reloaded data files are automatically locked, thereby preventing their removal by
the disk space management functions while you are using them. To allow the reloaded
files to be deleted, you should unlock them when you no longer require them. The data
can then be removed from the hard disk but will continue to exist in the archive.
284 OPH070
Managing the historical data with the History Manager
3. You can use the Lock Historical Data dialog box to select which type of historical data
you would like to lock, as well as the date and time period that you would like to lock it
from. Select the All check box to lock all data types for the time range that you specify.
3. You can use the Unlock Historical Data dialog box to select which type of historical data
you would like to unlock, as well as the date and time period that you would like to
unlock it from.
OPH070 285
Managing the historical data with the History Manager
3. If you are sure that you want to archive the historical data that you have selected, click
Yes. If not, click No.
286 OPH070
Historical Review overview
• Select historical time ranges, data filters, and views to review your data.
• Save the review query settings (for example, "all set point change operator events for
the past 24 hours", "today's sequence of events messages", and so forth) to a Review
Definition file, according to user role, for later reuse.
• Compare specific points from multiple historians.
• Easily select common time spans (for example, yesterday, current day, past 60 min, and
so forth).
• Memorize a current time span for recall and use for other review types.
• Perform paging of a time span.
• Export the retrieval results to various file types, such as .txt, .csv, .pdf, .xls, and .xlsx.
• Investigate and diagnose detailed process records that correspond to the time period
of a plant condition or an event.
OPH070 287
Historical Review overview
You can access Historical Review from your Operator Station or a desktop PC.
Note
The Historical Review application can only be used for OPH retrieval. Interoperability with
eDB and HSR has not been retained in Ovation 3.6.0.
Use the Historical Review application to perform the following types of reviews:
• Point: Point reviews are based on a selected time range, specific points (filtered by
point name, point group, or point characteristic), and specific review types that you
select (which define the type of collected point data that is retrieved). For example, you
might be interested to view all changes in point value, or you might be interested to
view only the changes that occurred when the points entered a particular status.
• Alarm: Alarm reviews display all alarm messages that occurred on all drops or a single
drop, selected alarm types, point types, or individual points.
• Operator Event: Operator Event reviews display operator event messages based on
specific workstation, subtypes, specific grouped subtypes, selected subtypes, and
messages for a single point.
• SOE: SOE reviews are based on workstation number and point name.
• SIS (optional): SIS activity messages are transmitted from SIS data servers. This review
tab is hidden by default.
• ASCII: ASCII messages are text messages generated by the system. The ASCII review
can display, print, or save ASCII messages that occur on all workstations or a single
workstation.
• Common: Common reviews are combined reviews of one or more data types to be
displayed together.
1. Select Start -> All Programs -> Ovation -> Ovation Applications -> Historical Review.
OR
Open the Ovation Applications folder at the Operator Station and double-click the
Historical Review icon.
288 OPH070
Components of the Historical Reviews window
Note
The SIS dockable tab is hidden by default.
3. To run a specific type of review, click the corresponding dockable tab located at the
bottom of the Historical Reviews window. For example, click the Alarm tab to run an
alarm review.
See Performing a Historical Review [308] for more information.
OPH070 289
Historical Review Menu button
Note
The SIS dockable tab is hidden by default.
290 OPH070
Historical Review Menu button
The following table describes the functions provided by the Historical Review Menu button.
Export [294] Opens the Save As window. You can export the contents of the
Historical Reviews window to text, CSV, HTML, PDF, and XLS
formats.
Preferences [295] Opens the Preferences dialog box that can be used to save Historical
Review application settings. These settings are then applied to
subsequent Historical Review sessions.
Historian Preferences Opens the Preferences dialog box that can be used to save historical
[297] data source (Ovation Process Historian) hosts and user-specified
time zone abbreviation settings. These settings are then applied to
subsequent Historical Review (and trend) sessions for the specified
user or role.
Historical Reviews Modifies the configuration settings, review settings, and time
Options [298] zones. In addition, you can change the look and feel of the Historical
Reviews window.
Exit Historical Review Exits and closes the Historical Review application.
[299]
OPH070 291
Historical Review Menu button
1. Select Start -> Ovation -> Ovation Applications -> Historical Review.
2. The Historical Reviews window appears.
3. Click the Historical Review Menu button [290], and then click Load Review
Configuration. The Open dialog box appears:
4. Select an existing review configuration file (.rvw), such as "All Alarms for Past 1
[Link]", corresponding to a role, and click Open. The configuration settings in the
selected file are loaded for a Historical Review.
292 OPH070
Historical Review Menu button
5. Click Begin to start the Historical Review with the loaded settings. The Historical
Reviews window appears:
Figure 263. Historical Reviews window displaying results for the loaded review
configuration file, “All Alarms for Past 1 [Link]”
1. Select Start -> Ovation -> Ovation Applications -> Historical Review.
2. The Historical Reviews window appears. Perform the Historical Review [308] with the
desired configuration settings. The settings are displayed in the Settings bar [303].
OPH070 293
Historical Review Menu button
3. Click the Historical Review Menu button [290], and then click Save Review
Configuration to save the settings of your review in a file. The Save As dialog box
appears:
4. Select a role from the left pane and enter a name of the review configuration file, such
as "SOE Review for Past 1 Day", in the File Name box.
5. Click Save As. The review configuration file, "SOE Review for Past 1 [Link]", is created.
Next time, you can use the Load Review Configuration [292] option to load the
configuration settings defined in the file and perform a Historical Review [308].
12.3.3 To use the Print option (from the Historical Review Menu
button)
Use the Print option (from the Historical Review Menu button) as follows:
1. Select Start -> Ovation -> Ovation Applications -> Historical Review.
2. The Historical Reviews window appears. Perform the Historical Review [308].
3. Click the Historical Review Menu button [290], and then click Print to perform print,
print preview, and page setup operations.
1. Select Start -> Ovation -> Ovation Applications -> Historical Review.
294 OPH070
Historical Review Menu button
2. The Historical Reviews window appears. Perform the Historical Review [308].
3. Click the Historical Review Menu button [290], and then click Export. The following
Save As dialog box appears:
4. Enter a file name, such as past1day, in the File name box; select the file type in the Save
as type box; and click Save. The file can be exported and saved in the following formats:
• Text Files (.txt)
• CSV Files (.csv)
• HTML Files (.htm)
• PDF Files (.pdf)
• Microsoft Excel Files (.xls, .xlsx)
5. The Historical Review records are saved in the file. Depending upon the format
compatibility, you can now import the file you exported in Step 4 to an external
software application, such as the Ovation Alarm Health Analyzer (AHA).
OPH070 295
Historical Review Menu button
2. Click the Historical Review Menu button [290], and then click Historian Preferences.
The Historian Preferences dialog box appears:
3. Click Save to save the settings to your user profile and the settings will reappear when
you begin a new session.
4. Click Clear to remove the preference settings for your user profile, and your Role
settings will load when you begin a new session.
5. If you are an Administrator, you can perform the following:
• Save the preferences to a Role profile by highlighting the desired role before you
click Save.
• Use the preferences that have been defined for another role by selecting the
desired role from the list in the Preferences window, and then click Load. All the
settings that were saved for the selected role will now appear in your current
session.
• Clear role preferences that have been defined by highlighting the role in the list,
and then click Clear. All the settings that were saved for that role will be removed.
296 OPH070
Historical Review Menu button
3. Click Save to save the settings to your user profile and the settings will reappear when
you begin a new session.
4. Click Clear to remove the preference settings for your user profile, and your Role
settings will load when you begin a new session.
OPH070 297
Historical Review Menu button
298 OPH070
Historical Review Menu button
3. The following table describes the options available in the Historical Reviews Options
dialog box. Select the desired options and click OK.
Option Description
Configuration Use this option to control which application settings are saved with a review
Settings configuration file. The option contains the following selections:
• Font settings
• Layout
• Views
• Column settings
• Filters
View Use this option to hide or view the Ribbon bar, Settings bar, and Columns
Grouping bar. In addition, you can enable or disable auto-resize of the
review columns' width.
Colors Use this option to change the colors associated with the Historical Reviews
window. You can change the color scheme of the window to Black, Blue, or
Silver. In addition, you can specify the gradient color, background color,
foreground color, and empty area color.
Review Settings Use this option to specify the following settings:
• Default interval between start time and end time for each review type
• Default start and end time format
• Date and time format, including subsecond display
• Data retrieval mode for edited data
Start Up Options Use this option to specify a default configuration file, if desired.
Historian Use this option to view the information, including host name and IP address,
of Ovation Process Historians available to Historical Review and other
Ovation historical client applications. You can also add a new historian by
entering the host name and IP address of the new machine.
Time Zone Use this option to specify abbreviations for frequently used time zones
intended for your use. These abbreviations are made available in Historical
Review and trend time span dialog boxes for the specification of absolute
times.
About Use this option to view the version and copyright information of the
Historical Review application.
1. Select Start -> Ovation -> Ovation Applications -> Historical Review. The Historical
Reviews window appears.
2. Click the Historical Review Menu button [290], and then click Exit Historical Review to
exit the Historical Reviews window.
OPH070 299
Quick Access Toolbar
The following table describes the icons in the Quick Access Toolbar.
• Home tab: Use this tab to access the basic options, grouped under the Home ribbon
bar [300], during a Historical Review.
• Filter tab: Use this tab to access the filter options, grouped under the Filter ribbon bar
[301], during a Historical Review.
The ribbon bars consist of menus and commands, which are grouped based on their
function.
300 OPH070
Ribbon bars
The following table describes various functions available in the Home ribbon bar.
Note
The sample count is the Data density (plot sample quantity) that is
tightly coupled with the trend trace - and is sometimes different per
trend trace.
OPH070 301
Ribbon bars
Figure 273. Filter ribbon bar for the Operator Event review
302 OPH070
Settings bar
The following table describes various functions available in the Filter ribbon bar for each
review type.
Table 56. Functions in the Filter ribbon bar for each review type
OPH070 303
Columns Grouping bar
The Review Details panel contains various columns for each review type, as listed in the
following table.
304 OPH070
Review Details panel
OPH070 305
Dockable tabs
• To customize the column headings that you want to display in the Historical Reviews
window for a particular type of review, click Select Column(s) under the Select Views/
Columns group in the Home ribbon bar [300]. The following dialog box appears:
◦ Move the columns of a review type, which you want to display in the Historical
Reviews window, from Select Column(s) to Selected Column(s). In the above
figure, all columns for the Point view are moved to Selected Column(s), and
therefore, all the columns are displayed in the Historical Reviews window.
• Right-click a column heading to customize the data display in a column. You can
perform actions, such as sorting the data in ascending or descending order, best fit,
remove the column, filter editor, and so forth.
Note
The SIS dockable tab is hidden by default.
306 OPH070
Status bar
• To customize the views to be visible as dockable tabs (including enabling the view of
the SIS dockable tab), click Select View(s) under the Select Views/Columns group in the
Home ribbon bar [300]. The following dialog box appears:
◦ Move the views, which you want to display in the dockable tabs, from Choose
View(s) to Selected View(s). In the above figure, all views, except ASCII, are moved
to Selected View(s), and therefore, every view, except ASCII, has a corresponding
dockable tab.
OPH070 307
Performing a Historical Review
After preferences are saved, they will be automatically loaded whenever you access the
application window. The preferences are loaded for a session in the following order:
• User-defined preferences are requested first. You can save, load, and clear settings only
for your user profile.
• If user-defined preferences are not found, role-defined preferences are requested next.
An administrator can save, load, and clear settings for any role profiles, but he or she
cannot affect any user profile except his or her own.
• System preferences are requested next.
• If no preferences are defined, the system default settings are used.
See To use the Preferences option (from the Historical Review Menu button) and To use the
Historian Preferences option (from the Historical Review Menu button) [297] for
information about setting preferences in the Historical Reviews window.
308 OPH070
Performing a Historical Review
4. Use the Filter [301] ribbon bar [301] to specify the filter criteria for the review. The
ribbon bar has the following groups:
• System: This group has the following option:
◦ Network/Unit: Use this option to select the network and unit filter for the
review.
• Characteristics/Group/Description/Point: This group has the following options:
◦ Characteristics: Use this option to specify characteristics for the review. Enter
characteristics individually or choose characteristics from the pre-defined
group. To enter characteristics individually, by position, select a position
number and a position value from the Character Position and Position Values
drop-down lists, respectively. To choose a pre-defined characteristics group,
select a group from the Characteristics drop-down list.
◦ Point Group: Use this option to specify a historian point group.
◦ Point/Description: Use this option to specify point name and description. You
can also specify wildcard character, *, as an input.
◦ Points: Use this option to specify or browse the points for the review.
◦ Data Filter: This group has options shown in following table.
• Table 58. Data Filter options
OPH070 309
Performing a Historical Review
5. After specifying the settings, start the Historical Review by using any of the following
steps:
• Using the Home [300] ribbon bar [300], click Begin in the Review group.
• Using the Quick Access Toolbar [300], click Begin.
6. The review results are displayed in the Historical Reviews window as follows:
310 OPH070
Performing a Historical Review
Note
To stop an active Historical Review, click Stop, which is located in the Quick Access Toolbar
[300] and the Home [300] ribbon bar [300]. This button is enabled only when you start a
review. It may take a few seconds to terminate the review process.
OPH070 311
Performing a Historical Review
312 OPH070
Performing a Historical Review
4. Use the Filter [301] ribbon bar [301] to specify the filter criteria for the review. The
ribbon bar has the following groups:
• System: This group has the following option:
◦ Network/Unit: Use this option to select all networks or a single network or
unit as a filter option for the review.
• Originating Drop: This group has the following option:
◦ Drops: Use this option to select the drop ID for the review.
• Priority: This group has the following option:
◦ Priority: Use this option to select alarm priority. The range of alarm priority is
1-8.
• Filter Criteria: This group has the following options:
◦ Alarm Type: Use this option to select one or more alarm types for the review.
◦ Point Type: Use this option to select one or more point types for the review.
◦ Point: Use this option to enter or browse a point for the review.
5. After specifying the settings, start the Historical Review by using any of the following
steps:
• Using the Home [300] ribbon bar [300], click Begin in the Review group.
• Using the Quick Access Toolbar [300], click Begin.
OPH070 313
Performing a Historical Review
6. The review results are displayed in the Historical Reviews window as follows:
Note
To stop an active Historical Review, click Stop, which is located in the Quick Access
Toolbar [300] and the Home [300] ribbon bar [300]. This button is enabled only when
you start a review. It may take a few seconds to terminate the review process.
314 OPH070
Performing a Historical Review
4. Use the Filter [301] ribbon bar [301] to specify the filter criteria for the review. The
ribbon bar has the following groups:
• System: This group has the following option:
◦ Network/Unit: Use this option to select all networks or a single network or
unit as a filter option for the review.
• Originating Drop: This group has the following option:
◦ Drops: Use this option to select the drop ID for the review.
• User Detail: This group has the following option:
◦ Domain User Name: Use this option to specify the domain and user name of
the Ovation user that initiated the operator event action.
• Reason Detail: This group has the following option:
◦ Reasons: Use this option to specify the reason as a search criteria for the
review.
• Filter Criteria: This group has the following options:
◦ Groups: Use this option to select one or more groups for the review.
◦ SubTypes: Use this option to select one or more subtypes for the review.
◦ Point: Use this option to enter or browse a point for the review.
5. After specifying the settings, start the Historical Review by using any of the following
steps:
• Using the Home [300] ribbon bar [300], click Begin in the Review group.
• Using the Quick Access Toolbar [300], click Begin.
OPH070 315
Performing a Historical Review
6. The review results are displayed in the Historical Reviews window as follows:
Note
To stop an active Historical Review, click Stop, which is located in the Quick Access
Toolbar [300] and the Home [300] ribbon bar [300]. This button is enabled only when
you start a review. It may take a few seconds to terminate the review process.
Operator Event Messages are saved at an Ovation historian drop and can be viewed through
the historian's Operator Event Review application [314].
Only certain Operator Station applications and specific operator actions generate operator
event messages. The applications that can issue an Operator Event message are:
• Alarms
• Graphics
• Point Information
• Point Review
316 OPH070
Performing a Historical Review
• Signal Viewer
• System Viewer
• Trends
• Historical Review
Operator Event Messages are also generated when a user logs on and logs out from a drop.
In addition, some actions can be issued from more than one Operator Station application.
For example, the Scan On action can be performed in the Alarm, Point Information,
Graphics, and System Viewer subsystems.
The following table displays the list of actions that generate Operator Event messages.
OPH070 317
Performing a Historical Review
Note
For more information about Operator Event Messages generated from graphics application
programs, refer to the Ovation Graphics Language Reference Manual.
318 OPH070
Performing a Historical Review
6. The review results are displayed in the Historical Reviews window as follows:
Note
To stop an active Historical Review, click Stop, which is located in the Quick Access
Toolbar [300] and the Home [300] ribbon bar [300]. This button is enabled only when
you start a review. It may take a few seconds to terminate the review process.
OPH070 319
Performing a Historical Review
4. Use the Filter [301] ribbon bar [301] to specify the filter criteria for the review. The
ribbon bar has the following groups:
• System: This group has the following option:
◦ Network/Unit: Use this option to select all networks or a single network or
unit as a filter option for the review.
• Originating Drop: This group has the following option:
◦ Drops: Use this option to select the drop ID for the review.
5. After specifying the settings, start the Historical Review by using any of the following
steps:
• Using the Home [300] ribbon bar [300], click Begin in the Review group.
• Using the Quick Access Toolbar [300], click Begin.
6. The review results are displayed in the Historical Reviews window as follows:
Note
To stop an active Historical Review, click Stop, which is located in the Quick Access
Toolbar [300] and the Home [300] ribbon bar [300]. This button is enabled only when
you start a review. It may take a few seconds to terminate the review process.
320 OPH070
Performing a Historical Review
OPH070 321
Performing a Historical Review
6. The review results are displayed in the Historical Reviews window as follows:
Note
To stop an active Historical Review, click Stop, which is located in the Quick Access
Toolbar [300] and the Home [300] ribbon bar [300]. This button is enabled only when
you start a review. It may take a few seconds to terminate the review process.
322 OPH070
Using command line options to perform a historical review
4. Use the Filter [301] ribbon bar [301] to specify the filter criteria for the review, which
may include the following steps:
• Use the Review group to specify the review types you want to include or exclude
from the Common review.
• Use the Point, Alarm, Operator Event, SOE, ASCII, and SIS groups to specify the
filter settings for each review type.
• Use the Message Systems group to select all networks or a single network or unit
as a filter option for the review.
5. After specifying the settings, start the Historical Review by using any of the following
steps:
• Using the Home [300] ribbon bar [300], click Begin in the Review group.
• Using the Quick Access Toolbar [300], click Begin.
6. The review results are displayed in the Historical Reviews window as follows:
Note
To stop an active Historical Review, click Stop, from the Quick Access Toolbar [300] and
the Home [300] ribbon bar [300]. This button is enabled only when you start a review.
It may take a few seconds to terminate the review process.
Syntax
[Link] [/help] |
OPH070 323
Using command line options to perform a historical review
[/setting “configuration-file-name”] |
[/loadfile “configuration-file-name”] |
[/execute]
{ [/historian “default_or_historian_string”]
[/duration PreviousHour|CurrentHour|Today|CurrentWeek|
Past10Min|Past30Min|Past60Min|Past2Hour|
Past1Day|Past2Day|Past7Day|Past14Day]
{ /filter-point <point-filter-option> |
/filter-alarm <alarm-filter-option> |
/filter-ope <operator-event-filter-option> |
/filter-ascii <ascii-filter-option> |
/filter-soe <soe-filter-option> |
/filter-sis <sis-filter-option>
See the following sections for examples and descriptions of these options.
Syntax
/filter-point
Example
The following example illustrates a command to run a Point review from the Command
Prompt window:
Note
See To specify point filter criteria from the Command Prompt window [332] for more
information.
324 OPH070
Using command line options to perform a historical review
Syntax
/filter-alarm
Example
The following example illustrates a command to run an Alarm review from the Command
Prompt window:
Note
See To specify alarm filter criteria from the Command Prompt window [335] for more
information.
Syntax
/filter-ope
Example
The following example illustrates a command to run an Operator Event review from the
Command Prompt window:
Note
See To specify operator event filter criteria from the Command Prompt window [337] for
more information.
Syntax
/filter-ascii
OPH070 325
Using command line options to perform a historical review
Example
The following example illustrates a command to run an ASCII review from the Command
Prompt window:
Note
See To specify ASCII filter criteria from the Command Prompt window [339] for more
information.
Syntax
/filter-soe
Example
The following example illustrates a command to run an SOE review from the Command
Prompt window:
Note
See To specify SOE filter criteria from the Command Prompt window [340] for more
information.
Syntax
/filter-sis
Example
The following example illustrates a command to run an SIS review from the Command
Prompt window:
326 OPH070
Using command line options to perform a historical review
Note
See To specify SIS filter criteria from the Command Prompt window [341] for more
information.
Syntax
/help
Example
The following example illustrates a command to open the online help from the Command
Prompt window:
[Link] /help
Syntax
/setting <configuration-file-name>
Where:
Examples
The following example illustrates a command to verify the Administrator role settings from
the Command Prompt window:
The following example illustrates a command to verify the Engineer role settings from the
Command Prompt window:
The following example illustrates a command to verify the Operator role settings from the
Command Prompt window:
The following example illustrates a command to verify the settings for other available users
from the Command Prompt window:
OPH070 327
Using command line options to perform a historical review
Syntax
/loadfile <configuration-file-name>
Where:
Example
The following example illustrates a command to load the configuration file [Link] from
the Command Prompt window:
Note
If you do not use the execute parameter, you must manually run the review once the
Historical Review window appears with the configuration settings. If you specify the
execute parameter, the filter criteria is loaded and executed in the Historical Review
window.
Syntax
/execute
Examples
The following examples illustrate commands to execute arguments directly from the
Command Prompt window:
328 OPH070
Using command line options to perform a historical review
Syntax
/historian "default_or_historian_string"
Example
The following examples illustrate commands to specify an available historian drop X from
the Command Prompt window:
The following examples illustrate commands to specify available historian redundant drop
A/dropB from the Command Prompt window:
The following examples illustrate commands to specify the default historian drop from the
Command Prompt window:
OPH070 329
Using command line options to perform a historical review
Syntax
/duration PreviousHour|CurrentHour|Today|CurrentWeek|Past10Min|
Past30Min|Past2Hour|Past1Day|Past2Day|
Past7Day|Past14Day
Note
Default value is Past1Day, which is 24 hours.
Examples
The following examples illustrate commands to specify duration of default value of 24 hours
from the Command Prompt window:
The following examples illustrate commands to specify duration of previous hour from the
Command Prompt window:
The following examples illustrate commands to specify duration of current hour from the
Command Prompt window:
330 OPH070
Using command line options to perform a historical review
The following examples illustrate commands to specify duration of today from the
Command Prompt window:
The following examples illustrate commands to specify duration of current week from the
Command Prompt window:
The following examples illustrate commands to specify duration of past 10 minutes from
the Command Prompt window:
The following examples illustrate commands to specify duration of past 30 minutes from
the Command Prompt window:
The following examples illustrate commands to specify duration of past 2 hours from the
Command Prompt window:
OPH070 331
Using command line options to perform a historical review
The following examples illustrate commands to specify duration of past 2 days from the
Command Prompt window:
The following examples illustrate commands to specify duration of past 7 days from the
Command Prompt window:
The following examples illustrate commands to specify duration of past 14 days from the
Command Prompt window:
Syntax
/filter-point [/networkunit “netunit”]
{ [/characteristics “xxxxxxxx”] |
[/pointgroup “pointgroupname”]|
[/pointdesc “pointdescription”] |
332 OPH070
Using command line options to perform a historical review
[/pointnames “pointname-list”]
} [/data-filter “data-filter-string”]
Where:
Note
If you do not specify /characteristics, /pointgroup, /pointdesc, or /
pointnames, an error is returned upon execution.
Note
If you do not specify /data-filter, the default filter is VL.
Examples
The following example illustrates a command to specify the point filter criteria of Ovation
networks and units from the Command Prompt window:
The following example illustrates a command to specify the point filter criteria of
characteristics from the Command Prompt window:
When /characteristics is not specified, the default point filter criteria is “ ”. The
following example illustrates this scenario:
The following example illustrates a command to specify the point filter criteria of point
groups from the Command Prompt window:
OPH070 333
Using command line options to perform a historical review
When /pointgroup is not specified, the default point filter criteria is “ ”. The following
example illustrates this scenario:
The following example illustrates a command to specify the point filter criteria of point
description from the Command Prompt window:
When /pointdesc is not specified, the default point filter criteria is " ". The following
example illustrates this scenario:
The following example illustrates a command to specify the point filter criteria of point
name from the Command Prompt window:
_s,d32_mnet_lp01_s"
When /pointname is not specified, the default point filter criteria is " ". The following
example illustrates this scenario:
The following examples illustrate commands to specify the point filter criteria of data filter
from the Command Prompt window:
When /data-filter is not specified, the default filter is "VL". The following example
illustrates this scenario:
334 OPH070
Using command line options to perform a historical review
Syntax
/filter-alarm [/networkunit “netunit”] [/drop “drops-list”] [/
priority “priority-list”]
[/pointname “pointname”]
Where:
Note
If you do not specify /alarmtype, /pointtype, or /pointname, the filter criteria /
pointname “” is equivalent to point name wildcard character (*).
Examples
The following example illustrates a command to specify the alarm filter criteria of Ovation
networks and units from the Command Prompt window:
When /networkunit is not specified, the default alarm filter criteria is “ ”, that is, "Select
All Networks". The following example illustrates this scenario:
The following example illustrates a command to specify the alarm filter criteria of drops list
from the Command Prompt window:
OPH070 335
Using command line options to perform a historical review
When /drop is not specified, the default alarm filter criteria is “ ”, that is, "All Drops". The
following example illustrates this scenario:
The following example illustrates a command to specify the alarm filter criteria of priority
list from the Command Prompt window:
When /priority is not specified, the default alarm filter criteria is “ ”, that is, "Disable
Priority". The following example illustrates this scenario:
The following example illustrates a command to specify the alarm filter criteria of alarm
type from the Command Prompt window:
When /alarmtype is not specified, the default alarm filter criteria is “ ”, that is, equivalent
to point name wildcard character (*). The following example illustrates this scenario:
The following example illustrates a command to specify the alarm filter criteria of point type
from the Command Prompt window:
When /pointtype is not specified, the default alarm filter criteria is “ ”, that is, equivalent
to point name wildcard character (*). The following example illustrates this scenario:
The following example illustrates a command to specify the alarm filter criteria of point
name from the Command Prompt window:
When /pointname is not specified, the default alarm filter criteria is “ ”, that is, equivalent
to point name wildcard character (*). The following example illustrates this scenario:
336 OPH070
Using command line options to perform a historical review
The following example illustrates a command to specify the alarm filter criteria of point
name (wildcard *) from the Command Prompt window:
The following example illustrates a command to specify the alarm filter criteria of point
name (wildcard %) from the Command Prompt window:
The following example illustrates a command to specify the alarm filter criteria of point
name (wildcard single character match) from the Command Prompt window:
Syntax
/filter-ope [/networkunit “netunit”] [/drop “drop-list”]
[/pointname “pointname”]
Where:
Note
If /group, /subtype, or /pointname is not specified, an error is returned upon
execution.
OPH070 337
Using command line options to perform a historical review
Examples
The following example illustrates a command to specify the operator event filter criteria of
Ovation networks and units from the Command Prompt window:
When /networkunit is not specified, the default operator event filter criteria is “ ”, that is,
"Select All Networks". The following example illustrates this scenario:
The following example illustrates a command to specify the operator event filter criteria of
drops list from the Command Prompt window:
When /drop is not specified, the default operator event filter criteria is “ ”, that is, "All
Drops". The following example illustrates this scenario:
The following example illustrates a command to specify the operator event filter criteria of
group list from the Command Prompt window:
When /group is not specified, the default operator event filter criteria is “ ”, that is,
equivalent to point name wildcard character (*). The following example illustrates this
scenario:
The following example illustrates a command to specify the operator event filter criteria of
sub type from the Command Prompt window:
When /subtype is not specified, the default operator event filter criteria is “ ”, that is,
equivalent to point name wildcard character (*). The following example illustrates this
scenario:
The following example illustrates a command to specify the operator event filter criteria of
point name from the Command Prompt window:
338 OPH070
Using command line options to perform a historical review
When /pointname is not specified, the default operator event filter criteria is “ ”, that is,
equivalent to point name wildcard character (*). The following example illustrates this
scenario:
The following example illustrates a command to specify the operator event filter criteria of
point name (wildcard *) from the Command Prompt window:
The following example illustrates a command to specify the operator event filter criteria of
point name (wildcard %) from the Command Prompt window:
The following example illustrates a command to specify the operator event filter criteria of
point name (wildcard single character match) from the Command Prompt window:
Syntax
/filter-ascii [/networkunit “netunit”] [/drop “drop-list”]
Where:
Examples
The following example illustrates a command to specify the ASCII filter criteria of Ovation
networks and units from the Command Prompt window:
When /networkunit is not specified, the default ASCII filter criteria is “ ”, that is, "Select
All Networks". The following example illustrates this scenario:
OPH070 339
Using command line options to perform a historical review
The following example illustrates a command to specify the ASCII filter criteria of drops list
from the Command Prompt window:
When /drop is not specified, the default ASCII filter criteria is “ ”, that is, "All Drops". The
following example illustrates this scenario:
Syntax
/filter-soe [/networkunit “netunit”] [/drop “drop-list”] [/
pointname “pointname”]
Where:
Note
If either of /drop or /pointname is not specified, the All button option is used as the
selected filter criteria.
Examples
The following example illustrates a command to specify the SOE filter criteria of Ovation
networks and units from the Command Prompt window:
When /networkunit is not specified, the All button options are used as search criteria.
The following example illustrates this scenario:
The following example illustrates a command to specify the SOE filter criteria of drops list
from the Command Prompt window:
340 OPH070
Using command line options to perform a historical review
When /drop is not specified, the All button options are used as search criteria. The
following example illustrates this scenario:
The following example illustrates a command to specify the SOE filter criteria of point name
from the Command Prompt window:
When /pointname is not specified, the All button options are used as search criteria. The
following example illustrates this scenario:
The following example illustrates a command to specify the SOE filter criteria of point name
(wildcard *) from the Command Prompt window:
The following example illustrates a command to specify the SOE filter criteria of point name
(wildcard %) from the Command Prompt window:
The following example illustrates a command to specify the SOE filter criteria of point name
(wildcard single character match) from the Command Prompt window:
Syntax
/filter-sis [/networkunit “netunit”] [/ d rop “drop-list”]
Where:
Examples
The following example illustrates a command to specify the SIS filter criteria of Ovation
networks and units from the Command Prompt window:
OPH070 341
To view edited historical data from a Historical Review
When /networkunit is not specified, the default SIS filter criteria is “ ”, that is, "Select All
Networks". The following example illustrates this scenario:
The following example illustrates a command to specify the SIS filter criteria of drops list
from the Command Prompt window:
When /drop is not specified, the default SIS filter criteria is “ ”, that is, "All Drops". The
following example illustrates this scenario:
Use the following steps to view the edited historical data from the Historical Reviews
window:
1. Perform a Historical Review, for example, Point review [308]. The Historical Reviews
window appears:
342 OPH070
To view edited historical data from a Historical Review
2. Click the Historical Review Menu button, and then click Historical Reviews Options
[298].
3. The Historical Reviews Options dialog box appears.
a. From the left pane, click Review Settings.
b. In the right pane, you can toggle between Get Original Value and Get Latest Value
to display either original or the most recent data. In addition, you can select the
Mark Edited Data check box if you want to see pencil icons next to the data that
has been edited.
c. Click OK.
4. Return to the Historical Reviews window. A selected check box appears at the left to
the edited data.
OPH070 343
To view edited historical data from a Historical Review
344 OPH070
Historical Trends overview
• Live Trends: This mode provides dynamic updates of current values along with the
recent history of data just prior to them.
• Historical Trends: This mode allows exploration into past time periods of interest.
• Event Trends: This mode allows identification of event occurrences, request the
corresponding event data file, and to present the data in graphical and tabular form.
See Using Event Trends [389] for more information.
The ribbon style user interface, user interaction, and configuration concepts for Historical
Trends is similar to that of Live Trends – but includes additional features for time navigation
and historical data processing. For more information about configuring the trend’s layout
and appearance, as well as other common operations, refer to the Ovation Operator Station
User Guide. The Ovation Process Historian User Guide focuses mainly on Historical Trend
specific topics.
Historical Trends allow you to visualize historical data for process points in the form of
graphical plots and provide tools necessary to explore and analyze the data. In addition to
graphical plots, table view shows numeric values used for plotting, summary view shows
aggregated results for the whole time span, and radar view shows values on a radar plot at a
time instance.
Live Trends access the Operator Station's Ovation trend buffer, which contains a local,
recent history of values from the Ovation real-time data network. At times, the OPH is
accessed when recent history is needed to be backfilled into this local buffer.
OPH070 345
Historical Trends overview
Historical Trends access the Ovation Process Historian’s (OPH) historical database.
Live Trends and Historical Trends have many of the same features, but there are some other
features that are unique to each type of trend. The following table illustrates the features
that are available for Live Trends and for Historical Trends.
346 OPH070
Historical Trends overview
Refer to the Ovation Operator Station User Guide for detailed information on the following
topics.
• Trend terminology.
• Trend Quick Access Toolbar.
• Using the Trend application menu to perform the following functions:
◦ Create a new Historical Trend.
◦ Open a trend from a file.
◦ Save a trend to a file. Trends are saved in files with a TGD (trend group definition)
extension.
◦ Launch a duplicate trend.
◦ Explore information about user preferences, trend styles, and trend definitions.
◦ Print.
◦ Export.
◦ Save and load user preferences.
◦ Specifying user preferences by using the Trend Options window.
• Using Ribbon menus to perform the following functions:
◦ Change font.
◦ Customize display appearance settings.
◦ Use of Trend Styles to save and load trend display appearance settings. These are
saved in files with a TS extension.
◦ Assign titles to Trend charts.
◦ Choosing trend display layout (stacked panes layout or quadrants layout).
OPH070 347
Historical Trends overview
348 OPH070
Historical Trends overview
2. By default, the Trend window opens in the Live Trend mode, as shown below:
OPH070 349
Components of the Historical Trend window
3. To activate a Historical Trend, select Historical Trend in the Trend Type option, which is
present in the Quick Access Toolbar [352] and the Home [353] ribbon tab [353]. The
Historical Trend window appears:
350 OPH070
Trend Menu button
The following table describes various functions provided by the Trend Menu button.
Function Description
New Allows you to create a new trend of a specific type:
• Live Trend
• Historical Trend
• Event Trend
Open Allows you to open an existing Live or Historical Trend from a previously saved
Trend Group Definition (.tgd) file.
Save Allows you to save changes in the current trend configuration.
Save As Allows you to save the current trend configuration as a Trend Group Definition
(.tgd) file.
Launch Allows you to open a duplicate instance of a currently displayed Trend in a new
Duplicate separate Trend window. The new instance can be modified independently.
OPH070 351
Trend Quick Access Toolbar
Function Description
Explore Displays different windows that provide information about user preferences,
trend styles (current or saved), and trend definitions (current or saved).
Print Displays the Print, Print Preview, and Page Setup options.
Export Opens the Export window. You can export the contents of the Trend data views
window to Text, Image, CSV, HTML, PDF, XML, MHT, RTF, XLS, and XLSX formats.
Preferences Opens the Preferences window that can be used to save application settings that
can then be applied to subsequent Trend sessions.
Historian Opens the Preferences window that can be used to save the historical data source
Preferences (Ovation Process Historian) host and user-specified time zone abbreviation
settings. These settings can then be applied to subsequent Trend sessions.
Trend Options Displays the Trend Options window that allows you to specify application defaults
and behavior settings for the current session. These settings can be saved as user
preferences that can then be applied to all new Trend application sessions.
Exit Trend Closes the Trend window.
Recent Lists the most recently opened Trend Definition files.
Documents
The following table describes the functions available in the Trend Quick Access Toolbar.
Function Description
Trend Type Allows you to activate the Live or Historical Trend.
Full Page Back and Full Displays trend for previous full page of data or next full page of data,
Page Next respectively.
Time Span Specifies time span for a Historical Trend.
Trace Properties Allows you to configure traces and their properties.
Browse Points Allows you to browse and add the points to trend.
Add point Allows you to add a single point to the trend. Clicking the down arrow on
the right allows the addition of a compound trace item.
Begin Initiates a request to get the trend data from the Historian and uses that
data to update the Trend window contents.
352 OPH070
Ribbon tabs
Refer to the Ovation Operator Station User Guide for more details about the ribbon tabs.
Note
For users who have enabled the Triggered Events functionality, the Trend Type
function also includes the Event Trend option.
The following figure shows the Home ribbon tab of a Historical Trend.
OPH070 353
Ribbon tabs
The following figure shows the Format ribbon tab of a Historical Trend.
354 OPH070
Trend data view (Dockable) tabs
These tasks define the trend content and allow you to explore the trend request results.
Note
See Historical Trend specific menu options on the Trend ribbon tab [364] for the Trend
ribbon tab menu options specific to Historical Trends.
The following figure shows the Trend ribbon tab of a Historical Trend.
• Graph [356].
• Table View [358].
• Summary View tab (displayed for Historical Trends, but not available for Live Trends)
[359].
• Radar View tab [360].
• Event List tab (displayed only if a triggered event is present in the specified time range)
[361].
OPH070 355
Trend data view (Dockable) tabs
• Information view tab (displayed for Live Trends, but not available for Historical Trends).
You can interactively dock these views in an application window through the use of the
Guide Diamond tool. You can arrange the dockable tab view panels as a group of tabbed
windows or you can dock them with each other for simultaneous viewing. These view
panels can also float independently and can be placed on different monitors. For more
details, refer to the Ovation Operator Station User Guide for more details about the
dockable tabs.
You can access different aspects of Historical Trend data using the following view tabs:
Graph, Table View, Summary View, Radar View, and Event List. The context ribbon tab for
the Historical Trend provides ways to customize and navigate the historical data display. The
Details Panel provides a quick view of information about traces like Point Name,
Description, Historian, Units, Value, and Scales.
The following figure depicts a Graph tab view for the Historical Trend application, but with
two types of processing. The upper portion depicts actual data retrieval while the lower
portion depicts raw data retrieval. Actual processing shows the sample value at certain time
intervals, based on the trend duration and number of samples requested. Raw processing
shows the sample based on value changes during the trend duration. Therefore, it shows all
spikes in data, not just those that occur at certain intervals.
356 OPH070
Trend data view (Dockable) tabs
Figure 303. Graph tab showing both actual and raw processing
When the Trend application has the Triggered Events option enabled [389] and if triggered
events (generated by Controller, DEC module, COMTRADE, or High Speed Data Recorder)
are present in the trend time span, an E icon appears in the Graph tab.
OPH070 357
Trend data view (Dockable) tabs
If you click the E icon on a Historical Trend, the Event Trend window appears. The Event
Trend window displays a T icon for triggered events. See Using Event Trends [389] for more
information.
Function Description
Launch Event Trend Opens the Event Trend in the same window.
Launch Event Trend (New Window) Opens the Event Trend in a new window.
Memorize Event Time Span Memorizes the current time span in effect.
Browse Events Opens the Events Browser window.
358 OPH070
Trend data view (Dockable) tabs
OPH070 359
Trend data view (Dockable) tabs
360 OPH070
Trend data view (Dockable) tabs
Note
A Historical Trend displays an Event List tab only if triggered events are detected in its time
range.
The Event Details tab displays details about an event. The following figure depicts an Event
List tab view for the Historical Trend application.
OPH070 361
Trend data view (Dockable) tabs
If you double-click an event record, the Event Trend window appears. See Using Event
Trends [389] for more information.
Figure 310. Interaction between Graph, Radar, and Table view tabs when Trace Explorer is
active
362 OPH070
Properties Panel
You can show or hide the Properties Panel through the Format [353] ribbon tab [353].
Select or clear the Properties Panel check box to show or hide the panel.
You can show or hide the Details Panel through the Format [353] ribbon tab [353]. Select or
clear the Details Panel check box to show or hide the panel.
The Visibility Panel is an alternative location for controlling trace and scale visibility. It is
useful because the Details panel [363] is sometimes hidden itself or is usually sized such
that all points cannot be viewed without scrolling through its rows.
The following table describes the trend time specification in the status bar for Live,
Historical, and Event Trends.
OPH070 363
Historical Trend specific menu options on the Trend ribbon tab
Table 68. Historical Trend specific menu options on the Trend ribbon tab
Option Description
Begin Use this option to initiate data retrieval from the historian and to update the trend
display. If start time and/or end time are specified as relative time, they are
recalculated. This option uses cached data on a client machine, if available.
Refresh Use this option to refresh the trend display with newly acquired data from the historian
without altering the time span. This functionality can be useful when the trend contains
SCADA point data that may have been delayed in getting to the historian.
Set (Time Use these options to deal with time span settings:
Span)
• Click Set and the Choose Time Span dialog box [373] appears. In the dialog box,
you can specify start time, end time, and number of data samples for the whole
trend. The number of data samples can be overridden for individual trace items.
• The associated drop-down menu [374] with the Set menu option offers convenient
time span presets. For example, the Yesterday option sets the start time to 00:00
yesterday (yd) and end time to 00:00 today (td) in terms of relative time.
• Click Memorize to memorize the current time span in effect.
• Click Recall to recall the memorized time span and to update the trend display
accordingly.
Data Use this option to retrieve more granular data for a reduced time range. The associated
Zoom-In menu options allow 25%, 50%, and 75% zoom-in levels. Clicking on the top part of the
button performs a 25% zoom-in.
Data Use this option to retrieve less granular data for a wider time range. The associated
Zoom-Out menu options allow 25%, 50%, and 75% zoom-out levels. Clicking on the top part of
the button performs a 25% zoom-out.
Page Back Use this option to update trend display to show data in the preceding time span with
respect to the time span currently in effect. The associated menu options allow going
back by full page and half page.
Page Next Use this option to update trend display to show data in the succeeding time span with
respect to the time span currently in effect. The associated menu options allow going
forward by full page and half page.
Note
Right-click and dragging the pointer creates a zoom rectangle to perform data zoom-in.
Pressing the ESC key or a left-click cancels this operation.
364 OPH070
Historical Trend specific user preferences
Refer to the Ovation Operator Station User Guide for more information about user
preferences and the Trend Options window.
OPH070 365
Working with Historical Trends
366 OPH070
Working with Historical Trends
3. The Specify Point Information dialog box appears as specified by either number of data
samples or interval type (time unit and associated parameters):
OPH070 367
Working with Historical Trends
All aggregate results are returned with timestamps at the start of an interval except Raw,
Start, and End processing types. The aggregate query returns one result for each interval,
based on the total duration specified and number of intervals. The result is composed of
value, status, and other pertinent information.
Actual aggregates are processed regardless of quality. For all other processing types, only
good or fair quality samples are used in the calculation if there is at least one good or fair
quality sample. If there are no good or fair quality samples, the calculation is performed
with the bad or poor samples.
368 OPH070
Working with Historical Trends
A timed-out sample is considered as a bad quality sample. The quality of an interval is good
if more than 75% of the interval is good. Similarly, the quality of an interval is bad if more
than 75% of the interval is bad.
OPH070 369
Working with Historical Trends
Interval Type: Trace sample interval can be specified as Number of Samples or one of the
time unit intervals: hour, minute, second, day, month, or millisecond. A down arrow button
with drop-down menu allows you to specify preset times.
Samples: Use this field to define the number of samples (1 to 2,000) to retrieve for Historical
Trends. Live Trends are fixed at 600 samples. Each trace can have unique samples counts.
Interval Multiplier: When the interval type is Time unit, this field is used to specify the
multiplier to be applied to the selected time unit, for example, 10 minutes, 3 hours.
Interval Alignment: When the interval type is Time unit, this field is used to specify how the
start of the interval should be aligned with time. If the alignment is Start, the first interval
start time aligns with the start time of the trend; if the alignment is Clock, the start of the
intervals aligns with the top value of the selected time unit. For example, if the time unit is
Hour, the start of each interval aligns with the start of the hour.
Conversion Constant: Use this field to supply the units conversion constant to be used for
Integration, Full Integration, and Rate of Change processing types when trending this type
of data from the historian.
Bit Mask: This field applies only to packed point items and is grayed out if the selected point
is not a packed point.
You can also add points to an Historical Trend by the following methods:
• Drag and drop a point in the Trend window from other Ovation applications, such as
Point Review to view its trend trace. The point is added to the underlying pane or
quadrant.
• Use the Browse Points option on the Trend ribbon tab to browse for points and add
them.
• Use the Trace Properties option on the Trend ribbon tab.
370 OPH070
Working with Historical Trends
Note
Compound trace items can be added by using the Trace Properties option on the Trend
ribbon tab or by clicking the down arrow on the right side of the Add menu option of the
Trend ribbon tab. Refer to the Ovation Operator Station User Guide for more information.
Note
You can also delete a point by using the right-click menu in the Details Panel.
OPH070 371
Working with Historical Trends
• A Historical Trend can be saved for a specific absolute period in time. This trend can
then be recalled later as a benchmark reference.
• A Historical Trend can be saved with a time range relative to the current time (time of
trend request) or the most recent time boundary (beginning of most recent hour, day,
or week). This trend can then be used to obtain a recent time period for analysis.
You can program trend definitions to execute their retrieval request automatically when
loaded, or to wait for user action.
Use the following steps to save a trend so that you can revisit it later:
372 OPH070
Working with Historical Trends
13.13.6 To specify a time span using the Choose Time Span dialog
box
Use the following steps to specify a time span by using the Choose Time Span dialog box:
4. You can specify the time span by using the following options:
• Start Time and End Time
• Start Time and Duration
• End Time and Duration
• Absolute time specification syntax
• Relative time specification
• Time zone selection
• Current time reset (the “C” button)
• Previous entered time reset (the “L” button)
Duration is one of preset durations that are the same as the presets for Live Trends. Start
time and/or end time can be specified as either absolute value or relative value. In the date-
time box for absolute date-time, the suffix LCL means local time zone. If time zones are
configured in the Trend Options window, they appear in a drop-down window activated by
a click on the down arrow in the date-time box. You can select a time zone for specifying
time in that time zone. This feature allows you to specify a time zone setting that is different
from your local time zone. It is useful when the historian has data collected from a large
geographic area and you want to present the data by using the same time zone as the
remote Ovation system.
OPH070 373
Working with Historical Trends
Note
Input date/time format user preference [365] controls the format of absolute date-time
string appearing in Start Time and End Time boxes. Clicking C option button shows current
time in date-time box and clicking L option button restores the time span to the one used
for the last request.
The pencil icon at the right end of the date-time box toggles absolute and relative mode.
Relative time can be specified by typing the string or by using the drop-down window
activated by a click on the down arrow in the date-time box. The following figure shows the
drop-down window that can be used to specify relative time interactively.
Relative time makes it unnecessary to specify absolute time values every time a trend needs
to be generated.
13.13.7 To specify a time span using the Set Time Span drop-
down list
Use the following steps to specify a time span by using the Set Time Span drop-down list:
374 OPH070
Working with Historical Trends
2. Click the drop-down arrow below Set in the Time Span group of the Trend [355] ribbon
tab [355] to view the available time span options. The options include easy-to-use time
period presets, as shown in the following figures:
Figure 316. Main options in the Set Time Span drop-down list
OPH070 375
Working with Historical Trends
376 OPH070
Working with Historical Trends
Figure 319. Further options associated with the "From start of" option
OPH070 377
Working with Historical Trends
3. You can specify the time span by selecting any option from the list. If the current date is
February 26, 2013 (Tuesday) and current time is 11:45, the Trends application
interprets various options as described in the following table.
10:00 11:00
Yesterday February 25, 2013 February 26, 2013
00:00 00:00
Last ® Monday February 25, 2013 February 26, 2013
00:00 00:00
Last ® Tuesday February 19, 2013 February 20, 2013
00:00 00:00
Last ® Wednesday February 20, 2013 February 21, 2013
00:00 00:00
Last ® Thursday February 21, 2013 February 22, 2013
00:00 00:00
Last ® Friday February 22, 2013 February 23, 2013
00:00 00:00
Last ® Saturday February 23, 2013 February 24, 2013
00:00 00:00
Last ® Sunday February 24, 2013 February 25, 2013
00:00 00:00
Past ® 10 minutes February 26, 2013 February 26, 2013
11:35 11:45
Past ® 30 minutes February 26, 2013 February 26, 2013
11:15 11:45
Past ® 60 minutes February 26, 2013 February 26, 2013
10:45 11:45
Past ® 2 hours February 26, 2013 February 26, 2013
09:45 11:45
Past ® 1 day February 25, 2013 February 26, 2013
11:45 11:45
Past ® 2 days February 24, 2013 February 26, 2013
11:45 11:45
378 OPH070
Working with Historical Trends
11:45 11:45
Past ® 14 days February 12, 2013 February 26, 2013
11:45 11:45
Current Hour February 26, 2013 February 26, 2013
11:00 11:45
Today February 26, 2013 February 26, 2013
00:00 11:45
Current Week February 25, 2013 February 26, 2013
00:00 11:45
From start of ® Today February 26, 2013 February 26, 2013
00:00 11:45
From start of ® Yesterday February 25, 2013 February 26, 2013
00:00 11:45
From start of ® Last Monday February 25, 2013 February 26, 2013
00:00 11:45
From start of ® Last Tuesday February 19, 2013 February 26, 2013
00:00 11:45
From start of ® Last Wednesday February 20, 2013 February 26, 2013
00:00 11:45
From start of ® Last Thursday February 21, 2013 February 26, 2013
00:00 11:45
From start of ® Last Friday February 22, 2013 February 26, 2013
00:00 11:45
From start of ® Last Saturday February 23, 2013 February 26, 2013
00:00 11:45
From start of ® Last Sunday February 24, 2013 February 26, 2013
00:00 11:45
OPH070 379
Working with Historical Trends
Note
Memorize and Recall options are available for Historical and Event Trends, not for Live
Trends.
Trace Description
property
Historian Use this option to specify the Ovation Process Historian that supplies historical data.
It can be specified per trace item.
Note
Use the Trend Options dialog box to specify a list of historians to be used for
Historical Trend.
Processing Use this option to specify the mathematical calculation logic applied to the
Type historical process values.
Conversion Use this option to specify the floating-point number that applies to processing types
Constant of Integration, Full Integration [381] and Rate of Change [382].
Interval Type Trace sample interval can be specified as Number of Samples or one of the time unit
intervals: hour, minute, second, day, month, millisecond.
Samples Use this option to specify the number of data samples. This is a number in the range
of 1 to 2000. Using this property, you can request plots of trace items with different
number of data samples. Trace items with more data samples show more detailed
plot whereas trace items with less data samples may be used for a coarse view of
data.
Each trace can have its own sample quantity. For example, a daily trend consisting of
one or more traces of 24 hourly average samples along with one or more
superimposed plot trace of 2000 actual values.
Interval When the interval type is Time unit, this field specifies the multiplier to be applied to
Multiplier the selected time unit, for example, 10 minutes, 3 hours.
380 OPH070
Working with Historical Trends
Trace Description
property
Interval When the interval type is Time unit, this field is used to specify how the start of the
Alignment interval should be aligned with time. If the alignment is Start, the first interval start
time aligns with the start time of the trend; if the alignment is Clock, the start of the
intervals aligns with the top value of the selected time unit. For example, if the time
unit is Hour, the start of each interval aligns with the start of the hour.
Bit Mask This property applies only for PACKED points. For Actual processing type, it is a set of
ON consecutive bits. For processing types other than Actual, only one bit can be
specified to retrieve results based on that bit position.
The following figure shows the Trace Properties window for the Historical Trend application:
Full Integration
Full Integration is a processing type (in the Trace Properties window [365]) that performs
the retrieval of integration samples from the Ovation Process Historian. However, instead of
plotting the samples individually, the plots have successively accumulated values over the
displayed time span.
OPH070 381
Working with Historical Trends
The following figure shows the difference between the Integration and Full Integration
processing types. In this example, a point with a constant flow rate of 14 gallons per hour is
trended for a one-hour time span. The same point is plotted in the second trend pane with
the Integration processing type applied with the trend divided into 10 six-minute
integration results, using the units conversion constant specified in the point’s trace
properties. The third trend pane shows the same point with the Full Integration processing
type specified, which shows the six-minute integrations successively accumulated over the
trend time span.
Rate of Change
Rate of Change is an OPH retrieval processing type (in the Trace Properties window [380])
that uses the inverse of the value entered in the Conversion Constant field.
Use the following steps to activate the deferred execution mode for Historical Trends:
382 OPH070
Working with Historical Trends
Figure 322. Choose Time Span dialog box while using a deferred execution mode in
Historical Trends
4. Click OK. As you can see, if the current time is 2/4/2013 [Link] LCL, the time range is
automatically set as follows:
• Start Time: Current Time (ct) - Duration = (2/4/2013 [Link] LCL) - (10 min) =
2/4/2013 [Link] LCL
• End Time: ct
• Duration: 10 minutes
Note
Clicking OK in the Trace Properties window retains this mode if the trend was
already in deferred mode. Otherwise, the trend is updated immediately.
OPH070 383
Working with Historical Trends
Note
Digital points cannot be used as XY plot X Axis.
384 OPH070
Working with Historical Trends
OPH070 385
Working with Historical Trends
5. The Trend Options window appears. Select Data Display from the left pane of the
window. From the right pane, select either of the following XY Plot Display options:
• Scatter Point: Displays the XY plot as dots without any interconnecting lines.
• Scatter Line: Displays the XY plot as lines connecting consecutive samples.
386 OPH070
Working with Historical Trends
6. Return to the Historical Trend window. The following figure depicts a historical trend
with a scatter line XY plot if you select the following options:
• Scatter Line option for XY Plot Display in the Trend Options window (see Step 4).
• XY Plot - X Axis option from the Properties panel [363] or Trace Properties window
[380].
OPH070 387
Working with Historical Trends
7. The following figure depicts a historical trend with a scatter point XY plot if you select
the following options:
• Scatter Point option for XY Plot Display in the Trend Options window (see Step 4).
• XY Plot - X Axis option from the Properties panel [363] or Trace Properties window
[380].
8. You can also specify the following X-axis options by right-clicking a point in the Details
panel:
• Set as X-axis
• Set Time as X-axis
Figure 328. Historical Trend window -- Right-click menu of the Details panel
388 OPH070
Event Trends overview
Use the following steps to run an Event Trend from the Events Browser window:
OPH070 389
To enable the event trending functionality
390 OPH070
To enable the event trending functionality
2. The Trend Options window appears. Select Events from the left pane of the window.
Perform the following steps in the right pane:
a. Select the Enable Triggered Events check box.
b. (Optional) Select the Enable Soe Trending check box if you want to allow trending
of SOE messages over a triggered event time span.
c. Click OK.
OPH070 391
To enable the event trending functionality
Figure 331. Launching Event Trend from the Trend Menu button
Figure 332. Launching Event Trend from the Quick Access Toolbar
392 OPH070
To specify event filters in the Events Browser window
OPH070 393
To specify event filters in the Events Browser window
2. From the Events Browser window, click Set Filters. The Events Browser window updates
to show additional fields for specifying filters.
Function Description
Time Span Specifies the time span by using any of the following options:
• DEC Module
• Controller
• COMTRADE
• High Speed Data Recorder
Source Drop Specifies the Source drop from where an event originates.
394 OPH070
To specify event filters in the Events Browser window
3. After you specify the filter options, click Start from the taskbar. The Event Records
group displays the search results in the form of event records.
14.3.1 Specifying time span filter for Events search using the
Time Span dialog box
Use the following steps to specify a time span filter by using the Time Span dialog box:
OPH070 395
To specify event filters in the Events Browser window
Note
Click the Time Span button to open the dialog box. If you click the drop-down arrow
(adjacent to the button), the Time Span drop-down list appears [398].
396 OPH070
To specify event filters in the Events Browser window
4. In the Time Span dialog box, you can specify the time span by using the following
options:
• Start Time and End Time
• Start Time and Duration
• End Time and Duration
• Absolute time specification syntax
• Relative time specification
• Time zone selection
• Current time reset (the “C” button)
• Previous entered time reset (the “L” button)
Duration is one of the preset durations that are the same as the presets for Live Trends.
Start time and/or end time can be specified as either absolute value or relative value. In
the date-time box for absolute date-time, the suffix LCL means local time zone. If time
zones are configured in the Trend Options window, they appear in a drop-down
window activated by clicking the down arrow in the date-time box. You can select a
time zone for specifying time in that time zone. This feature allows you to specify a
time zone setting that is different from your local time zone. It is useful when the
historian has data collected from a large geographic area, and you want to present the
data by using the same time zone as the remote Ovation system.
Note
Input date/time format user preference [410] controls the format of the absolute date-
time string that appears in the Start Time and End Time boxes. Clicking the C option
button shows the current time in the date-time box. Clicking the L option button
restores the time span to the one used for the last request.
The pencil icon at the right end of the date-time box toggles absolute and relative
mode. Relative time can be specified by typing the string or by using the drop-down
window activated by clicking the down arrow in the date-time box. The following
figure shows the drop-down window that can be used to specify relative time
interactively.
OPH070 397
To specify event filters in the Events Browser window
14.3.2 Specifying time span filter for Events search using the
Time Span drop-down list
Use the following steps to specify a time span filter by using the Time Span drop-down list:
Note
Click the drop-down arrow, adjacent to the Time Span button, to open the Time Span
drop-down list. If you click the Time Span button, the Time Span dialog box appears
[395].
398 OPH070
To run an Event Trend from the Events Browser window
3. You can specify the time span by selecting any option from the list. For example, if the
current date is April 26, 2017 (Wednesday) and the current time is 11:45, the Event
Trends application interprets various options as described in the following table.
00:00 11:45
Yesterday April 25, 2017 April 26, 2017
00:00 00:00
Past 7 days April 19, 2017 April 26, 2017
11:45 11:45
Past 14 days April 12, 2017 April 26, 2017
11:45 11:45
Past 21 days April 5, 2017 April 26, 2017
11:45 11:45
Past 1 Month March 26, 2017 April 26, 2017
11:45 11:45
Past 2 Months February 26, 2017 April 26, 2017
11:45 11:45
OPH070 399
Event types
4. Click Launch Trend, located at the upper-right corner of the Events Browser window.
OR
Double-click the event record.
(For example purposes, the following figure depicts the selection of a Controller event.)
5. The Event Trend window appears for the selected event record. You can view the trend
details in the following tabs:
• Graph [403].
• Table View [405].
• Event Details [407].
Controller:
The Ovation Process Historian (OPH) stores configured Ovation Controller Triggered Events
in data files. Data collected before and after the selected variables are stored as well.
See the applicable Ovation Controller User Guide for more details.
DEC module:
The Digital Excitation Controller (DEC) module captures ultra-high frequency oscillography
data for internal DEC I/O module variables, which occurs when a configured trigger
condition is met and uses OPH to store data as events.
Select this option to browse ultra-high frequency oscillography data and launch the trend of
event variables.
400 OPH070
Components of the Event Trend window
See the Digital Excitation Controller User Guide for more details.
The High Speed Data Recorder (HSDR) records high frequency data from Ovation
controllers, based on data recorder session configuration. The recorded data is presented as
events in the Events Browser.
Select this option to browse high frequency data from the Ovation controller and launch the
trend of event variables.
See the High Speed Data Recorder User Guide for more details.
COMTRADE:
The OPH supports the collection, storage, retrieval, and display of Common Format for
Transient Data Exchange (COMTRADE) files. User-defined Intelligent Electronics Devices
(IEDs) occasionally create event reports and store these reports in files in the standard
COMTRADE format. These files contain detailed information concerning the event,
including timestamped process values and metadata describing the values, the event, and
the source device. These files are stored at the OPH so that they can be retrieved at a later
time and analyzed.
The Ovation Controller and SCADA server currently have the ability to do minor file
management through the IEC 61850 MMS protocol. This ability is enhanced so that the
SCADA server detects when COMTRADE files are created by IEDs and sends them to the
OPH.
Select COMTRADE to browse transient power system disturbances and launch the trend of
event variables.
See IEC 61850 MMS Client Protocol with Ovation for more details.
• Trend Menu Button: Same as Historical Trends. See Trend Menu button [351].
• Trend Quick Access Toolbar: Different from Historical Trends. See Quick Access Toolbar
of an Event Trend [402].
• Ribbon tabs: The following tabs are available:
◦ Home ribbon tab: Same as Historical Trends. See Home ribbon tab [353].
◦ Format ribbon tab: Same as Historical Trends. See Format ribbon tab [353].
◦ Trend ribbon tab: Different from Historical Trends. See Trend ribbon tab of an
Event Trend [403].
• Dockable tabs or Trend Data Display view panels: Different from Historical Trends. The
following tabs are available:
◦ Graph tab [403].
◦ Table View tab [405].
◦ Event Details tab [407].
OPH070 401
Components of the Event Trend window
The following table describes the functions available in the Event Trend Quick Access
Toolbar, from left to right.
Function Description
Trend Type Allows you to activate the Live, Historical, or Event Trend.
402 OPH070
Components of the Event Trend window
Function Description
Full Page Back and Full Page Displays a trend for a previous full page of data or next full page of
Next data, respectively.
Trace Properties Allows you to configure traces and their properties [414].
These tasks define the trend content and allow you to explore the trend request results.
Note
See Event Trend specific menu options on the Trend ribbon tab [409] for the Trend ribbon
tab menu options specific to Event Trends.
The following figure depicts the Trend ribbon tab of an Event Trend.
Note
Generally, the graph of a Controller-type Event Trend spreads over 3 minutes (2 minutes
before and 1 minute after the T icon).
The following figure depicts a Graph tab view for an Event Trend generated from a
Controller event.
OPH070 403
Components of the Event Trend window
The following figure depicts a Graph tab view for an Event Trend generated from a DEC
Module event.
Figure 344. Event Trend window -- Graph tab (DEC Module event)
404 OPH070
Components of the Event Trend window
Note
When the graph of an Event Trend contains a lot of trend activity, it is difficult to get the
drag box to appear when you are attempting to click-drag zoom, and a circle with a slash
appears as the cursor. To override this behavior, press and hold the Control key before the
click-drag operation.
Note
Click-drag with a Control key (Control+click-drag) is also used to force a zoom, instead of a
pan, whenever the pan hand cursor appears. This is the case whenever the Display Ratio
becomes 1:1, indicating that there is no additional detail available from the buffer. The
Control+click-drag operation magnifies the existing plot data.
Note
The Table View tab does not display approximated rows. It displays all rows from the event
data file.
• Green: Displays event data that falls in the time range being displayed for the trend.
• Gray: Displays event data that falls outside the time range being displayed for the
trend.
The following figure depicts a Table View for an Event Trend generated from a Controller
event.
OPH070 405
Components of the Event Trend window
Figure 345. Event Trend window -- Table View tab (Controller event)
The following figure depicts a Table View for an Event Trend generated from a DEC Module
event.
Figure 346. Event Trend window -- Table View tab (DEC Module event)
406 OPH070
Components of the Event Trend window
The following figure depicts an Event Details tab view for an Event Trend generated from a
Controller event.
Figure 347. Event Trend window -- Event Details tab (Controller event)
The following figure depicts an Event Details tab view for an Event Trend generated from a
DEC Module event.
OPH070 407
Components of the Event Trend window
Figure 348. Event Trend window -- Event Details tab (DEC Module event)
408 OPH070
Event Trend specific menu options on the Trend ribbon tab
Figure 349. Interaction between Event Trend view tabs when Trace Explorer is active
Table 76. Event Trend specific menu options on the Trend ribbon tab
Option Description
Browse Use this option to open the Events Browser window [389]. Use this window to specify
Events event search filters and run an Event Trend.
Refresh Use this option to refresh the trend display with newly acquired event data without
altering the time span.
Add Use this option to perform the following actions:
• Add All Points: Adds all the available points to an Event Trend.
• Add Soe Points: Adds an SOE point to an Event Trend. You can select an SOE point
from the list of available SOE points.
Set (Time Use these options to configure time span settings:
Span)
• Associated drop-down menu with the Set menu option offers convenient time
span presets for the Event Trend: 2, 6, 10, 30, 60, 120, and 180 seconds.
• Click Memorize to memorize the time range of an event trend that can be recalled
later for historical trend and event trend.
• Click Recall to recall the memorized time span and to update the trend display
accordingly.
Browse Use this option to open the Add Event Points window. The window displays a list of
Points available event points. Select points to add to a trend.
OPH070 409
Event Trend specific user preferences
Option Description
Page Back Use this option to update the trend display to show data in the preceding time span
with respect to the time span currently in effect. The associated menu options allow
navigating backward by a full page and half page.
Page Next Use this option to update the trend display to show data in the successive time span
with respect to the time span currently in effect. The associated menu options allow
going forward by a full page and half page.
Note
Refer to the Ovation Operator Station User Guide for more information about user
preferences and the Trend Options window.
Option Description
Events Default Style Allows you to select a Trend file as a default style file for an Event Trend.
Enable Triggered Events Enables the event trending functionality [389].
Default Lookup Period for Specifies the default search time period (in months) for browsing events
browsing Events when the Events Browser window is launched.
Enable Soe Trending Allows trending of digital data associated with SOE messages over a
triggered event time span.
Data Recorder SOE Allows you to select Historian to access SOE data for Data Recorder
Historian Trend.
410 OPH070
Working with Event Trends
OPH070 411
Working with Event Trends
However, in case of Event Trends, both left-click and right-click zooms produce the same
action:
• To plot a higher resolution data set until the data to plot has a Display Ratio of 1:1. After
this, both left-click and right-click show a magnified view of the raw data values.
For example, consider a 30-second DEC event with 0.390625 millisecond sample interval.
This produces 76,800 samples to represent in the Event Trend, which is far more than the
pixels to show them. The trend application processes the samples to produce a reduced
number of plot values in such a way as to not lose transients and they are written to the
graph display canvas. Initially, that 30 sec has a Display Ratio of 38:1, meaning that
approximately 2000 plots are written to the graph. When a zoom is initiated, the original
data file is reprocessed using the zoomed time span to produce a new set of ~2000 plot
values. This zoom reprocessing occurs until the Display Ratio is 1:1. At this time, the zoom
action does not reduce the number of plot samples, but plots all applicable samples,
resulting in an exact graphical presentation. Further zooming provides a shorter time span
and a magnified view of the sample values.
To restore the original Time Span, you can double-click in the graph canvas or choose the
full range option in the Set Time Span pull-down list.
Note
This function becomes active only after you perform one or more zooms on a trend. You
cannot page through an Event Trend that is showing a full range time span.
Use the Page group of the Trend ribbon tab to view previous and next time periods of the
trend data, as described in the following steps:
412 OPH070
Working with Event Trends
2. From the Event Trend window, click the Trend [351] Menu button [351], and then click
Save As. The Save As Trend file (TGD) dialog box appears:
Note
Memorize and Recall options are available for Historical and Event Trends, not for Live
Trends.
OPH070 413
Working with Event Trends
Note
Use the Trend Options dialog box to specify a list of historians to be used for Event
Trends.
The following figure shows the Trace Properties window for the Event Trend application.
414 OPH070
Working with Event Trends
To add a trace to an Event Trend, use the Add Points button in the Trace Properties window
[414]. You can also add a trace using the + Add and Browse Points functions in the Trend
ribbon tab of an Event Trend [403].
OPH070 415
Working with Event Trends
4. The Event Trend window displays the trend for the selected points, including the SOE
points, over the triggered event time span.
416 OPH070
Historian Desktop Tools overview
• Microsoft Excel add-in [418]. Microsoft Excel 2007, 2010, 2013, and 2016 are
supported.
Note
Ensure Microsoft Excel is installed before you install Historian Desktop Tools on a
system.
• Trend [463].
• Review [463].
Trend, Review, and the Excel Add-in consume a license whenever the product is launched on
a Desktop Tools machine. One license is consumed per machine regardless of the number of
Desktop Tools applications running simultaneously on that machine.
These three areas of Desktop Tools functionality are described further in the following
sections.
OPH070 417
Using the Microsoft Excel add-in
• Query formulas are entered using dialog boxes or directly into the worksheet cell with
dialogs accessible from the menu bar or toolbar.
• Queries allow the specification of a returned data cell range and optionally limit results
on execution. If a range is not specified, all result rows are allowed. Warns you if non-
empty cells will be overwritten.
• Queries within cells may reference other cells as parameters for example, point name,
historian, and time range.
• Supports single or multiple point names in single query.
• Dialog or direct queries support usage of absolute content or cell references.
• Supports browse of the Historian for point selection in dialogs.
• Supports ability to save multiple queries in single worksheet.
• Same worksheet may contain queries accessing different historians.
• Same worksheet may contain queries utilizing different time ranges.
• Supports absolute time range specification.
• Queries are stored in a cell and may be edited in subsequent session with dialogs or
directly.
• Queries can be copied from one cell to another and follow MS Excel convention for
adjusting referenced cells (relative and absolute cell refs).
• Queries can contain references to other cells that are result of a different query.
• Provides the ability to refresh all formulas (cells) on demand or when worksheet
opened.
• Supports a retrieval of configuration for Point attributes, Point Raw values, Point
Processed values and messages.
• Attribute configuration for Timestamp, Value, Status, and Status evaluation. Column
selection is supported using column attributes.
• Sample flags support indication of missing data ranges including setting of value and
status columns.
• Supports filtering and sorting of message content by time, point name, type, subtype,
origin.
• Integrates Historian Add-in functions into the Excel Wizard using the Insert function.
• View Query Result Statistics button on dialogs to determine result size.
1. Access the Excel add-in by opening Microsoft Excel. The Historian menu appears in the
menu bar.
418 OPH070
Using the Microsoft Excel add-in
3. Select the type of Query you wish to start. The options are Aggregate Data, Point
Attribute, Configuration, Raw Data, and Message. The Queries can also be accessed by
choosing the corresponding shortcut button on the toolbar.
If you are using Microsoft Office 2007, the Queries options appear in the Ribbon Bar.
OPH070 419
Using the Microsoft Excel add-in
4. The appropriate data query window appears. Each data query window is specific to the
type of data requested. Use the window to define your desired query:
• Aggregate Data Query [420].
• Point Attribute Query [429].
• Message Query [430].
• Configuration Query [433].
• Raw Data Query [434].
• Refresh Query [437].
• Options: When you click Options, the Options Dialog appears. The dialog box
allows you to choose the retrieval mode for the data. You can select from the
following modes:
◦ Get original value.
◦ Get latest value.
◦ Get all values.
420 OPH070
Using the Microsoft Excel add-in
1. Access the Aggregate Data Query window [418]. The window appears:
2. Choose the Historian from which you would like to retrieve data.
OPH070 421
Using the Microsoft Excel add-in
3. Choose the Point names for which you would like data. There are three ways to choose
the points. You can choose from the following options:
• Browse from Server.
• Specify Point.
• Refer to Excel Cell.
422 OPH070
Using the Microsoft Excel add-in
4. If you choose Browse from Server from the input types, the Browse and Select Point(s)
dialog box appears:
The following table describes the options in the Browse and Select Point(s) dialog box.
Table 80. Options in the Browse and Select Point(s) dialog box
P - packed points
D - digital points
OPH070 423
Using the Microsoft Excel add-in
5. If you choose Specify Point from the input types, the Specify Point Names dialog box
appears. Enter the point names in the text box.
424 OPH070
Using the Microsoft Excel add-in
6. If you choose Refer to Excel cell from the input types, the Point Names dialog box
appears:
7. Click Param in the Aggregate Data Query window to launch the Point Parameters
dialog box. The dialog box allows you to define point parameters.
8. Return to the Aggregate Data Query window and select the starting location.
OPH070 425
Using the Microsoft Excel add-in
10. Choose the Header type. The options are Minimum Header, Detailed Header, or No
Header.
426 OPH070
Using the Microsoft Excel add-in
Note
Emerson recommends that you use the abbreviated interval terms due to formula
space availability.
12. You can choose to limit the output to a specific number of rows by clicking the Limit
output to box and specifying a number of rows.
13. Enter your date and time information. You can choose UTC or local time in the Time
Zone field. You may also reference cells by choosing the spreadsheet button.
14. Choose the columns for which you would like data to be retrieved by choosing the
column name in the Available columns area and moving them to the Selected columns
area by clicking > or >>. If you select a column that allows Attributes, the Attributes
button is active. See Reference details [437] for available attributes.
OPH070 427
Using the Microsoft Excel add-in
15. This step is optional. You may choose to View Query Result Statistics to preview the
details of the query. A Query Result Statistics window appears. Choose Ok to close this
window.
428 OPH070
Using the Microsoft Excel add-in
1. Access the Point Attribute Data Query window [418]. The window appears:
2. Choose the Historian from which you would like to retrieve data.
3. Choose the Point names for which you would like data. There are three ways to choose
the points. You can choose from the following options:
• Browse from Server.
• Specify Point.
• Refer to Excel Cell.
4. Enter your Output information. Choose the starting location, Output Type, and Header
Type. You can choose to limit your output to a number of rows.
5. Enter your date and time information or refer to a cell. Make sure that the time range
specified is large enough to find available attributes. You may also leave this blank
when querying attributes to retrieve the most recent attribute.
6. Choose the columns for which you would like data to be retrieved by choosing the
column name in the Available columns area and moving them to the Selected columns
area by clicking > or >>. If you select a column that allows Attributes, the Attributes
button is active.
OPH070 429
Using the Microsoft Excel add-in
7. This step is optional. Choose View Query Result Statistics to preview the details of the
query. A Query Result Statistics window appears. Choose Ok to close this window.
430 OPH070
Using the Microsoft Excel add-in
1. Access the Message Data Query window [418]. The window appears:
2. Select the historian from which you would like to retrieve data.
3. Select the type of message that you want to retrieve. The options are:
• Alarm
• Text
• SOE
• Operator Event
• SIS
OPH070 431
Using the Microsoft Excel add-in
4. Select the point names for which you would like to retrieve data. The options are:
• All points: Use this option to select all points from the historian.
• Single point: Use this option to select specific points from the historian. Select the
Exact match check box if you want to match the point name exactly. When you
select the Single point option, the Input type drop-down field is enabled, which
allows you to select the points using the following options:
◦ Browse from Server: Click the ellipses (...) button. Select the points from the
Browse and Select Point(s) window.
◦ Specify Point: Click the ellipses (...) button. Specify the points in the Specify
Point Names window. Use comma to separate point names.
◦ Refer to Excel Cell: Click the ellipses (...) button. Select the points from the
Excel spreadsheet by providing a cell reference.
5. Enter your Output information.
a. Select the Starting location, Output type, and Header type.
b. Select the Limit output to check box if you want to limit your output to a number
of rows. Specify the number of rows in the adjacent field.
6. Enter your date and time information or refer to a cell. From the Time zone drop-down
list, select Local or UTC.
7. Choose the columns for which you would like data to be retrieved by choosing the
column name in the Available columns area and moving them to the Selected columns
area by clicking > or >>. If you select a column that allows Attributes, the Attributes
button is active.
Alternatively, you can use the Refer to Excel cell option. Select the message columns
from the Excel spreadsheet by providing a cell reference.
8. Enter any required message filters.
9. (Optional) Click View Query Result Statistics to preview the details of the query. A
Query Result Statistics window appears. Click OK to close this window.
432 OPH070
Using the Microsoft Excel add-in
2. Choose the Historian from which you would like to retrieve data.
3. Choose the Point names for which you would like data. There are three ways to choose
the points. You can choose from the following options:
• Browse from Server.
• Specify Point.
• Refer to Excel Cell.
4. Enter your Output information. Choose the starting location, Output Type and Header
Type. You can choose to limit you output by number of rows.
5. Choose the columns for which you would like data to be retrieved by choosing the
column name in the Available columns area and moving them to the Selected columns
area by clicking > or >>. If you select a column that allows Attributes, the Attributes
button is active.
OPH070 433
Using the Microsoft Excel add-in
6. This step is optional. Choose View Query Result Statistics to preview the details of the
query. A Query Result Statistics window appears. Choose Ok to close this window.
434 OPH070
Using the Microsoft Excel add-in
1. Access the Raw Data Query window [418]. The window appears:
2. Choose the Historian from which you would like to retrieve data.
3. Choose the Point names for which you would like data. There are three ways to choose
the points. You can choose from the following options:
• Browse from Server.
• Specify Point.
• Refer to Excel Cell.
OPH070 435
Using the Microsoft Excel add-in
4. Click Param in the Raw Data Query window to launch the Point Filter Parameters dialog
box. The dialog box allows you to set condition filters on selected points.
5. Return to the Raw Data Query window and enter your Output information. Choose the
starting location, Output Type and Header Type. You can choose to limit your output to
a number of rows.
6. Enter your date and time information or cell reference.
7. Choose the columns for which you would like data to be retrieved by choosing the
column name in the Available columns area and moving them to the Selected columns
area by clicking > or >>. If you select a column that allows Attributes, the Attributes
button is active.
8. This step is optional. Choose View Query Result Statistics to preview the details of the
query. A Query Result Statistics window appears. Choose Ok to close this window.
436 OPH070
Using the Microsoft Excel add-in
For the Excel 2013 version, which runs all instances of itself within a single process, consider
the following options to minimize such errors:
• The size of the buffer required by the Add-in is a function of the number of columns
requested in a query. It is recommended that you select only the columns required for
the query. Keep the results to a manageable number of rows (below 100,000).
• Redo information is a function of the number of cells currently in use and changes to
them accordingly. Using the Add-in dialog boxes to refresh a query does not consume
redo information. Forcing a recalculation of the formulas (Ctrl+Alt+F9 or Ctrl+Shift
+Enter on the formula) does consume redo information. Do not use these tools if a
query is refreshed.
For versions prior to Excel 2013, which use separate processes for each instance, consider
the following options to minimize such errors:
• Choose the insert function button in Microsoft Excel. The Function Arguments dialog
box appears:
OPH070 437
Using the Microsoft Excel add-in
You must press Ctrl + Shift + Enter for an array formula or choose Enter for text output.
• Choose to Copy and Paste into a cell by pressing Ctrl + C and Ctrl + V, and press <enter>
for a text formula.
You can use the following functions while working on the historian Excel add-in.
OPHGetPointAttr
Retrieves the point attributes from historian.
Syntax (OPHGetPointAttr)
OPHGetPointAttr(connection_string,
point_names,
column_names,
start_time,
end_time,
time_zone,
header_style,
438 OPH070
Using the Microsoft Excel add-in
data_count)
Parameters (OPHGetPointAttr)
Parameter Description
connection_string [in] Specifies the historian drop to connect to. Use empty string ("") to specify
default historian.
point_names [in] Specifies the point names to retrieve. Use comma to separate point names.
column_names [in] Specifies the column names to display. Use the following format:
0 = Local or 1 = UTC
Note
The D/S notation for start and end time entries is not supported in the cell
reference mode for locales whose date format is not mm/dd/yyyy. If used in
such a situation, the time string is interpreted as the mm/dd/yyyy format when
the formula is recalculated by Excel, which leads to unexpected results. To avoid
this issue, either do not use the D/S notation, place the time strings directly into
the formula, or specify the cell referenced time strings in the UTC format.
header_style [in] Specifies the header style to display. Use the following values:
Remarks (OPHGetPointAttr)
For connection_string, you may specify a host name or network IP address. You may specify
actual value or cell reference.
OPH070 439
Using the Microsoft Excel add-in
For point_names, when specifying cell reference, you may specify a list of point names in
one cell or you may put each point name in separate cell.
For a list of column names and attributes, see OPHGetPointAttr( ) function [441]. For
column_names, you may specify actual value or cell reference.
For start_time and end_time, you may specify empty string ("") to return the latest point
attributes. The D (for daylight) or S (for standard) postfix, to distinguish between the
otherwise ambiguous times that occur during the “repeated” hour for the daylight savings
time, is applicable only when time_zone is set to 0 (Local). You may specify actual value or
cell reference.
For time_zone, header_style, and data_count, you may specify actual values but not call
references.
When using cell reference, the required format for the parameter should be specified.
The following are applicable only if query is specified using Insert Function: When one of the
arguments is invalid, the function displays #VALUE! in the selected cells. When the number
of records returned is less than the selected number of rows, the function displays #N/A in
the remaining rows.
Examples (OPHGetPointAttr)
The following example retrieves the point attributes:
"blk00101c1a.unit2@mannet2, blk00101c2a.unit2@mannet2",
"11/01/2007 [Link]",
"11/01/2007 [Link]",
The following example retrieves the point attributes using point names as cell reference:
OPHGetPointAttr("drop160",
"11/01/2007 [Link]",
"11/01/2007 [Link]",
440 OPH070
Using the Microsoft Excel add-in
OPHGetPointAttr("drop160",
OPHGetPointAttr( ) function
The following table describes the possible values of the column_names argument.
n – corresponds to
time zone. Use the Note
following values: Uses time zone
specified in the
1 – Local time_zone
argument if
2 – UTC
attribute is not
specified.
3 – Local D/S
TIME_NSEC NS
SAMP_FLAGS SF
DESCRIPTION ED
AUX_DESCRIPTION AD
ENGINEERING_UNITS EU
OPH070 441
Using the Microsoft Excel add-in
Note
LATITUDE (GX), LONGITUDE (GY), and ALTITUDE (GZ) can be returned, but are reserved for future
use.
OPHGetPointConfig
Retrieves the point configuration from historian.
Syntax (OPHGetPointConfig)
OPHGetPointConfig(connection_string,
point_names,
column_names,
header_style)
Parameters (OPHGetPointConfig)
Parameter Description
connection_string [in] Specifies the historian drop to connect to. Use empty string ("") to specify
default historian.
point_names [in] Specifies the point names to retrieve. Use comma to separate point names.
column_names [in] Specifies the column names to display. Use the following format:
442 OPH070
Using the Microsoft Excel add-in
Remarks (OPHGetPointConfig)
For connection_string, you may specify a host name or network IP address. You may specify
actual value or cell reference.
For point_names, when specifying cell reference, you may specify a list of point names in
one cell or you may put each point name in separate cell.
For a list of column names and attributes, see OPHGetPointConfig( ) function [443]. For
column_names, you may specify actual value or cell reference.
For header_style, you may only specify actual value but not cell reference.
When using cell reference, the required format for the parameter should be specified.
The following are applicable only if query is specified using Insert Function: When one of the
arguments is invalid, the function displays #VALUE! in the selected cells. When the number
of records returned is less than the selected number of rows, the function displays #N/A in
the remaining rows.
Example (OPHGetPointConfig)
The following example retrieves point configuration.
OPHGetPointConfig("drop160",
"blk00101c1a.unit2@mannet2, blk00101c2a.unit2@mannet2",
OPHGetPointConfig( ) function
The following table describes the possible values of the column_names argument.
OPH070 443
Using the Microsoft Excel add-in
n – corresponds to time
zone. Use the following Note
values:
Uses the time zone
1 – Local specified in the
time_zone argument if
2 – UTC attribute is not
specified.
3 – Local D/S
MODIFY_TIME MT Tn MT(Tn) Displays column value
using specified time
Where, zone.
n – corresponds to time
zone. Use the following Note
values:
Uses the time zone
1 – Local specified in the
time_zone argument if
2 – UTC attribute is not
specified.
3 – Local D/S
MAX_SAVE_TIME MST
SOURCE_TYPE ST
PN (Point Derived value based on
Name) ID column.
OPHReadMsgData
Retrieves the message data from historian.
Syntax (OPHReadMsgData)
OPHReadMsgData(connection_string,
444 OPH070
Using the Microsoft Excel add-in
message_type,
point_name,
column_names,
message_filters,
start_time,
end_time,
time_zone,
header_style,
data_count)
Parameters (OPHReadMsgData)
Table 85. Parameters for the OPHReadMsgData( ) function
Parameter Description
connection_string [in] Specifies the historian drop to connect to. Use empty string ("") to specify
default historian.
message_type [in] Specifies the message type to retrieve. Use the following values:
OPH070 445
Using the Microsoft Excel add-in
Parameter Description
message_filters [in] Specifies the message filters to apply. A numeric value should be specified
for each message filter. Use -1 to specify no filtering.
446 OPH070
Using the Microsoft Excel add-in
Parameter Description
header_style [in] Specifies the header style to display. Use the following values:
Remarks (OPHReadMsgData)
For connection_string, you may specify a host name or network IP address. You may specify
actual value or cell reference.
For point_names, when specifying cell reference, you may specify a list of point names in
one cell or you may put each point name in separate cell.
For a list of column names and corresponding attributes, see OPHReadMsgData( ) function
[449]. For column_name, you may specify actual value or cell reference.
For start_time and end_time, the D or S postfix is applicable only when time_zone is set to 0
(Local). You may specify actual value or cell reference.
For time_zone, header_style, and data_count, you may only specify actual values but not
cell references.
When using cell reference, the required format for the parameter should be specified.
The following are applicable only if query is specified using Insert Function: When one of the
arguments is invalid, the function displays #VALUE! in the selected cells. When number of
records returned is less than the selected number of rows, the function displays #N/A in the
remaining rows.
Examples (OPHReadMsgData)
The following example retrieves alarm message:
OPHReadMsgData("drop160",
"7/6/2006 [Link]",
"7/6/2006 [Link]",
OPH070 447
Using the Microsoft Excel add-in
"4/2/2007 [Link]",
"4/2/2007 [Link]",
"TS(T2), SYS, PT(F1)", /* displays timestamp (in UTC format), system type */
"4/2/2007 [Link]",
"4/2/2007 [Link]",
448 OPH070
Using the Microsoft Excel add-in
"4/2/2007 [Link]",
"4/2/2007 [Link]",
OPHReadMsgData() function
The following tables describe the possible values of the column_names argument for
different message types.
3 – Local D/S
TIME_NSEC NS
MSG_FLAGS MF
SOURCE_ID SRC
SYSTEM SYS
NODE NOD
OPH070 449
Using the Microsoft Excel add-in
n – number of characters to
display. Maximum value is Note
200.
Displays all characters in
the column if attribute is
PT(Fn)
not specified.
Where,
450 OPH070
Using the Microsoft Excel add-in
n – number of characters to
display. Maximum value is Note
200.
Displays all characters in
PT(Fn) the column if attribute is
not specified.
Where,
TIME_NSEC NS
MSG_FLAGS MF
SOURCE_ID SRC
SYSTEM SYS
NODE NOD
OPH070 451
Using the Microsoft Excel add-in
5 - New Value
6 - Previous Value
MSG_TYPE MT
SUB_TYPE ST
SUPP_TEXT STX
SUPP_INFO1 SI1
SUPP_INFO2 SI2
The following table describes the possible values of the message_filters argument for the
Alarm message type.
452 OPH070
Using the Microsoft Excel add-in
OPHReadProcData
Retrieves the aggregate (processed) data from historian.
Syntax (OPHReadProcData)
OPHReadProcData(connection_string,
point_names,
point_filters,
point_options,
point_constants,
point_bitpositions,
column_names,
start_time,
end_time,
time_interval,
time_zone,
header_style,
data_count)
OPH070 453
Using the Microsoft Excel add-in
Parameters (OPHReadProcData)
Table 90. Parameters for the OPHReadProcData( ) function
Parameter Description
connection_string [in] Specifies the historian drop to connect to. Use empty string ("") to specify
default historian.
point_names [in] Specifies the point names to retrieve. Use comma to separate point names.
point_filters [in] Specifies the point filters to apply. A numeric value should be specified for
each point filter. Use the following format:
"HH:MM:SS"
time_zone [in] Specifies the time format of start time and end time. Use the following
values:
0 = Local or 1 = UTC
454 OPH070
Using the Microsoft Excel add-in
Parameter Description
header_style [in] Specifies the header style to display. Use the following values:
Remarks (OPHReadProcData)
For connection_string, you may specify a host name or network IP address. You may specify
actual value or cell reference.
For point_names, when specifying cell reference, you may specify a list of point names in
one cell or you may put each point name in separate cell.
For a list of column names and column attributes, see OPHReadProcData( ) function [456].
For column_names, you may specify actual value or cell reference.
For start_time and end_time, the D or S postfix is applicable only when time_zone is set to 0
(Local). You may specify actual value or cell reference.
For time_interval, time_zone, header_style, and data_count, you may only specify actual
values but not cell references.
When using cell reference, the required format for the parameter should be specified.
The following are applicable only if query is specified using Insert Function: When one of the
arguments is invalid, the function displays #VALUE! in the selected cells. When the number
of records returned is less than the selected number of rows, the function displays #N/A in
the remaining rows.
Example (OPHReadProcData)
The following example retrieves processed data with point parameters specified separately:
OPHReadProcData("drop160",
"blk00101c1a.unit2@mannet2, blk00101c2a.unit2@mannet2",
OPH070 455
Using the Microsoft Excel add-in
""TS, PN, STS, EU"", /* displays timestamp, point name, status and */
"6/14/2006 [Link]",
"6/14/2006 [Link]",
The following example retrieves processed data with same point parameters applied to all
points:
OPHReadProcData("drop160",
"blk00101c1a.unit2@mannet2, blk00101c2a.unit2@mannet2",
/* status columns */
"6/14/2006 [Link]",
"6/14/2006 [Link]",
OPHReadProcData( ) function
The following table describes the possible values of the column_names argument.
456 OPH070
Using the Microsoft Excel add-in
n – corresponds to
time zone. Use the Note
following values:
Uses time zone
1 – Local specified in the
time_zone argument
2 – UTC if attribute is not
specified.
3 – Local D/S
TIME_NSEC NS
SAMP_FLAGS SF
F_VALUE FV
RAW_VALUE RV
TIMESECS_VALUE TSV
TIMENSECS_VALUE TNSV
STS STS
SAMP_CREATE_TIME SCT Tn SCT (Tn) Displays column value
using specified time
Where, zone.
n – corresponds to
time zone. Use the Note
following values:
Uses time zone
1 – Local specified in the
time_zone argument
2 – UTC if attribute is not
specified.
3 – Local D/S
SAMP_CREATE_SEQ SCS
PN (Point Name) Derived value based
on ID column.
ED (Description) Derived value based
on ID column.
EU (Engineering Derived value based
Units) on ID column.
OPH070 457
Using the Microsoft Excel add-in
Note
For OPHReadProcData, samp_create_time and samp_create_seq have no meaning as
multiple raw samples are often used to derive a single processed data sample. The Excel
add-in displays these column values as blank.
The following table describes the possible values of the point_filters argument.
Value Description
0 OPH_NOP
1 OPH_NOPBIT
2 OPH_TIMEAVERAGE
3 OPH_MAXIMUM
4 OPH_MINIMUM
5 OPH_MAXIMUMACTUALTIME
6 OPH_MINIMUMACTUALTIME
7 RC_LIMIT_ALARM
8 OPH_TOGGLE
9 OPH_TOGGLESET
10 OPH_TOGGLERESET
11 OPH_TIMESET
12 OPH_TIMERESET
14 OPH_TOTAL
15 OPH_AVERAGE
16 OPH_COUNT, RC_SID_ALARM
17 OPH_STDEV, RC_ALARM_CHECK_REMOVED
18 OPH_END, RC_TAGGED_OUT
22 OPH_VARIANCE
23 OPH_RANGE
24 OPH_DURATIONGOOD
25 OPH_DURATIONBAD
26 OPH_PERCENTGOOD
27 OPH_PERCENTBAD
28 OPH_ANNOTATIONS
29 OPH_DELTA
30 OPH_START
The following table describes the possible values of the point_options argument.
458 OPH070
Using the Microsoft Excel add-in
Value Description
0 OPH_NONE
1 OPH_GLITCH
2 OPH_SUMMARY
OPHReadRawData
Retrieves the raw data from historian.
Syntax (OPHReadRawData)
OPHReadRawData(connection_string,
point_names,
point_filters,
column_names,
start_time,
end_time,
time_zone,
header_style,
data_count)
Parameters (OPHReadRawData)
Table 94. Parameters for the OPHReadRawData( ) function
Parameter Description
connection_string [in] Specifies the historian drop to connect to. Use empty string ("") to specify
default historian.
point_names [in] Specifies the point names to retrieve. Use comma to separate point names.
point_filters [in] Specifies the point filters to apply for point names. A numeric value should
be specified for each point filter. Use the following format:
OPH070 459
Using the Microsoft Excel add-in
Parameter Description
time_zone [in] Specifies the time format of start time and end time. Use the following
values:
0 = Local or 1 = UTC
Remarks (OPHReadRawData)
For connection_string, you may specify a host name or network IP address. You may specify
actual value or cell reference.
For point_names, when specifying cell reference, you may specify a list of point names in
one cell or you may put each point name in separate cell.
For point_filters, you may specify individual point filters for each point or you may specify a
single point filter for all points. For a list of point filters, see OPHReadRawData( ) function
[461]. You may only specify actual value but not cell reference.
For a list of column names and column attributes, see OPHReadRawData( ) function [461].
You may specify actual value or cell reference.
For start_time and end_time, the D or S postfix is applicable only when time_zone is set to 0
(Local). You may specify actual value or cell reference.
For time_zone, header_style, and data_count, you may only specify actual values but not
cell references.
When using cell reference, the required format for the parameter should be specified.
The following are applicable only if query is specified using Insert Function: When one of the
arguments is invalid, the function displays #VALUE! in the selected cells. When the number
of records returned is less than the selected number of rows, the function displays #N/A in
the remaining rows.
Example (OPHReadRawData)
The following example retrieves raw data with point filters specified separately.
OPHReadRawData("drop160",
"blk00101c1a.unit2@mannet2, blk00101c2a.unit2@mannet2",
460 OPH070
Using the Microsoft Excel add-in
/* value columns */
"11/01/2007 [Link]",
"11/01/2007 [Link]",
The following example retrieves raw data with same point filters applied to all points.
OPHReadRawData("drop160",
"blk00101c1a.unit2@mannet2, blk00101c2a.unit2@mannet2",
/* value columns */
"11/01/2007 [Link]",
"11/01/2007 [Link]",
OPHReadRawData( ) function
The following table describes the possible values of the column_names argument.
OPH070 461
Using the Microsoft Excel add-in
n – corresponds to
time zone: Note
1 – Local Uses the time zone
specified in the
2 - UTC time_zone
argument if
3 - Local D/S attribute is not
specified.
TIME_NSEC NS
SAMP_FLAGS SF
F_VALUE FV
RAW_VALUE RV
STS STS Qn STSQn) Displays status'
quality description
V Where, part using specified
format.
n - corresponds to
format of quality Displays status'
description. Use the value part.
following values:
1 - Full
2 - Abbreviated
STS(V)
SAMP_CREATE_TIME SCT Tn TS(Tn) Displays column
value using
Where, specified time zone.
n – corresponds to
time zone: Note
1 – Local Uses time zone
specified in
2 - UTC time_zone
argument if
3 - Local D/S attribute is not
specified.
SAMP_CREATE_SEQ SCS
PN (Point Derived
Name)
ED Derived
(Description)
EU (Engr Units) Derived
462 OPH070
To use Desktop Tools Trend
Note
For OPHReadRawData, samp_create_time and samp_create_seq reflect the time a sample
is stored at a historian.
The following table describes the possible values of the point_filters argument.
Value Description
0 RC_VALUE_LIMITS
1 RC_ENTERED_VALUE
2 RC_SCAN_REMOVED
3 RC_TIMED_OUT
4 RC_EXTERNAL_CALIBRATION
5 RC_CHECK_REMOVED
6 RC_SENSOR_ALARM
7 RC_IN_ALARM
8 RC_BAD_QUALITY
9 RC_POOR_QUALITY
10 RC_FAIR_QUALITY
11 RC_GOOD_QUALITY
12 RC_RAW_DATA_VAL
13 RC_CUTOUT_ALM
14 RC_INITIAL_VAL
15 RC_RETURN_VAL
See Using Historical Trends [345] and Using Event Trends [389] for more information about
Trends.
The following features of the Ovation Historical Review are available in the Desktop Tools
application:
OPH070 463
To use Desktop Tools Review
464 OPH070
Client applications overview
Note
Install the client interface [43]To access historical data from external applications, you
must
Accessing historical data from these applications requires SQL. This section includes
information on the SQL commands and syntax supported by the historian.
OPH070 465
Using the History Console tool
3. To execute commands, highlight the commands, and click the arrow button. Your
results are displayed.
This example contains three queries that demonstrate periodic data retrieval, a basic SQL
command, and an advanced SQL command.
466 OPH070
Accessing historical data from Excel by using SQL Queries
• The first query requested time-weighted averages for the specified point over an hour.
The results display the six samples requested from that specific hour, each with an ID,
timestamp, status, and other data.
• The second query, the basic SQL command, displays scanners configured for the
specified historian.
• The third query, the advanced SQL command, displays points with IDs less than the
number 25.
This example is meant to show the various types of information that you can query for. You
can save, print, or perform other functions on the file from the top toolbar.
Where:
This command runs the input script, sends the output to the output file at the specified
location, and then exits.
Note
If you do not specify any output file, the Console window opens, displaying the query from
the script file, and stops without executing the query. You must manually run the query.
OPH070 467
Accessing historical data from Excel by using SQL Queries
Note
You will only need to perform this procedure the first time that you set up the
connection between the historian and Excel. After you create the connection, it is
displayed and selectable in the Select Data Source window.
4. Highlight Other/advanced.
5. Click Next.
6. Highlight Ovation Process Historian OLE DB Provider on the list of OLE DB providers.
7. Click Next.
8. In the Connection tab, enter dropxxx in the Data Source field (this is the name of your
historian server).
9. Click OK. The Data Connection Wizard displays all the available tables.
10. Click Next.
11. Enter the name that you want to define as your data source in the File Name field (for
example, "[Link]").
12. Click Finish. Your data source is added to the Select Data Source window.
13. Double-click to open your new data source. The Import Data screen is displayed, which
specifies where the result data is added to your Excel spreadsheet.
14. If you want to edit the query, click Edit Query. The Edit OLE DB Query screen is
displayed.
15. Select a command type from the Command Type drop-down menu. Your choices are
Table, SQL, and Default. Choose SQL to execute SQL queries.
16. If you select Table, SELECT * FROM <TABLE NAME> is executed.
17. Enter your SQL command in the Command Text field. See Supported SQL functions
[578] for more information.
18. Click OK. Your data is added to your Excel spreadsheet.
The retrieval mode default is MODE_LATEST. If you would like to change the default,
you can edit the extended properties as shown in the following table.
Table 97. Editing the extended properties to change the retrieval mode
Mode Usage
Extended properties = "RetrievalMode = To retrieve the original data
MODE_ORIGINAL;"
Extended properties = "RetrievalMode = To retrieve the latest data (this is the default if
MODE_LATEST;" you do not specify another option)
Extended properties = "RetrievalMode = To return all data
MODE_ALL;"
Extended properties = "ApplicationName = To set the application name
'EXCEL';"
Extended properties = "ApplicationName To specify both application data and retrieval
='EXCEL'; RetrievalMode =MODE_LATEST;" mode at the same time
468 OPH070
Accessing historical data from Crystal Reports
OPH070 469
History Edit tool overview
The ability to edit historical data should be used prudently; unnecessary changes to
historical data can reduce the benefits of historical data analysis by creating an inaccurate
record of your plant performance.
To use the tool, you must obtain a license from your Emerson representative. You also must
decide how much access each user requires, and set access rights using the Security
Manager.
The two rules that pertain to History Edit tool functionality are as follows:
By default, Full Engineers, Supervisors, and Administrators have the functionality enabled
that allows them to annotate and edit using the History Edit tool. You can add or remove
this functionality to any of the user roles as required for your situation. All users assigned to
a specific role will have the permissions of that role.
The two rules are intertwined: a role can be configured so that its user can annotate, but
not edit, historical data. However, the reverse is not true; it is not possible to create a role
that allows its user to edit, but not annotate, historical data.
OPH070 471
Setting user permissions for the History Edit tool
User permissions can also depend on where the History Edit tool is launched from, as well as
the rules that a user's role is assigned to. When the tool is launched from the Windows Start
menu, it is read-only; regardless of a user's permissions, the user is not able to annotate or
edit historical data. When the tool is launched from Trend or Review, users are able to
interact with historical data as fully as their role allows them to, meaning that they may be
able to read only, to annotate only, or to actively edit and annotate.
1. Access the Ovation Developer Studio. Refer to the Ovation Developer Studio User Guide
for more information.
2. Use the system tree to navigate to the Ovation Security item.
3. Double-click to open the Ovation Security Manager in the bottom pane.
4. Click Manage Ovation Roles. The Global Roles appears in the Ovation Security Manager
window as follows:
472 OPH070
Setting user permissions for the History Edit tool
6. Enable or disable the two rules that define how a role allows its users to use the History
Edit tool:
• Allow full access to Historian data annotation.
• Allow full access to Historian data editing.
7. Click OK or Apply to save your changes.
OPH070 473
Launching the History Edit tool
To launch the History Edit application from the Historical Review and Trend applications,
you must meet the following criteria:
• You must set the data editing and history annotation privileges.
• You must install the OPH Engineering Tools on the workstation.
• You must choose a specific historian for the data edit session. If you select Default
Historian, the History Edit/Annotate option in the Historical Review right-click context
menu is grayed out.
The following example displays the right-click menu where you select History Edit/Annotate
from Historical Review.
474 OPH070
Understanding the History Edit tool interface
• Annotation [475].
• Edit Audit Log [477].
• Detailed Edit [478].
• Replace Wizard [480].
Filter criteria at the top of each tab allows you to search for historical data samples based on
various criteria.
The status bar along the bottom of the window displays the following information:
OPH070 475
Understanding the History Edit tool interface
You can use the Add Annotation button to create a new comment regarding a point.
To add an annotation
Use the following steps to add an annotation:
476 OPH070
Understanding the History Edit tool interface
You can add annotations with or without point references. For example, if you are
adding an annotation that relates to 10 particular points, you simply add the point
names. Future annotation review will cross-reference the associated points.
4. Click OK to save your changes, or Cancel to exit. Annotations that you add are archived
and managed in the same way as the rest of your historical data.
The Filter Criteria portion of the window enables you to filter the edit sessions by start and
end times, history type, domain, user, or computer. For example, if you would like to review
all the edit sessions performed by one user, you could type a user name or use the User
drop-down to view all the edit sessions performed by that user. After changing the filter
criteria, hit Refresh to retrieve the new log of edits. The comments associated with each edit
are displayed in the Comments box as you move your cursor down the rows.
OPH070 477
Understanding the History Edit tool interface
You can select one row and click View Detailed Edit. The History Edit window is switched to
the Detailed Edit [478] tab [478] to display the details and context related to that edit
session.
478 OPH070
Understanding the History Edit tool interface
You can right-click to hide rows to create a more usable workspace and reduce the chance
that you might accidentally edit a row you do not want to edit.
The Comment field only becomes active and usable after you make an edit. It is a good
practice to add a comment explaining why you made a data edit, to help with future
analysis.
You have the option to save the changes you have made by clicking Apply, or opting to
cancel all changes that you have made since the last saved version by clicking Undo All.
OPH070 479
Understanding the History Edit tool interface
4. Select OK to save your changes. Each row that you edited is displayed in green and is
now marked 'Modified' in the Pending Action column.
Note
If you do not want to save your changes, click Undo All. If you want to save your
changes, click Apply. A History Edit warning summarizes the changes that you have
made and verifies that you do want to save them. Select Yes or No.
Note
If you do not want to save your changes, click Undo All. If you want to save your
changes, click Apply. A History Edit warning summarizes the changes that you have
made and checks that you do want to save them. Select Yes or No.
Note
If you do not want to save your changes, click Undo All. If you want to save your
changes, click Apply. A History Edit warning summarizes the changes that you have
made and verifies that you do want to save them. Select Yes or No.
480 OPH070
Understanding the History Edit tool interface
OPH070 481
Understanding the History Edit tool interface
4. Click Replace. A Replace window appears, superimposed over the data samples on the
Detailed Edit tab.
5. As each sample row is highlighted, you can take any of these four actions:
• Next to skip (without editing) a sample.
• Replace to edit a sample with your new values.
• Replace All to replace all values between the sample you are currently on and the
last sample.
• Cancel to close the Replace window (rows that you have already changed remain
changed).
Samples that you have changed are displayed in green, and labeled 'Modified' in the
Pending Action column.
Note
If you do not want to save your changes, click Undo All. If you want to save your
changes, click Apply. A History Edit warning summarizes the changes that you have
made and verifies that you do want to save them. Select Yes or No.
482 OPH070
To view edited historical data from Trends
You can use the Replace tab to quickly change data samples. In the following example, the
green "Modified" rows have been replaced with the value -1.234.
When you click Apply, a dialog box ensures that you want to save your changes.
When you click Yes, your edits become a part of the historical data record, and are archived
and managed in the same way as your other historical data. If you return to Trends, you can
see the changes you have made at a glance.
OPH070 483
To view edited historical data from Trends
It can be helpful to split the screen and view both the trend curve and a tabular display of
data.
484 OPH070
To view edited historical data from Trends
To display the pencil icons that mark edited data, or to toggle between displaying the
original values and the latest values, select Trend -> Properties from the Trend window
toolbar. The Trend Point & Properties window appears. Navigate to the Trend Config tab.
OPH070 485
To view edited historical data from a Historical Review
Select the Get Original Value or Get Latest Value option. Select the Mark Edited data check
box if you want to see the pencil icon displayed next to the edited data.
Use the following steps to view the edited historical data from the Historical Reviews
window:
486 OPH070
To view edited historical data from a Historical Review
1. Perform a Historical Review, for example, Point review [308]. The Historical Reviews
window appears:
2. Click the Historical Review Menu button, and then click Historical Reviews Options
[298].
OPH070 487
To view edited historical data from a Historical Review
4. Return to the Historical Reviews window. A selected check box appears at the left to
the edited data.
488 OPH070
Creating reports of edited historical data
For detailed information, see To create reports of edited historical data [257] .
OPH070 489
Using Crystal Reports (.rpt) files
Crystal Reports only reads your database when it is necessary (when you preview, print, or
export a report to file). When working with your report, Crystal Reports only refreshes data
from your database when:
• You add new fields to your report after that report was run
• You add a formula that references a field that was not in the report when it was first run
• You select Refresh Data on each print option in the File -> Options menu
• You modify your record selection to include additional records beyond those included
in the initial run
For these events, you are prompted to either use saved data or to refresh data.
Note
Refer to the Business Objects Crystal Reports User Guide for current, thorough information
about using Crystal Reports. Emerson recommends that you choose a typical (not limited)
installation of Crystal Reports.
Report files define the table data that you want to present and the data format that you
want to use in the report. Format includes:
OPH070 491
Using Crystal Reports (.rpt) files
• Display details like font type, font size, and font attributes.
• Details like graphics, supplemental text, and page counts.
Each report file is divided into sections that define where information is placed on the
report and when the information for that section was created. There are five mandatory
sections for all report files and two optional sections. The five mandatory sections are as
follows:
• Report header: This section appears at the top of the first page of a report. This section
is printed one time per report at the start of the report, and the contents of the section
are evaluated only one time at the start of the report.
• Report footer: This section appears at the bottom of the last page of the report. This
section is printed one time per report at the end of the report, and the contents of the
section are evaluated only one time at the end of the report.
• Page header: This section appears at the top of each page of a report. This section is
printed one time for each report page at the start of the page, and the contents of the
section are evaluated one time per page at the start of each report page.
• Page footer: This section appears at the bottom of the each page of a report. The
section is printed one time for each report page at the end of the page, and the
contents of the section are evaluated one time per page at the end of each report page.
• Details: This section is the body of the report. Data in this section is processed for each
record in the record set that is evaluated.
• Group header: This is the beginning section for each group set that is added. The
section is printed one time for each section at the start of the section, and the contents
of the section are evaluated on time per section at the start of each section.
• Group footer: This is the last section for each group set that is added. The section is
printed one time for each section at the end of the section, and the contents of the
section are evaluated one time per section at the end of each section.
The optional sections appear in sets of two. You can add a variable number of sets to your
report file. These sections let you group or sort record set data by criteria that you specify.
To view or alter these sections, load the report file into Crystal Reports IDE. Each set of two
contains a group header and a group footer.
Each section has a sizing handle that you can use to determine the amount of space the
section will use in the final report output. In addition, you can click with the right mouse
button to view a section submenu. This enables you to hide, suppress, or further format any
section.
Report files are populated with fields that contain information that you want to display on
the final report output. Fields are categorized according to type. Some of the more
common fields are as follows:
492 OPH070
Using Crystal Reports (.rpt) files
The Crystal Reports IDE manages fields as objects. Each field has a unique identity and set of
properties. You can manipulate field placement and size by using drag and drop and the
sizing handle. Right-click to edit, size, or further format any field.
You can use formulas to gain a greater degree of control over report output in terms of data
processing, placement, display, grouping, and collection. Formulas are actually functions
written in programming language syntax that provide access to other support functions in
the libraries that are provided with the Crystal Reports Development package. Formulas are
also the only method of access to the user function library that contains functions to the
following:
Method Details
Template- These reports use help from the Crystal Reports IDE wizard. Template-based
based report reports use Crystal Reports IDE format wizards and standard reporting objects
to generate report layout files. This method ensures excellent report output.
However, they limit your control over report output. You can add formulas to
these reports to gain greater control.
Blank report These reports do not use Crystal Reports IDE wizard help. Blank reports
provide a very high degree of report output. However, they require extensive
use of custom design procedures, formulas, and running totals.
OPH070 493
Using Crystal Reports (.rpt) files
6. To work with a blank report, click the Blank Report button in the New Reports area. The
Database Expert dialog box appears:
494 OPH070
Using Crystal Reports (.rpt) files
3. Choose a folder and click Open. The Emerson-provided sample .rpt files appear as
follows:
4. Choose a sample template and click Open. Refer to Report format templates supplied
with OPH installation package [218] for more information about the report format
templates.
OPH070 495
To sort records
5. Use File -> Save As to save the file under a new name.
Note
Emerson recommends that you do not edit the original template. You might want to
reuse it. In addition, custom changes made to Emerson templates will be lost if the
historian is uninstalled or upgraded.
6. Make the modifications that you want. Typically, these modifications consist of:
• Adding or modifying a text field.
• Adding or modifying a data field.
• Modifying field placement or size.
• Modifying the report file formula.
1. Create a Crystal Report file [493]. Build your report in Crystal Reports by hard-coding
point names, time frame, and any other additional criteria and test output.
2. When you are satisfied with your results, remove ALL criteria that you defined. (This is
necessary in order to make the report open-ended like a macro, which allows the
Report Manager to pass in the settings that you defined in your Report Manager report
definitions.)
3. Deselect the option: File -> Save Data with Report. (This is necessary in order to allow
the Report Manager to process and display new data each time that the report runs.)
4. Rename the Data table name to some variation of "HIST":
• PT_HF_HIST
• MSG_ALARM_HIST
• MSG_TEXT_HIST
• MSG_SOE_HIST
5. Save the report to your :\Historian\Reports folder.
6. Open the Report Manager.
7. Navigate to the Reports Format workspace.
8. Right-click to select New Report Format.
9. Navigate to the correct directory to select your new crystal .rpt file.
10. Build your new report definition in Report Manager by defining points, time frame, and
so forth.
11. Schedule to run the report as needed.
496 OPH070
To group information
4. Highlight the field on the left-hand side that you want to sort. Click the > button. The
field is added to the Sort Fields list.
5. Assign an ascending or descending sort direction.
6. Click OK.
OPH070 497
To create a custom group
2. Click Insert -> Group. The Insert Group dialog box appears:
3. Select the field that you want to group on from the first drop-down menu.
4. Choose a sorting direction.
5. Click OK to save your settings.
498 OPH070
To create a custom group header
OPH070 499
To insert summaries
4. Select the group that you want to edit from the Group By list.
5. Click Options. The Change Group Options window appears.
6. Edit the group as needed.
7. Click OK.
3. Enter information about your report (author, keywords, comments, title, subject, and
template).
4. Click OK.
500 OPH070
To insert subtotals
OPH070 501
Functions and formulas for .rpt files
3. Click Insert Group. The Insert Group dialog box appears. Select the group that you
want to add to your report.
4. Select the field that you want the data grouped by, and a sort direction.
5. Click OK.
6. On the Insert Summary window, select your newly created group and click OK. The
subtotals are run.
502 OPH070
Functions and formulas for .rpt files
If time is between:
OPH070 503
Functions and formulas for .rpt files
504 OPH070
Functions and formulas for .rpt files
The following table provides additional information about abbreviations and their meanings
for gmtConvertValueDefine.
mm/dd/yyyy hh:mm:[Link]
gmtConvertGetNsecsDisplayString function is
used internally to convert nanoseconds to
string.
gmtConvertSectoStringEx(ByVal time_sec As Long, Refer to description of gmtConvertSectoString
rtn_type As String, nsec_val As Long, do_rounding and gmtConvertGetDTDisplayEx.
As Integer, decimal_digits As Integer) As String
This function includes nanoseconds in the
date/time display string.
gmtConvertGetNsecsDisplayString(nsec_val As Gets the display string for nanoseconds.
Long, do_rounding As Integer, decimal_digits As
Integer, ByRef overflow As Integer) As String decimal_digits parameter controls how many
digits are to be displayed after the ‘.’ (DOT)
character (Like N or NN or NNN and so on).
OPH070 505
Functions and formulas for .rpt files
The following table provides description for field numbers and abbreviations.
FQ Good
PQ Fair
Poor
BQ
Bad
GL
Latched good
FL
Latched fair
PL
Latched poor
BL
Latched bad
3 HE Hardware error
4 XO Point tagged out
5 CO Point cutout
6 PO Point oscillating-- for digital and packed points only
7 AR Alarm check remove
8 LR Limit checking removed
8 LR Limit check remove
9 SC Scan remove
10 EV Enter value
11 IA SID error
506 OPH070
Functions and formulas for .rpt files
LW Sensor alarm
LB Low worse
Low better
LL
Low limit (or Low 1)
L2
Low 2
L3
Low 3
L4
Low 4
HL
High limit (or High 1)
H2
High 2
H3
High 3
H4
High 4
HB High better
HW High worse
HU Low UDA
High UDA
14 UR Point is unacknowledged and needs to be reset
The following formulas should be used to display certain specific information on the
generated report. Create these formulas with the exact same name as below in your .rpt file
with an empty string (" ") as content. These formulas act as placeholders for the field that
you want to display (indicated by the formula name). These formulas should be inserted in
the .rpt file at appropriate places based on their individual requirements.
OPH070 507
Functions and formulas for .rpt files
• Reserved system event (the report was executed by demand of the report
definition)
• Timed event name (the report was executed by a timed event)
• Trigger event name (the report was executed by a trigger event)
• Demand (the report was executed by a demand event)
TriggerPointName Trigger point name that is associated with the report queue entry.
When a report is generated due to a trigger, this formula displays the point
name of the digital trigger point.
TriggerPointDesc Trigger point description of the trigger point that is associated with the report
queue entry.
When a report is generated due to a trigger, this formula displays the point
description of the digital trigger point.
TriggerPointValue Value of the trigger point that is associated with the report queue entry. This is
the new value that the trigger point had at the time of trigger.
When a report is generated due to a trigger, this formula displays the (new)
value of the digital trigger point at the time of trigger.
508 OPH070
Troubleshooting tools
OPH070 509
To use the Historian Diagnostics tool
1. You can launch the tool from the binoculars icon on your system tray, or from the Start
menu as follows:
Start -> Programs -> Ovation Process Historian -> Historian Diagnostics
Note
The binoculars icon that displays in the system tray is generally green, which means
that the historian process is running properly. If the binoculars icon turns red, there is a
problem with the historian software.
510 OPH070
To use the Historian Diagnostics tool
2. The Historian Diagnostics window appears. The following figure depicts the window
for a simple configuration of one server, one scanner, and no redundancy.
The following figure depicts the Historian Diagnostics window for a redundant pair of
servers.
OPH070 511
To use the Historian Diagnostics tool
• Processes [514].
• Services [518].
• Scanner Details [519].
• Point Counts [521].
• Fixed Archive [522].
• Removable Archive [525].
512 OPH070
To use the Historian Diagnostics tool
The bottom portion of the Historian Diagnostics window indicates the status of the
following:
The following table describes the possible states and respective highlight colors for main
and redundant scanners.
Table 105. States and highlight colors for main and redundant scanners in the Historian
Diagnostics window
The following table describes the possible states and respective highlight colors for the
main and redundant historians.
OPH070 513
To use the Historian Diagnostics tool
Table 106. States and highlight colors for main and redundant historians in the Historian
Diagnostics window
The communication link between the redundancy manager and the historian is tested once
every five minutes. When a backup scanner detects a failed link, the Historian Diagnostics
tool displays a red highlight. An active scanner waits for 30 consecutive minutes of a failed
link before signaling the tool to display a red highlight. This functionality can result in a 5–
30 minute lag time between the time that the link fails and the diagnostics tool displays the
failure.
Rather than exiting the Historian Diagnostics window, Emerson recommends that you
minimize the window to your system tray so that it can run continuously.
514 OPH070
To use the Historian Diagnostics tool
The Historian Diagnostics window displays the Restarts column under the Processes tab.
Normally, the Restarts column is blank. If the column contains a number, this indicates that
an OPH process stopped unexpectedly, requiring a restart. If the process could not be
successfully restarted after three attempts, the process appears in the Stopped state.
OPH070 515
To use the Historian Diagnostics tool
516 OPH070
To use the Historian Diagnostics tool
Figure 412. Historian Diagnostics window -- Restarts column -- process stopped after three
instances
If a scanner drop is active but not completely synchronized with the Ovation network, the
Processes tab displays the status of scanner processes as Highway Offline.
OPH070 517
To use the Historian Diagnostics tool
Once the scanner drop is completely synchronized with the Ovation network, the status
changes to Running.
518 OPH070
To use the Historian Diagnostics tool
Note
For details on the Ovation Process Historian Report Service, see What is the Ovation Process
Historian Report Service? [202].
OPH070 519
To use the Historian Diagnostics tool
520 OPH070
To use the Historian Diagnostics tool
The following figure depicts the Scanner Details tab when the CHS scanner is configured.
• Licensed: Reflects the total number of licensed points. The historian is licensed on the
basis of how many points you want to collect the historical data for. The maximum
number of points that one historian can collect is 400,000.
• Configured: Reflects the number of points that are configured and enabled for
collection by various scanners in your network.
• Unused: Reflects the number of points that are still available for configuration.
Typically, you can calculate the number of unused points as follows:
Unused = Licensed - Configured
Note
When points are removed from collection by using the Historian Configuration Tool,
these points still remain in the OPH database tables. Therefore, the Historian
Diagnostics window displays such points as Disabled. Deleted points are maintained in
the OPH tables as these points may be required for data retrieval from data files.
OPH070 521
To use the Historian Diagnostics tool
522 OPH070
To use the Historian Diagnostics tool
The top half of the window displays the following data about the fixed archive devices:
OPH070 523
To use the Historian Diagnostics tool
When you right-click a fixed archive device, you can use the following options:
Option Description
Enable Enables archive activities for the fixed archive device, such as NAS, SAN, or DAS.
Disable Disables archive activities for the fixed archive device, such as NAS, SAN, or DAS.
Volumes Enables you to view the volumes information [524].
The bottom half of the Historian Diagnostics window contains attention messages. This
area displays the following data about the attention messages:
• Time: This field indicates the time when each attention message was issued.
• Description: This field indicates the description of the action that you should take.
524 OPH070
To use the Historian Diagnostics tool
• Delete: Use this option to delete a volume. When you click Delete, the following
confirmation message appears. If you click Yes, the volume is deleted. Click No if
you do not want to delete the volume.
OPH070 525
To use the Historian Diagnostics tool
The top half of the window displays the following data about the removable archive devices:
526 OPH070
To use the Historian Diagnostics tool
◦ Format: A new volume in the device is actively being formatted, which can take up
to 20 minutes.
◦ Access: Access to the device is in use for reading or writing.
• Properties: This field indicates any properties the device may have associated with it.
• Volume in Drive: This field indicates the archive volume of the device.
When you right-click a removable archive device, you can use the following options:
Option Description
Eject Ejects the removable archive volume (DVD-RAM disc).
Lock Locks the removable archive device (DVD-RAM).
Unlock Unlocks the removable archive device (DVD-RAM).
Enable Enables the removable archive device (DVD-RAM).
Disable Disables the removable archive device (DVD-RAM).
The bottom half of the Historian Diagnostics window contains attention messages. This
area displays the following data about the attention messages:
• Time: This field indicates the time when each attention message was issued.
• Description: This field indicates the description of the action that you should take.
If the partner servers are not in sync, you are unable to download any new configuration
settings, such as adding points, though the servers continue working. It is possible to
become out of sync in the following situation: if you add new configurations to the primary
while the partner is failed, and then shut down the primary and restart the partner. Because
the servers in this situation do not have a chance to send missed configuration settings and
other missed data, this situation creates a lack of synchronization. When both servers are up
and running, they reestablish their synchronized configuration.
For auto-historian or redundant pair (DropA/DropB) requests, the OPH Client API
interrogates each OPH to determine if there are "holes" being recovered for a specific data
type and time period. Based on this information, the data retrieval request is sent to the
historian that is most capable of satisfying the request:
OPH070 527
To use the Historian Diagnostics tool
• If DropB is synchronized for the requested time span and historical data type, DropB
services the retrieval request.
• If DropB is not synchronized and DropA is synchronized for the requested time span
and historical data type, DropA services the retrieval request.
• If neither OPH is synchronized for the requested time span and historical data type, the
request is directed to the most completely synchronized OPH.
• Requests directed to a single historian data source (e.g., DropA or DropB) issue a
request to the specified historian only.
The Historian Diagnostics window indicates the status of data recovery operations between
partner historians (updated once per minute) as shown in the following figures.
528 OPH070
Analyzing your historian's data collection ([Link])
The questions that the Scanner Statistics tool can help you answer are as follows:
• What scanners and scanner types are currently connected to your historian server, and
does this match your configuration choices?
• Are your scanners communicating and are they regularly sending fresh process
samples?
OPH070 529
Analyzing your historian's data collection ([Link])
• Are messages being generated by your scanner but not sent to your historian (which
causes the dat file percentage full to increase) because your server connection is down?
• Is your scanner generating more sample data that it can transmit to the server
(because your dat file is growing increasingly full even though messages are being sent
to the historian and acknowledged)?
• Is your scanner performing its operations properly, with no unexpected time shifts or
missed scan cycles (which could indicate that the scanner is too busy)?
• What is the total volume of samples that your scanner is generating, and is it filtering
the significant changes well enough?
• Which points are the most active, and might require deadband adjustment?
• If points are being collected more often for status bit changes than for value changes,
what is causing the status changes, such as a point continuously toggling in and out of
a state?
1. Navigate to your OvHist\bin folder, or to the folder where you have loaded the historian
software. This tool can also be accessed from the Start menu.
530 OPH070
Analyzing your historian's data collection ([Link])
3. Click Select File to browse your folders and select a file to open in the Scanner Statistics
window.
4. The data displayed in the Scanner Statistics window is not updated automatically. Click
Refresh at any time to view fresh data.
The following table describes the tabs in the Scanner Statistics window.
Tab Displays...
DAT file stats [532] Health of scanner-historian communication and .dat file status.
Point scan stats (hdr) [532] Information collected by your point scanner(s).
Point scan stats (detail) Detailed information from your point scanner on a single-point basis.
[533]
Server stats [534] The scanners that are currently connected to the historian server and
the timestamps on information that they send.
OPH070 531
Analyzing your historian's data collection ([Link])
532 OPH070
Analyzing your historian's data collection ([Link])
OPH070 533
Analyzing your historian's data collection ([Link])
534 OPH070
Historian fault codes
You can diagnose most fault codes that appear by accessing the Ovation Fault Information
Tool for Ovation releases 3.4 and earlier. To access the Ovation Fault Information tool, log on
to the Ovation/WDPF Users site, and click the Fault Information Tool in the left hand menu.
Alternatively, enter the following URL:
[Link]
For Ovation 3.5 and later releases, the fault codes are part of Ovation and are displayed in
the Ovation System Viewer application (described in the Ovation Operator Station User
Guide).
OPH070 535
Lab Data overview
Attribute data must be provided for all lab history points that are sent to the historian. An
attribute is a specification that defines a property of an object, element, or file. To provide
attribute data, send attribute samples to the historian before you send the corresponding
lab history point data samples. This is necessary because the attribute data is required to
perform retrievals for reports, trends, reviews, and to allow validation of lab history point
data samples.
OPH070 537
OPH Lab Data Interfaces
Lab history attribute data is stored in the existing attribute data table (PT_ATTRIB) and is
subject to standard rules regarding online storage and migration to archive media. Lab
history point data is stored like other historical data. The lab history point data is stored in
table (PT_LAB_HIST) and is subject to the same rules as the other process point data tables.
These rules include:
• Space must be shared with other historian data. This means that the oldest data can be
rolled off to make room for new data if the disks are approaching full capacity.
• Data files are migrated from internal database space to the archive media.
• Lab history data is subject to the settings configured in the installation process and
licensing.
Storage of future-timestamped lab history data is not supported. Lab history data must
have a timestamp equal to or less than the current time to be stored. You can store an
annotated text entry with the lab history point sample.
• ASCII .csv files - sending these files using the Lab Data Sender [538].
• Lab Data Manager - using the Lab Data Manager [539] interface to enter and validate
Lab Data samples and then sending the validated content to the OPH.
• To access the UI, choose Start -> Programs -> Ovation Process Historian -> Lab Data
Sender.
or
• Navigate to your \bin\ folder and double-click [Link]. The OPH Lab Data
Sender interface appears:
538 OPH070
To access the Lab Data Manager
or
• Alternatively, to access the program from a command line, type:
Ovhist\bin\OvhLabData -f [Link] -s OphServer
The program requires you to specify the file that contains your lab history data and to select
the historian(s) that you want to send the data to. If you choose to access this program from
the command line, you can include its functionality in a batch file.
When Lab Data files are processed by the Lab Data API, the operation status is appended to
your input file. The operation status identifies any errors that occurred when processing the
Lab Data files.
Choose Start -> Programs -> Ovation Process Historian -> Lab Data Manager. The Lab Data
Manager UI main screen appears:
OPH070 539
To access the Lab Data Manager
540 OPH070
To access the Lab Data Manager
1. Click on the application menu from the Lab Data Manager main screen, and then the
Lab Data Options button. The Lab Data Options window appears. The window has the
following options:
• General
• User Groups
• Point Attributes
2. Select General Lab Data options. Define the server and default time zone in this dialog.
OPH070 541
To access the Lab Data Manager
3. Select the User Groups option. The Manage Groups dialog appears. This window allows
you to define and edit user groups. See To add users to a predefined group [544] for
more information.
542 OPH070
To access the Lab Data Manager
4. Select the Point Attributes option. The Point Attribute Synchronization window
appears. See To synchronize point attributes [543] for more information. This window
allows you to update the local database with the latest point attributes from the
selected historian. You choose the historian to synchronize with from this window.
OPH070 543
Lab Data Manager Groups and Permissions
Import/export file.
1. Click on the application menu from the Lab Data Manager main screen, and then the
Lab Data Options button. The Lab Data Options window appears.
2. Select User Groups from the Lab Data Options dialog. The Manage Group dialog box
[540] appears.
3. Select New.
544 OPH070
To modify a group
1. From the Lab Data Options window [540], select User Groups option from the Lab Data
Option. The Manage Groups window appears.
2. Select a group name and choose Edit.
OPH070 545
To delete a group
4. Edit the group description, permissions, and members information and choose Ok. The
system validates the group information and updates the group user account.
1. From the Lab Data Options window [540], select a group name and choose Delete.
2. You are prompted to be sure that you really want to delete the group.
3. Choose Yes to acknowledge the message and the group is deleted from the system.
546 OPH070
To import all group settings
1. From the Lab Data Options window [540], select a User Groups and choose Import.
2. The Import Group window appears:
3. Press the Browse button to browse the database for groups to import.
4. If Include users is checked, groups and users that belong to the group will be included;
if not, then just the selected groups will be imported.
5. A Select File window appears. Select the database to import and select Open.
OPH070 547
Managing a Lab Data user session
1. From the Lab Data Options [540] Manager window, click the Home tab.
2. The Session group includes Save [548], New [548], Open [550], and Delete [550].
1. From the Lab Data Manager UI [540], choose New on the Home tab or choose New
from the Application Menu.
2. The system creates a blank session in a new window. The default session name is
LabDataSession1. The session name is displayed next to the application name. An
asterisk next to the name indicates that this session has not been saved.
3. The Point Config, Point Attributes, and Point Samples tabs are displayed.
1. From the Lab Data UI [540], select Save from the Home tab or choose Save from the
Application Menu.
2. If saving a new session, you are prompted to enter a session name.
548 OPH070
Managing a Lab Data user session
3. The Save As window appears. Enter a session name. The Start Time and End Time fields
are enabled if you are a member of the Windows Administrators group or have Manage
Sessions permissions.
4. If the timestamps entered are out of range of the existing records, a notification
message appears. You can choose to edit the session time range or save all records.
OPH070 549
Customizing columns in the Session Explorer
1. Select a session name from the Session Explorer and click Open in the session group of
the Home tab. Alternatively, you can double-click on the Session in the Session
Explorer.
2. You will be prompted to save the current session before loading the selected session, if
it has not been saved.
1. Choose the session name from the Session Explorer and select Delete from the ribbon
bar. You may also choose Delete from the Application Menu.
2. Click Yes to delete the selected session.
550 OPH070
Customizing columns in the Session Explorer
4. Choose OK to save the changes. The columns are filtered based on the condition.
• Right-click the column header of the selected column and select Filter Editor.
• Modify the filter by changing the condition located at the lower left corner of the
Session Explorer to enable or disable the existing filter.
• Click the Edit Filter link at the lower right corner of the Session Explorer.
• Click the small filter icon in the column header to customize the column filter. Clicking
the drop-down arrow displays a recent filter history.
OPH070 551
To retrieve Lab Data from the historian
• Click the X button on the left corner for the grid in the Session Explorer.
• Right-click on the column header and choose Clear Filter from the right-click menu.
• Select or clear the check box next to the filter in the Session Explorer.
552 OPH070
To validate a Lab Data session
4. Select the tables of Lab Data information you want to retrieve from. Select Historian or
accept the default. The default data for the Historian is retrieved from the global
settings. The default start time is 10 minutes prior to the current time. The default end
time is the current time. You may choose the Browse button to search for a point name
from the Point Names dialog. The Add button is active when a valid Point name is
entered in the Point name field.
5. Press OK to start the retrieval. Data is retrieved from the historian into your session.
OPH070 553
To import an external file into Lab Data
3. If a validation error occurs, a description of the error appears in the Error List window:
4. Double-click the error from the list to highlight the actual row and column in the
current session where the error occurred.
Use the following steps to import an external file into Lab Data:
1. Choose Import from XML or Import from Text file on the Lab Data UI from the Data tab.
2. The Import from Text File window appears. Enter the file name to be imported. Text
and XML formats are supported.
554 OPH070
To send Lab Data to the historian
4. If existing records are in the current session, you are asked to append the data. Choose
Yes to append the data, No to create a new session, or Cancel to cancel the import.
3. A notification message appears. You are about to send the Lab Data to the Historian.
4. You are prompted if you want to validate the Lab Data session before sending it to the
Historian. Choose Yes to validate the session. You may also choose No and the Lab Data
session will not be validated before it is sent to the Historian.
5. The Lab Data session is sent to the session's defined Historian.
Each file contains keywords in square brackets, for example, [FIELDS]. The keywords
determine how the file is processed. For example, the keyword LAB_PT_CFG indicates that
this file is a configuration file. You can use the provided commands to update the
CFG_PT_NAME table for the specified Lab Data point names. The CSV file format is editable
by using a text editor, such as Notepad or Excel.
# CFG_PT_NAME
# Available fields:
OPH070 555
Lab history data files
[LAB_PT_CFG]
[INSERT]
[FIELDS]
# PT_ATTRIB
# Available fields:
[LAB_PT_ATTRIB]
[INSERT]
556 OPH070
Lab history data files
[FIELDS]
# PT_LAB_HIST
# Available fields:
[LAB_DATA]
OPH070 557
Lab history data files
[INSERT]
[FIELDS]
[FIELDS]
558 OPH070
Lab history data retrieval
Keyword Usage
[INSERT] Inserts a row that did not already exist.
[UPDATE] Updates a row that already exists.
[INSERT/UPDATE] Allows the historian to determine whether INSERT or UPDATE is appropriate for
each individual usage (this keyword requires additional server-side processing).
• Trends
• Historical Review
• Reports
• Excel add-in
You can view scanner-generated data and lab history data in the same Trend.
OPH070 559
Configuration tables
21 Table Definitions
Topics covered in this section:
• Configuration tables [561]
• Point history tables [563]
• Message history tables [566]
• Archive volume tables [569]
• History Edit and Annotation tables [570]
• System tables [571]
• User Defined Function (UDF) tables [572]
• History Console tool syntax [581]
OPH070 561
Configuration tables
A configuration table is maintained in which every point name in the historian is stored
along with the source of its data. Each point is assigned a unique history ID. The history IDs
are not recycled, which ensures that you can always access historical data. Point names are
never deleted from this table, though you can modify the point information.
The same history ID is retained permanently for a specific point name, though you can
modify other point information because it does not compromise data retrieval. This history
ID provides the key to store and retrieve data to/from the current, historical, and modified
tables. Inactive points can be marked as disabled because they are never deleted from the
table. The type of data that is associated with each point is configured so that collection,
storage, and retrieval can handle the data in the historical data tables.
A configuration table is maintained in which every scanner in the historian is stored along
with the source of its data. Each scanner is assigned a unique history ID. The history IDs are
not recycled, which ensures that you can always access historical data.
562 OPH070
Point history tables
Status data is stored in a normalized format where common status information is recorded
for all points, regardless of their source. The DCS scanner process performs normalization
on status information, value formats, and time formats prior to sending data to the
historian server collection process.
This following table describes how the status information is normalized from an Ovation
system.
OPH070 563
Point history tables
Note
If a point is analog and both bits 2 and 3 are set, the point is in Sensor alarm.
564 OPH070
Point history tables
Note
If a point is analog and bit 21 is set, the point is in high UDA alarm. If bit 22 is set, the point is
in low UDA alarm. If bit 22 is reset, the point is in high UDA alarm.
OPH070 565
Message history tables
566 OPH070
Message history tables
OPH070 567
Message history tables
568 OPH070
Archive volume tables
Note
* These fields are populated when the data row in the MSG_TEXT_HIST table is an operator
event. Otherwise, these fields are NULL. Not all fields are available for all operator events. If
not available, the value is NULL.
OPH070 569
History Edit and Annotation tables
These are the annotation types that can be queried through SQL.
570 OPH070
System tables
The edits that have been made to your historical data become part of your historical data,
and are archived and managed like the rest of your historical data.
These are the edit types that can be queried through SQL.
OPH070 571
User Defined Function (UDF) tables
• ProcessedData [572].
• ProcDataColWise [574].
• Summary [577].
• PointsNameOnly [573].
• NameAggrPair [573].
• Complete [574].
572 OPH070
User Defined Function (UDF) tables
PointsNameOnly
Only point names are provided and all points are processed with the same processing type,
such as asking for 30-second intervals with TIMEAVERAGE processing over a 10-minute
period.
Samples (PointsNameOnly)
Request time weighted average of three analog points over a 10-minute period specifying
IntervalCount of 10 so that each interval is one minute.
PointNamesOnly, OPH_TIMEAVERAGE,
'BLK00101C1A.UNIT2@OV23', 'BLK00101C2A.UNIT2@OV23',
'BLK00101C3A.UNIT2@OV23');
Request time weighted average of three analog points over a 10-minute period specifying
IntervalSize of 60 seconds so that 10 one-minute intervals are retrieved.
PointNamesOnly, OPH_TIMEAVERAGE,
'BLK00101C1A.UNIT2@OV23', 'BLK00101C2A.UNIT2@OV23',
'BLK00101C3A.UNIT2@OV23');
NameAggrPair
Point names are provided with each having its own specified processing type, for example,
asking for 60 * 10 second intervals with each point having a different processing type over a
10-minute period.
Sample (NameAggrPair)
Request three analog points over a 10-minute period specifying IntervalCount of 10 so that
each interval is one minute. Request time weighted average for first point, integration for
the second and minimum for the third.
NameAggrPair,
'BLK00101C1A.UNIT2@OV23', OPH_TIMEAVERAGE,
'BLK00101C1A.UNIT2@OV23', OPH_INTEGRATION,
'BLK00101C1A.UNIT2@OV23', OPH_MINIMUM);
OPH070 573
User Defined Function (UDF) tables
Complete
Complete processing options are provided for each named point including processing
types, bit number and integration constants, for example, asking for 10 * 1 minute intervals
with each point having a different processing type and parameters over a 10-minute period.
Samples (Complete)
Request four processing types for a packed point over a 10-minute period, specifying
IntervalCount of 2 so that each interval is five minutes. Specify that Bit 3 of the packed point
is to be used for the processing.
Complete,
Request four processing types for an analog point over a 10-minute period, specifying
IntervalCount of 2 so that each interval is five minutes. Specify integration constants of 1.0
and 3.5 to be used for the processing of the OPH_INTEGRATION processing.
Complete,
574 OPH070
User Defined Function (UDF) tables
OPH070 575
User Defined Function (UDF) tables
Samples (ProcDataColWise)
PointNames Only: Request all columns for three analog points over a one-hour period
specifying IntervalCount of 10 so that each interval is six minutes.
PointNamesOnly,
'BLK00101C1A.UNIT2@OV23', 'BLK00101C2A.UNIT2@OV23',
'BLK00101C3A.UNIT2@OV23');
Request selected columns for three analog points over a one-hour period specifying
IntervalCount of 10 so that each interval is six minutes.
from ProcDataColWise (
PointNamesOnly,
'BLK00101C1A.UNIT2@OV23', 'BLK00101C2A.UNIT2@OV23',
'BLK00101C3A.UNIT2@OV23');
Request selected columns for three digital points over a one-hour period specifying
IntervalCount of 10 so that each interval is six minutes.
from ProcDataColWise (
PointNamesOnly,
'BLK00101M1D.UNIT2@OV23', 'BLK00101M2D.UNIT2@OV23',
'BLK00101M3D.UNIT2@OV23');
Complete: Request all columns for three analog points over a one-hour period specifying
IntervalCount of 10 so that each interval is six minutes and specifying integration constants
to be used.
Complete,
576 OPH070
User Defined Function (UDF) tables
'BLK00101C1A.UNIT2@OV23', OPH_GENERATESUMMARY, 1, 1,
OPH070 577
User Defined Function (UDF) tables
• Count [578].
• Min [578].
• Max [579].
• Upper [579].
• Lower [579].
• Bitmask [579].
• Bitextract [579].
• Substring [579].
• Len [579].
• Concat [579].
• Trim [579].
• Ltrim [580].
• Rtrim [580].
• Abs [580].
• Round [580].
• Floor [580].
• Ceiling [580].
• Quality [580].
• ISNULL [580].
• NEW_TIME [580].
• GETDATE [580].
Note
For more information about using the SQL functions to query your data, see the
SQL_Funcs_Sample.ohs file that provides working examples of the various Scalar and
Aggregate SQL functions supported by the OPH.
Count
You can use the count function to return the exact number of database rows that match
your name criteria.
Min
You can use the min function to return the minimum values for a point during a time period
that you set.
578 OPH070
User Defined Function (UDF) tables
Max
You can use the max function to return the maximum value for a point during a time period
that you set.
Upper
You can use the upper function to convert the capitalization of a string to all-upper-case.
Lower
You can use the lower function to convert the capitalization of a string to all-lower-case.
Bitmask
You can use the bit mask function to select bits that match your criteria, and optionally shift
the result to the right (in this case, the quality bits 8 and 9 are shifted to a single-digit
number by using '8').
Bitextract
You can use the bit extract function to extract the value of a specific bit (which, in this
example, means samples where limit checking is off).
select id, timestamp, f_value, sts from pt_hf_hist where id=25 and
timestamp> #07/01/2009 [Link]# and timestamp< #07/01/2009
[Link]# and BITEXTRACT (sts, 12) =1;
Substring
Substring clips out a piece of a string beginning at a start byte and going for count bytes.
Len
String length.
Concat
Return concatenation of two strings.
Trim
Remove leading and trailing spaces.
OPH070 579
User Defined Function (UDF) tables
LTrim
Left Trim trims all the occurrences of any one of a set of characters of the left side of a string.
RTrim
Right Trim trims all the occurrences of any one of a set of characters of the right side of a
string.
Abs
Absolute value of a floating-point column.
Round
Round of a floating-point column.
Floor
Floor is the largest integer smaller than or equal to value.
Ceiling
Ceil is the smallest integer higher than or equal to value.
Quality
Indicates point condition Good, Fair, Poor, Bad, or Timed Out.
ISNULL
ISNULL tests column (or an expression) for the absence of any data.
NEW_TIME
Convert the time and date from one time zone to another time zone.
GETDATE
Gets the current date and time.
The following example illustrates the data retrieval from PT_HF_HIST with Initial Value
included by using /*+ */ hint.
580 OPH070
History Console tool syntax
• set [581].
• echo [581].
• run [582].
set
Use the set command to define a runtime macro.
Syntax:
set
$<Macro>=<Value>;
Example:
A macro is replaced by its defined value during runtime. A macro can only be used for
command parameter values. A macro is valid until another set command is encountered
with the same macro name. Macros are recursive in that they apply to calls inside a script
file as well. Macros should be included in the runtime selection to take effect for commands
that follow.
echo
Use the echo command to echo specified text to the output stream.
Syntax:
echo
Text=<text>;
OPH070 581
History Console tool syntax
Example:
This command is useful for tagging the output stream with text messages. For example,
you might use it to describe the expected result of a subsequent query.
run
Use the run command to load a script file and runs its contents (and optionally dump the
results to another file).
Syntax:
run
Source=<source file>,
[Results=<results file>];
Use this command to execute previously saved Console scripts. By default, the results of the
execution are shown in the result pane but you can specify an optional Results file to dump
the results to.
• connect [582].
• config [583].
• disconnect [583].
connect
Use the connect command to open a connection to a Historian server.
Syntax:
connect
Server=<server name>,
582 OPH070
History Console tool syntax
[User=<user name>],
[Password=<password>];
After a connection has been established, the connection will remain available for all
commands until a disconnect command is called. Another call to connect while a previous
connection is established will disconnect the previous connection and create a new one
based on the new call.
config
The config command configures the server retrieval mode. Use this command to establish
the retrieval type. Once a mode has been established, the mode type will remain the same
for all commands until a second configuration command is encountered or the connect
object is deleted.
Syntax:
config
Parameter Description
name
Mode (Optional) The requested mode type.
The default mode is MODE_LATEST. In addition, you can set the parameter to
the following values:
• MODE_ORIGINAL
• MODE_ALL
• MODE_MODIFIED
disconnect
Use the disconnect command to close a connection to a Historian server.
Syntax:
disconnect;
OPH070 583
History Console tool syntax
• sql [584].
• GetPointConfig [584].
• GetPointAttributes [584].
• SyncReadRaw [585].
• SyncReadProcessed [586].
• SyncReadRealTime [588].
• ReadAlarms [588].
• ReadTextMsgs [589].
• ReadSoe [591].
sql
Use the sql command to execute a SQL command.
Syntax:
sql
command=<Sql statement>;
Example:
GetPointConfig
Use the GetPointConfig command to retrieve point configuration data from the historian.
Syntax:
GetPointConfig
Points={<list of points>};
Use this command to retrieve the configuration information for each point specified in the
points parameter. If no points are specified, configuration data for ALL points in the selected
historian are returned.
GetPointAttributes
Use the GetPointAttributes command to retrieve point attribute data from the historian.
584 OPH070
History Console tool syntax
Syntax:
GetPointAttributes
Points={<list of points>},
Parameter Description
name
Points The list of point names, separated by commas (required).
Range Specifies the start time and end time in mm/dd/yyyy hh:mm:ss format
(optional). If you do not specify these times, end time is set to NULL, which
returns the current attributes for the specified points.
Example:
GetPointAttributes
Points={Point1.Unit1@Net1, Point2.Unit1@Net1},
This example will retrieve all attribute values for Point1 and Point2 within 10:00 to 11:00 of
June 1, 2006.
Use this command to retrieve point attribute information for each point specified in the
points parameter. If current attributes are desired, set end time to NULL or alternatively, do
not specify the range parameter. If latest attributes relative to a given time are desired, set
start time to NULL and end time to the reference time.
SyncReadRaw
Use the SyncReadRaw command to retrieve raw (unprocessed) data synchronously from
the historian.
Syntax:
SyncReadRaw
Points={<list of points>},
[Filters={<list of filters>}],
[Bound=<true/false>],
[Options={<list of options>}],
[Constants={<list of constants>}];
OPH070 585
History Console tool syntax
Parameter Description
name
Range Specifies the start time and end time in mm/dd/yyyy hh:mm:ss format (required).
Points The list of point names, separated by commas (required).
Filters List of "or" filters per point specified in the Points parameter, separated by commas
(optional). Defaults to RC_RAW_DATA_VAL if not specified. Refer to the list of
filters [595] for details.
Bound Specifies whether bounding values are returned or not (optional). Defaults to false.
Options List of "or" options per point specified in the Points parameter, separated by
commas (optional). Defaults to “no options” if not specified, which in this case
means no summary and no glitch detection. Refer to the list of options [595] for
details.
Bits Comma-separated list of bit positions per point specified in the Points parameter
(optional). Defaults to zero.
Constants Comma-separated list of constants per point specified in the Points parameter
(optional). Defaults to one.
Example:
SyncReadRaw
Points={Point1.Unit1@Net1, Point2.Unit1@Net1};
This example will retrieve the raw values for Point1 and Point2 within 10:00 to 11:00 of June
1, 2006, with default options.
Use the SyncReadRaw command to synchronously retrieve raw values for a given set of
points within a given time domain. Note that the entries for Filters, Options, Bits, and
Constants must correspond to an entry in the list of Points. After you specify one of the
optional lists, it must contain an entry for every corresponding entry on the list of points (a
one-to-one relationship). To make an equivalent asynchronous call, call the AsyncReadRaw
command.
SyncReadProcessed
Use the SyncReadProcessed command to retrieve processed data synchronously from the
historian.
Syntax:
SyncReadProcessed
Interval=<interval>,
Points={<list of points>},
[Aggregates={<list of aggregates>}],
586 OPH070
History Console tool syntax
[Options={<list of options>}],
[Constants={<list of constants>}];
Parameter Description
name
Range Specifies the start time and end time in mm/dd/yyyy hh:mm:ss format (required).
Interval Size or number of the intervals (required). You can specify the interval either as a
time value (hh:mm:[Link]), as a constant (refer to the list of interval constants
[595]), or as a whole number value.
If more than 75% of the interval is BAD QUALITY or TIMED_OUT, the interval is
marked BAD.
If more than 75% of the interval is GOOD QUALITY or FAIR_QUALITY, the interval is
marked GOOD.
Example:
SyncReadProcessed
Interval=60,
Points={Point1.Unit1@Net1, Point2.Unit1@Net1},
Aggregates={OPH_TIMEAVERAGE, OPH_INTEGRATION};
This example will retrieve the average and integration for Point1 and Point2, respectively,
per minute within 10:00 to 11:00 of June 1, 2006, with default options.
Use this command to synchronously retrieve processed and periodic values for a given set of
points within a given time domain. Note that the entries for Aggregates, Options, Bits, and
Constants must correspond to an entry in the list of Points.
OPH070 587
History Console tool syntax
SyncReadRealTime
The SyncReadRealTime command retrieves near real-time data synchronously from the
Historian for a given set of points.
Syntax:
SyncReadRealTime
Points={<list points>};
Example:
SyncReadRealTime
Points={Point1.Unit1@Net1, Point2.Unit1@Net1};
This example will retrieve the raw values for Point1 and Point2 in the nearest real time
values.
ReadAlarms
Use the ReadAlarms command to retrieve alarms from the historian.
Syntax:
ReadAlarms
[Source=<source id>],
[System=<system id>],
[Drop=<drop id>],
[RecordType=<record type>],
[AlarmType=<alarm type>],
[Options={OPH_exactpointmatch}],
[Code=<alarm code>],
[Description=<description>],
[Priority=<alarm priority>],
[Value=<value>],
[Quality=<quality>],
588 OPH070
History Console tool syntax
[Units=<units>],
[Limits=<limit>],
[Incr=<incremental limit>],
[Point_type=<point type>],
[Plant_mode=<plant mode>],
[Characteristics=<point characteristics>];
ReadTextMsgs
Use the ReadTextMsgs command to retrieve text messages from the historian.
Syntax:
ReadTextMsgs
OPH070 589
History Console tool syntax
[Source=<source id>],
[System=<system id>],
[Drop=<drop id>],
[MsgType=<message type>],
[User=<Username>],
[Domain=<Domain>],
[Options={OPH_exactpointmatch}],
[Reason=<reason>];
Parameter Description
name
Range Specifies the start time and end time in mm/dd/yyyy hh:mm:ss format
(required).
Point Point name substring (optional). Accepts wild cards. Defaults to an empty string
or no point filter.
Source Source ID (optional). Defaults to no source ID filter.
System System ID (optional). Defaults to no system ID filter.
Drop Drop ID (optional). Defaults to no drop filter.
MsgType The string value that specifies the type of message that you want to
retrieve--'SYSTEM' or 'OPEVENT (optional). Defaults to no message type filter.
User Specifies the user name of the logged-in user.
Domain Specifies the domain name of the user account.
EventType List of event types, separated by commas (optional). Refer to the syntax terms
[595] for details. Defaults to a no events type filter.
Options (Optional) Enables the exact point match feature.
Reason Reason for the message.
Example:
ReadTextMsgs
MsgType='OPEVENT';
User=user1
Domain=OV360
590 OPH070
History Console tool syntax
This example retrieves operator event messages between 10:00 and 11:00 hrs of June 1,
2015, for the user user1 of the domain OV360.
Use the MsgType parameter to specify the type of message that you want to retrieve. For
example, to retrieve operator events, set MsgType to 'OPEVENT'. To retrieve system
messages, set MsgType to 'SYSTEM'. If the MsgType parameter is not supplied or is set to a
blank string, all text messages are returned.
ReadSoe
Use the ReadSoe command to retrieve sequence of events from the historian.
Syntax:
ReadSoe
[Source=<source id>],
[System=<system id>],
[Drop=<drop id>],
[Options={OPH_exactpointmatch}],
[SOE_flags=<SOE flags>],
[SOE_format=<SOE format>],
[Point_SID=<point SID>],
[DPU_error=<DPU error>],
[Description=<description>],
[State=<state>];
OPH070 591
History Console tool syntax
• GetDeviceInfo [592].
• CommandDevice [592].
GetDeviceInfo
Use the GetDeviceInfo command to retrieve the list of available archive devices from the
historian.
Syntax:
GetDeviceInfo;
CommandDevice
Use the CommandDevice command to initiate an archive device command.
Syntax:
CommandDevice
Device=<device id>,
Action=<action>;
• SendLabFile [592].
SendLabFile
Use the SendLabFile command to send a lab file to the historian.
Syntax:
SendLabFile
592 OPH070
History Console tool syntax
[Results=<results file>];
By default, the results of the processing per row are shown, but you can specify an optional
Results file to dump the results to.
• CreateDir [593].
• PutFile [593].
• GetFile [594].
• GetList [594].
CreateDir
Use the CreateDir command to create a directory in the historian server.
Syntax:
CreateDir
Timestamp=<timestamp>;
PutFile
Use the PutFile command to put a file in the historian server.
Syntax:
Putfile
Source=<source filename>,
Destination=<destination filename>,
OPH070 593
History Console tool syntax
Timestamp=<timestamp>;
GetFile
Use the GetFile command to retrieve files from the historian server.
Syntax:
Getfile
Destination=<destination filename>,
Timestamp=<timestamp>;
GetList
Use the GetList command to retrieve directory information from the historian server.
Syntax:
Getlist
594 OPH070
History Console tool syntax
• RC_VALUE_LIMITS
• RC_SCAN_REMOVED
• RC_ENTERED_VALUE
• RC_TIMED_OUT
• RC_BAD_QUALITY
• RC_FAIR_QUALITY
• RC_RAW_DATA_VAL
• RC_INITIAL_VAL
• RC_EXTERNAL_CALIBRATION
• RC_CHECK_REMOVED
• RC_SENSOR_ALARM
• RC_IN_ALARM
• RC_POOR_QUALITY
• RC_GOOD_QUALITY
• RC_CUTOUT_ALM
• RC_RETURN_VAL
SyncReadProcessed aggregates:
• OPH_NOP
• OPH_NOPBIT
• OPH_TIMEAVERAGE
• OPH_MAXIMUM
• OPH_TOGGLE
• OPH_TIMESET
• OPH_TOGGLERESET
• OPH_MINIMUM
OPH070 595
History Console tool syntax
• OPH_MAXIMUMACTUALTIME
• OPH_MINIMUMACTUALTIME
• OPH_INTEGRATION
• OPH_TOGGLESET
• OPH_TIMERESET
• OPH_TOTAL
• OPH_AVERAGE
• OPH_COUNT
• OPH_START
• OPH_END
• OPH_DELTA
• OPH_RANGE
• OPH_PERCENTBAD
• OPH_PERCENTGOOD
• OPH_DURATIONBAD
• OPH_DURATIONGOOD
• OPH_STDEV
• OPH_VARIANCE
• OPH_REGDEV
• OPH_REGSLOPE
• OPH_REGCONST
• OPH_ANNOTATION
• OPH_GENERATESUMMARY
• OPH_DETECTGLITCH
• ALMTYPE_SENSOR
• ALMTYPE_HIGH
• ALMTYPE_HI_WRS
• ALMTYPE_LOW
• ALMTYPE_LOW_BET
• ALMTYPE_LOW_WRS_UDA
• ALMTYPE_SP_ALM
• ALMTYPE_SID_ALM
• ALMTYPE_ST_CHG
• ALMTYPE_HI_BET
596 OPH070
History Console tool syntax
• ALMTYPE_HI_UDA
• ALMTYPE_HI_WRS_UDA
• ALMTYPE_HI_BET_UDA
• ALMTYPE_LOW_WRS
• ALMTYPE_LOW_UDA
• ALMTYPE_LOW_BET_UDA
• ALMTYPE_TIME_OUT
• ALMTYPE_ALARM
• ALMTYPE_INCR_ALARM
• OPEVENT
• SYSTEM
CommandDevice actions:
• OPH_DEVICEENABLE
• OPH_DEVICEDISABLE
• OPH_DEVICELOCK
• OPH_DEVICEUNLOCK
• OPH_DEVICEEJECT
OPH070 597
Direct reports
22 Sample Reports
Topics covered in this section:
• Direct reports [599]
• ExpressCalc reports [622]
• Alarm [Link]
• Alarm [Link]
• Alarm [Link]
• Alarm [Link]
• Alarm Messages [Link]
• Alarm Messages Review [Link]
OPH070 599
Direct reports
600 OPH070
Direct reports
OPH070 601
Direct reports
602 OPH070
Direct reports
OPH070 603
Direct reports
604 OPH070
Direct reports
• SOE [Link]
• SOE [Link]
• SOE [Link]
• SOE [Link]
• SOE Messages Review [Link]
OPH070 605
Direct reports
606 OPH070
Direct reports
OPH070 607
Direct reports
608 OPH070
Direct reports
OPH070 609
Direct reports
• Text [Link]
• Text [Link]
• Text [Link]
• Text [Link]
610 OPH070
Direct reports
OPH070 611
Direct reports
612 OPH070
Direct reports
OPH070 613
Direct reports
614 OPH070
Direct reports
OPH070 615
Direct reports
616 OPH070
Direct reports
OPH070 617
Direct reports
618 OPH070
Direct reports
OPH070 619
Direct reports
620 OPH070
Direct reports
OPH070 621
ExpressCalc reports
• Actual
622 OPH070
ExpressCalc reports
• Raw
• Actual Bit
• Time Average
• Maximum Value
• Minimum Value
• Time of Maximum
• Time of Minimum
• Integration
• Toggle
• Toggle Set
• Toggle Reset
• Time Set
• Time Reset
• Average
• Total
• Count
• Start Value
• End Value
• Delta
• Range
• Percent Bad
• Percent Good
• Duration Bad
• Duration Good
• Standard Deviation
• Variance
• Average Rate of Change
The historian provides the following ExpressCalc report templates (or formats). The
templates have been designed to be easily edited so that you can rearrange the report into
smaller, customized reports.
OPH070 623
ExpressCalc reports
ExpressCalc CT 80 [Link]
ExpressCalc CT Multi-Point This cross-tab report supports more than 80 points and whose values
As [Link] are formatted as numbers.
Express Calc CT Multi-Point This cross-tab report supports more than 80 points and whose values
As [Link] are formatted as text fields.
ExpressCalc Sub Report This report format is an example of a report that contains sub-reports.
[Link] Sub-reports must be used when the number of points exceeds 80.
Each sub-report can contain up to and including 80 points.
Note
The ExpressCalc basic report templates contain minimal formatting, for use in export to
Excel format.
624 OPH070
ExpressCalc reports
OPH070 625
ExpressCalc reports
626 OPH070
ExpressCalc reports
OPH070 627
ExpressCalc reports
628 OPH070
ExpressCalc reports
OPH070 629
ExpressCalc reports
630 OPH070
ExpressCalc reports
OPH070 631
ExpressCalc reports
632 OPH070
ExpressCalc reports
OPH070 633
ExpressCalc reports
634 OPH070
ExpressCalc reports
OPH070 635
ExpressCalc reports
636 OPH070
ExpressCalc reports
OPH070 637
ExpressCalc reports
638 OPH070
OPH070
Version 4
September 2020
Twitter: [Link]/ovationusers
LinkedIn: [Link]/groups?gid=4179755
Ovation Users’ Group: [Link]
Emerson
200 Beta Drive
Pittsburgh, PA15238