Processbook User Guide: PUBLICATION HSEPB-UM024A-EN-E-June 2012
Processbook User Guide: PUBLICATION HSEPB-UM024A-EN-E-June 2012
Copyright Notice
© 2012 Rockwell Automation Technologies, Inc. All rights reserved. Printed in USA.
© 2010 OSIsoft, Inc. All rights reserved.
This document and any accompanying Rockwell Software products are copyrighted by Rockwell Automation Technologies, Inc. Any reproduction and/or distribution
without prior written consent from Rockwell Automation Technologies, Inc. is strictly prohibited. Please refer to the license agreement for details.
Trademark Notices
FactoryTalk, Rockwell Automation, Rockwell Software, the Rockwell Software logo are registered trademarks of Rockwell Automation, Inc.
The following logos and products are trademarks of Rockwell Automation, Inc.:
FactoryTalk Historian Site Edition (SE), FactoryTalk Historian Machine Edition (ME), RSView, FactoryTalk View, RSView Studio, FactoryTalk ViewStudio, RSView
Machine Edition, RSView ME Station, RSLinx Enterprise, FactoryTalk Services Platform, FactoryTalk Live Data, and FactoryTalk VantagePoint.
Other Trademarks
ActiveX, Microsoft, Microsoft Access, SQL Server, Visual Basic, Visual C++, Visual SourceSafe, Windows, Windows ME, Windows NT, Windows 2000, Windows Server
2003, and Windows XP are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
Adobe, Acrobat, and Reader are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.
Ethernet is a registered trademark of Digital Equipment Corporation, Intel, and Xerox Corporation.
OLE for Process Control (OPC) is a registered trademark of the OPC Foundation.
All other trademarks are the property of their respective holders and are hereby acknowledged.
Warranty
This product is warranted in accordance with the product license. The product’s performance may be affected by system configuration, the application being performed,
operator control, maintenance, and other related factors. Rockwell Automation is not responsible for these intervening factors. The instructions in this document do not cover
all the details or variations in the equipment, procedure, or process described, nor do they provide directions for meeting every possible contingency during installation,
operation, or maintenance.
This product’s implementation may vary among users.
This document is current as of the time of release of the product; however, the accompanying software may have changed since the release. Rockwell Automation, Inc.
reserves the right to change any information contained in this document or the software at anytime without prior notice. It is your responsibility to obtain the most current
information available from Rockwell when installing or using this product.
ii
Contents
Introduction ............................................................ 1
Recent History and Requirements for FactoryTalk Historian
ProcessBook ....................................................................... 1
What's New in FactoryTalk Historian ProcessBook 3.2 ............. 1
What's New in This Release ..................................................... 2
iii
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
iv
●
●
● Contents
●
●
●
v
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
vi
●
●
● Contents
●
●
●
vii
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
viii
●
●
● Contents
●
●
●
ix
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
x
●
●
● Contents
●
●
●
xi
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
xii
●
●
● Contents
●
●
●
xiii
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
xiv
●
●
● Contents
●
●
●
xv
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
xvi
●
●
● Contents
●
●
●
xvii
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
xviii
Chapter 1
Introduction
As the easy-to-use graphical display interface to the Rockwell Automation
FactoryTalk Historian system, FactoryTalk Historian ProcessBook makes
it possible to efficiently display real-time and historical data residing in the
FactoryTalk Historian system and other sources. Process owners use
FactoryTalk Historian ProcessBook to create interactive graphical displays
that can be saved and shared with others. Users can quickly switch between
run and build modes to create dynamic, interactive displays and populate
them with live data. They also can write scripts that automate displays and
trends by using Microsoft Visual Basic for Applications, which is
seamlessly integrated into FactoryTalk Historian ProcessBook. Rockwell
Automation also produces add-ins that perform Batch and other types of
analyses.
1
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
2
●
●
1 ● Introduction ●
●
●
3
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
4
Chapter 2
5
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
6
●
●
2 ● FactoryTalk Historian ProcessBook Essentials ●
●
●
A selected check box next to a server name in the Connections dialog box
indicates an open connection to the FactoryTalk Historian server.
If you select more than one server, the application tries to connect to each
server using the same user ID and password. If it fails, a new FactoryTalk
Historian Server Login dialog box appears. If you already are logged in to the
server from a different FactoryTalk Historian application, such as FactoryTalk
Historian DataLink, the application uses the user ID and password with which you
logged in. See the PI SDK Controls and Dialogs User Help for more detail.
7
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Network Errors
Network Errors update the Status Report (page 226) dialog box, rather
than displaying error messages on your monitor. When a display is opened
but the server is not available, only one Select New Node (page 9) dialog
box appears. The dialog box appears once for each server that is not
available.
8
●
●
2 ● FactoryTalk Historian ProcessBook Essentials ●
●
●
9
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Workspace
When you start FactoryTalk Historian ProcessBook, it appears as an open
window or workspace on the desktop. Depending on your settings, you
may initially see an empty workspace, or an open ProcessBook (page 10)
in either Book (page 50) or Outline (page 53) view.
Within the FactoryTalk Historian ProcessBook workspace you can open a
ProcessBook (page 10) or independent display (page 11).
ProcessBook (.piw)
In FactoryTalk Historian ProcessBook a ProcessBook is the container for
the information and analysis of the process you are monitoring. A
ProcessBook may appear as either a tabbed book - Book view (page 50), or
an outline - Outline view (page 53), and is saved as a separate file with a
.piw extension.
A ProcessBook is a collection of individual displays of data and analysis.
Use a ProcessBook to organize data from the FactoryTalk Historian system
and other sources so that you can analyze the processes you monitor or the
tasks you perform.
A ProcessBook and its displays are stored in a single file.
10
●
●
2 ● FactoryTalk Historian ProcessBook Essentials ●
●
●
Display
The main unit for creating presentations of data in FactoryTalk Historian
ProcessBook is the display. A display may stand on its own (.pdi or.svg),
or it may be part of a ProcessBook (.piw) (page 10). A display contains all
the symbols used to represent an operational environment using real-time,
production data from FactoryTalk Historian as well as data from other
sources. In addition to containing this collection of data elements, the
display has its own set of features and properties that affect the collection
of data elements.
Displays can show a variety of elements, such as a schematic
representation of a production line, a plot of readings taken from a
production line, or a comparison of lab data and batch specifications.
Displays can also be linked to other ProcessBooks, displays in other
ProcessBooks, or other applications.
11
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Build mode.
Most of the functions that you use when you create or modify a
ProcessBook require the Build mode pointer. Use Build mode to add,
remove, or move symbols on a display, to add, remove, or organize
entries in a ProcessBook, and for access to symbol definitions and
formatting tools.
Run mode.
It is used to open entries and execute commands once a ProcessBook
is built. You can make some changes to a display while in Run mode;
however, working in Run mode keeps you from accidentally making
permanent changes to items in a display.
You switch between modes by clicking the Run mode pointer or the
Build mode pointer , which are located on the Tools menu and the
Drawing toolbar. Your preferred mode of operation is set as a default in
your Preference settings.
You can choose Build or Run mode as your preferred mode of operation by
clearing or selecting the Prefer Run Mode check box in the General tab (page 23)
of the ProcessBook Preferences dialog box. This is a helpful preference if you
spend most of your time building or editing displays.
12
●
●
2 ● FactoryTalk Historian ProcessBook Essentials ●
●
●
Add-Ins
By default, FactoryTalk Historian ProcessBook installs with the following
add-in components. You can load or unload these and other add-in
components by using the Add-In Manager (page 13).
AF 2.x Data Set.
Browser toolbar (page 16).
Data Favorites (page 196).
Details (page 191).
Element Relative Displays (ERD) (page 238).
ProcessBook SVG File Converter - enables you to save displays as
SVG files, which can then be used by FactoryTalk Historian
WebParts.
Time Range and Playback toolbar (page 88).
ToolTip Statistics (page 87).
FactoryTalk Historian BatchView.
You can install other add-ins with FactoryTalk Historian ProcessBook, but
they don't become available until you add additional applications:
FactoryTalk Historian BatchView
Add-In Manager
The Add-In Manager lists the Add-Ins (page 13) available in your
FactoryTalk Historian ProcessBook installation. Use this dialog box to
control whether the add-ins are loaded whenever you use FactoryTalk
Historian ProcessBook.
1. Click Tools > Add-in Manager. The Add-In Manager dialog box
appears.
13
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
If the add-in is unloaded and then reloaded, you must click the Revert
14
●
●
2 ● FactoryTalk Historian ProcessBook Essentials ●
●
●
Customize Toolbars
Toolbars may be displayed or omitted as follows:
1. Click View > Toolbars. The Toolbars tab of the Customize dialog
box appears.
2. Check the toolbars you wish to display, and click OK.
Click the Commands tab to see what buttons appear on each toolbar.
3. To move a toolbar, click the double vertical bar at the left end and
drag to the new location. If the toolbar has no move handle, click the
title bar instead.
4. To reshape a floating toolbar (one without move handles), grab one of
its edges and drag to a new shape.
Toolbar Buttons
Many of the menu commands in FactoryTalk Historian ProcessBook can
be selected by clicking a button on a toolbar. To determine the use of a
button on a toolbar, hover the mouse pointer over the button to display a
ToolTip.
15
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Browser Toolbar
These toolbars are open by default when you first launch FactoryTalk
Historian ProcessBook.
16
●
●
2 ● FactoryTalk Historian ProcessBook Essentials ●
●
●
3. From the Browser toolbar (page 16), click either the Forward or
Back buttons to view previously opened ProcessBooks or
displays. Only displays opened during the current session of
FactoryTalk Historian ProcessBook are included in this navigation.
You can also use the Address box to open ProcessBooks and displays.
1. Click the arrow to the right of the Address box to see the last ten valid
file paths you entered. The last entry in the list is Browse.
2. Click Browse to launch an Open File dialog box where you can
browse for a file. You can also enter a URL to open a file.
17
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
1. On the Browser toolbar (page 16), click the small arrow next to the
Home button .
2. From the drop-down menu, select one of the following:
1. Use Default to make PIDemo.piw your default file.
2. Use Current to set the start file to the current, active
ProcessBook or display.
18
●
●
2 ● FactoryTalk Historian ProcessBook Essentials ●
●
●
Bookmarks New bookmarks are automatically added to the root level of the
bookmarks tree. You can organize the entries into a hierarchical tree
structure by dragging and dropping entries. Right-click the Bookmarks
tab to select one of the following from the context menu:
New Folder inserts a new folder at the top level of the tree or as
a subfolder of a selected folder.
Rename makes the entry name of the selected entry editable.
Edit opens a dialog box where you can enter a new name and file
path for the selected bookmark.
Select All selects every entry.
Deselect All clears every entry.
Send To File opens a Save File dialog box for the location to
store the list of bookmarks. Bookmarks are saved as XML and can
be subsequently imported. Only files/folders that are selected
(checked) in the tree are exported.
Send To E-Mail opens a pre-populated Outlook email with the
selected bookmarks ready to be sent as an attachment with the
same format as the Send to File option. Only files/folders that are
selected (checked) in the tree are exported.
Note: The Send To options are only visible if at least one
entry is checked or when right-clicking an item.
Import opens an Open File dialog box where you can select a
bookmarks file to import.
History The tab contains an alphabetical list of all ProcessBooks and displays
you have visited during the current session. From there you can click
an entry to return to that item.
The icon of the entry indicates its file type. Hover over an entry to see
its full path in a ToolTip.
Add/Edit Bookmarks
1. On the Browser toolbar (page 16) click the Bookmark button to
open the Bookmark tab of the Organizer (page 18) window.
From there you can browse, modify, or delete stored file locations.
19
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Keyboard Shortcuts
A keyboard shortcut is a combination of keystrokes to use for frequent
actions. Several of these are already assigned in FactoryTalk Historian
ProcessBook. They appear to the right of the corresponding menu
command on the drop-down menus.
FactoryTalk Historian ProcessBook lets you assign new combinations of
keystrokes or change existing ones.
For example you can:
Assign a keyboard shortcut for inserting symbols with one command.
Assign more than one keyboard shortcut to a specific action.
Change an existing shortcut, such as Ctrl+S, to another sequence you
prefer.
20
●
●
2 ● FactoryTalk Historian ProcessBook Essentials ●
●
●
2. Under Select a macro, click the appropriate macro (menu item). The
description for that item and its assigned shortcuts, if any, appears.
3. Click Create Shortcut. The Assign Shortcut dialog box appears.
21
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
4. Under Press new shortcut key, type the key you wish to use for the
shortcut.
If you want to reset all the keyboard shortcuts to their original positions
when FactoryTalk Historian ProcessBook was installed, click the Reset All,
and then OK.
Preference Settings
You can reach the ProcessBook Preferences dialog box by clicking Tools
> Preferences. Preference settings determine how the ProcessBook entries
look, what colors are available when you draw, and whether your
ProcessBook opens in Book View (page 50) or Outline View (page 53).
22
●
●
2 ● FactoryTalk Historian ProcessBook Essentials ●
●
●
Preference settings are stored in the file procbook.ini. Before you change the
Preference settings, consider creating a back-up copy of procbook.ini so that you
can restore FactoryTalk Historian ProcessBook to the original settings.
General Preferences
Click Tools > Preferences > General tab to configure application-wide
settings. These settings are stored in and retrieved from the [STARTUP]
section of your procbook.ini (page 315) file.
23
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Startup File The file name and path in this field determine which, if any, file is
automatically opened when the application is launched. The default
value when FactoryTalk Historian ProcessBook is first installed is
<installation path>\procbook\pidemo.piw.
Library File The file name and path in this field determine which, if any, file is
opened when the original symbol library command is used. The
default value when FactoryTalk Historian ProcessBook is first installed
is <installation path>\procbook\symlibry.piw.
Prefer Run Mode Determines whether ProcessBook starts up in Run mode or Build
mode by default. By default, this option is enabled when FactoryTalk
Historian ProcessBook is first installed on a computer.
Create Backup Determines whether backup files (with a .bak extension) are
Files automatically created when a FactoryTalk Historian ProcessBook file is
opened. By default, this option is turned off when FactoryTalk
Historian ProcessBook is first installed on a computer.
Retain snapshot Determines whether the archive event pipe is used for updating
values on updating trends, discarding any snapshot values between stored, archive
plots values. This setting is stored as PB2TraceCompatibility in the
[STARTUP] section of your procbook.ini. By default, this option is
turned off when FactoryTalk Historian ProcessBook is first installed on
a computer.
24
●
●
2 ● FactoryTalk Historian ProcessBook Essentials ●
●
●
Date and Time Settings in this area determine how time is displayed in FactoryTalk
Format Historian ProcessBook. Previews of each format are shown to help
you select the desired option.
The Use local Windows format option uses the current Regional
Options settings in the Windows Control Panel on the client
machine to determine how dates and times are displayed. Dates
are shown using the currently configured Short Date format and
Times are shown using the current time format settings.
The Use FactoryTalk Historian Time Format option displays
timestamps in the default FactoryTalk Historian format of dd-
mmm-yy HH:mm:ss.ssss, where dd is the day of the month, mmm
is a the short text abbreviation of the month name (e.g., Jan for
January), yy is the two digit year, HH is the hour in 24-hour
format, mm is the minute and ss.sss is the second, including sub-
seconds, if present.
Default Time Zone Determines whether timestamps reflect the time zone of the
FactoryTalk Historian server used to retrieve data (FactoryTalk
Historian server time zone), or the time zone of the local
computer (Client machine time zone), when a new display is
created. By default, the FactoryTalk Historian server option is selected
when FactoryTalk Historian ProcessBook is first installed on a
computer. This setting can also be changed and is stored with each
display.
25
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
26
●
●
2 ● FactoryTalk Historian ProcessBook Essentials ●
●
●
Font Settings The controls in this area determine the font settings applied to each
entry level in a ProcessBook. The font settings control the display of
entry names in Table of Contents windows.
The Entry level field allows you to select the level to configure.
You can only select one level at a time.
The Font field lists all the fonts installed on the computer running
FactoryTalk Historian ProcessBook.
The Size field determines the size of the text. The first time
ProcessBook is installed, the current Windows system font
determines the default font settings to use.
The Font style group determines whether text is shown in bold or
italic.
Preview This read-only field displays font settings for each level in a
ProcessBook. Each of the 10 possible entry levels is listed and
displayed with its current font name, and style settings.
27
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Display Window
Click Tools > Preferences > Display Window tab to set options that apply
to display windows. These settings are stored in and retrieved from your
procbook.ini (page 315) file.
28
●
●
2 ● FactoryTalk Historian ProcessBook Essentials ●
●
●
Show Value Determines whether icons are displayed for Value Attribute flags
Attributes (Questionable, Substituted or Annotated) on FactoryTalk Historian
data. This option is turned on when FactoryTalk Historian
ProcessBook is first installed on a computer.
Run mode scrolling Determines the scroll bar behavior of display windows in Run mode.
Build mode Determines the scroll bar behavior of display windows in Build mode.
scrolling
Automatic Scroll bars appear when needed (this is the default setting).
Color Palette These fields present the 16 colors selected for use throughout the
application as the basic colors for the color well control.
Use the Modify button to launch the Color dialog box, where you
can select additional colors.
Use the Reset button to return the Color Palette to system
default values.
Default Display Determines the default color used for new displays. The color well
Background Color control is used to select a color. This color is also set when the
Background color of the current display is changed.
Symbol Defaults Contains fields to set the default formatting values for new symbols.
These defaults are also changed when the Formatting controls are
used and no symbols are selected.
29
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Trend Preferences
Click Tools > Preferences > Trend tab to set default settings for new
trend symbols. These settings also apply to instant trends.
30
●
●
2 ● FactoryTalk Historian ProcessBook Essentials ●
●
●
31
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Sample Use this display area to view a preview of selected trend preferences.
32
●
●
2 ● FactoryTalk Historian ProcessBook Essentials ●
●
●
Traces per Ad Hoc Select the number of traces to have per plot on an ad hoc (instant)
Trend trend. The default is 3, the maximum is 8. Once this number is
reached, additional plots are created to show the remaining tags
selected for the instant trend.
Plot Element Use the drop down list to select from pens, text, grids, and
background.
For each plot element, select a Marker Type, Line Style, Line
Weight, and Color.
Note: You may select one of several line styles for each
trace. You can also specify the line thickness. Select none to
omit a grid line.
Sample See your changes previewed in the Sample area at the bottom of the
dialog box.
33
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Each topic in the help file may be printed separately or you can print them
all at once.
The Print command is accessible from the File menu, CTRL+P, or the
print button. You can print the contents of the active window or if you
select items within a display before you open the Print dialog box, then
you can choose to print only those items.
On a non-color printer, symbols are printed in shades of gray, but trends are
printed in black and white.
On some printers, when you print a trend with cursors, the value and time
stamp boxes of the cursor does not hide the information beneath them.
However, other trend cursors and the trend time scale may show through
the trend cursor boxes, making the values hard to read.
34
●
●
2 ● FactoryTalk Historian ProcessBook Essentials ●
●
●
Print Preview
Printer Setup
Select Print Setup to choose a printer, page orientation, and paper size. In
addition, you can fine-tune the quality of output or the performance of your
printer. The settings you choose in Print Setup become the defaults for all
your printing.
1. Click File > Page Setup. The Print Setup dialog box appears.
2. Select the printer, orientation, and paper size and source.
35
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
36
●
●
2 ● FactoryTalk Historian ProcessBook Essentials ●
●
●
Click Copy Info to copy the contents of the list to your Windows
clipboard where it can be pasted into a spreadsheet or text editor. This
can be useful to share with Rockwell Automation Technical Support
engineers if you have a problem.
Click System Info to launch the Microsoft System Information
dialog box. This information can also be useful when troubleshooting
issues through Technical Support.
37
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
38
Chapter 3
39
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
When you create and save a new ProcessBook, the application initially
gives it the title Book1, where 1 represents the number of ProcessBooks
created during the current session.
FactoryTalk Historian ProcessBook also creates a file name for the new
ProcessBook. It suggests the first word from your title and an extension of
.piw. For example, FactoryTalk Historian ProcessBook may suggest
Filtrat1.PIW. If you plan to build an entire set of ProcessBooks, you
might choose to modify it in Windows Explorer to sort your set of
ProcessBooks in some meaningful order, such as 05FiltrP.PIW.
1. In Build mode, click File > New. The New dialog box appears.
2. Select ProcessBook (.piw) File.
3. Under ProcessBook Name, type a name for the new book.
4. Click OK.
A new ProcessBook appears.
If you typed a name in the ProcessBook Name box, then the name appears
on the ProcessBook title bar. If you did not type a name, then the default title
Book1 appears on the title bar.
40
●
●
3 ● Work with a ProcessBook ●
●
●
You can add entry titles to a ProcessBook and then complete the detailed
design of the entries later.
There are five specific types of entries:
Text (page 43) - provides headings or static information.
Display (page 43) - opens a display.
Linked displays (page 43) - links to an independent display file.
41
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
42
●
●
3 ● Work with a ProcessBook ●
●
●
If you are creating the first entry in the ProcessBook, the level is
automatically set to 1 and cannot be changed. This entry is used as the first
tab label.
7. Click OK. The entry is added to the ProcessBook. If the entry is at
Level 1 and you are in Book view, a tab is created using the name of
the entry.
8. Click the Save button on the toolbar, or click File > Save.
43
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
The linked entry is not a copy; it is a way of opening the original, similar to
using a Windows shortcut. The Book View or Outline View shows the title
of the linked entry, but the actual display window shows the title of the
original entry.
If you edit the original from any linked entry, the original is updated and
automatically appears updated in all the ProcessBooks that are linked to it.
To prevent unexpected updates, you can restrict access to an entry so that
only the original entry can be edited and all others to which it is linked are
read-only. If the entry resides on a server, you can write-protect the file on
the server. If you need more information on restricting access to files, see
your System Administrator.
Before you create a link to an original entry in a different ProcessBook, the
ProcessBook that contains the original (target) entry must be open. Once
the link is established, you only need to open the ProcessBook with the
Linked Entry.
If you want to link to an entry in a second ProcessBook, open the second
book or use the Display Search dialog box. If you want to link to an entry
in the current ProcessBook, create the original display entry first, save the
file, and then create the linked entry. The target display must be in a file
that has been saved so that its path can be determined.
44
●
●
3 ● Work with a ProcessBook ●
●
●
6. Click the Browse button, or click the Browse arrow to see more
search options. The Open dialog box appears.
To link to an independent display file, locate and select the
display file (.pdi) to which you want to link and then click the
Open button. The display name appears in the Action box.
To link to another ProcessBook, locate and select the processbook
file (.piw) to which you want to link and click the Open button.
The file name appears in the Action box.
To link to a display in a ProcessBook, select the Display Search
option from the Browse drop-down and enter criteria to locate the
display you want within the open files. If the display you want is
not in a file that is open, select a different option in the Look in
field. When the display is listed in the Display Search dialog box,
select it and click OK. The name appears in the Action box.
7. In the Level list, click the level at which you want to position the entry
in the ProcessBook hierarchy of entries, or type a number between 1
and 10.
If you are creating the first entry in the ProcessBook, the level is
automatically set to 1 and cannot be changed.
8. Clear the Options check box if you want the absolute path to the file
checked first.
45
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
46
●
●
3 ● Work with a ProcessBook ●
●
●
When you have reports created on a different system, you can convert them
to ASCII and, using an operating system command, create a link to
Notepad to read the reports.
If your company has online Help files for certain procedures, you can
create a link to those help files or other documents.
Your computer must have enough memory to run the applications you
want to use in addition to FactoryTalk Historian ProcessBook. The
applications also must be installed on your system. If you do not know
whether or not your computer has enough memory, contact your System
Administrator.
If you know the name of the .exe file for the application, such as
C:\excel\Excel.exe for Excel or the path and name of a data file, such as
C:\document\report.xls, then you can type the path directly in the Action
box. You can use most commands that execute successfully in the Windows
Start menu Run dialog box.
47
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
If you know the name of the working folder for this application,
then you can type it directly in the Working folder box.
9. In the Level list, click the level at which you want to position the entry
in the ProcessBook hierarchy of entries, or type a number between 1
and 10.
If you are creating the first entry in the ProcessBook, the level is
automatically set to 1 and cannot be changed.
10. If the file specified in the Action box is associated with one
application and you want to open it with another, select the Ignore the
default shell command for recognized file types check box. This
option is normally only used with files such as displays saved as SVG
so that they can be opened in FactoryTalk Historian ProcessBook
instead of the associated Viewer application.
48
●
●
3 ● Work with a ProcessBook ●
●
●
In other words, if the string works for the Run command under the File
menu of the Program Manager, it will work in FactoryTalk Historian
ProcessBook.
Some applications that you can access with an operating system command,
such as MS Excel, allow only one copy of the application to open, even if
you execute the command several times.
49
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Whether you are in Outline View or Book View, you can edit and
rearrange entries, or delete entries altogether. Some functions are
performed the same regardless of the view in which you are working.
Book View is a useful organizational tool when your ProcessBook has only
a few dozen displays. If your ProcessBook is large and contains many
displays, Outline View is faster and easier to use.
If there is no ProcessBook or independent display selected in your
Preference settings, click File > Open or File > Create to open or initiate
a file.
Book View
In Book View , the ProcessBook displays as a loose-leaf binder.
Tabs indicate major divisions in the ProcessBook. Each tab section has a
heading, which may be any ProcessBook entry. The entry title is used as
the tab name. A tab section may contain several pages of entries
representing different types of information. There is no limit to the number
of tabs you may have in a Book. However, as you add tabs or reduce the
size of the ProcessBook, the tabs are stacked to the right of the Book. This
might make the ProcessBook difficult to read in Book View.
When you create a first-level entry in Book View, the name becomes the
label for the section tab. If the entry is the first entry you have added to the
ProcessBook, the entry level is automatically set at 1. Subsequent sub-
entries are listed below the main entry. When you select another first level
entry, a new page is created with a new tab. You can have up to 10 levels
of entries in a ProcessBook, but levels 3 to 10 are displayed in Book View
as though they were at the same level.
Displays within a tab section are typically arranged in a hierarchical
fashion. For example, a display that includes a boiler, a condenser, and a
pump may be at the top level of a tab section. The boiler, the condenser,
and the pump may be separate displays that are arranged underneath the
50
●
●
3 ● Work with a ProcessBook ●
●
●
summary display. Each of these displays can have several displays for their
components.
51
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
2. Click the upper triangle to move forward one page, or click the lower
triangle to move backward a page.
A dark gray triangle indicates there are no more pages in that
direction.
3. Click the tabs along the right-hand side to move quickly between
sections of a ProcessBook.
Resize a ProcessBook
To resize a ProcessBook:
1. Click and drag on the frame of a ProcessBook until the window is the
size you want.
As you make a window smaller, the ProcessBook is resized so you can
still see all of the tabs. If the window becomes too small to display all
the members of a group of displays, the displays are moved to new
pages.
2. If the ProcessBook window becomes too small, all the tabs behind the
first tab are collapsed into one tab labeled More. Click the More tab
to display a pop-up list of the other tab sections.
52
●
●
3 ● Work with a ProcessBook ●
●
●
Outline View
In Outline View , ProcessBook displays are arranged hierarchically on
a page.
Click View > Outline to display a ProcessBook as an outline. When you
are in Outline View, a set of buttons is added to the active ProcessBook
window to collapse or expand the outline. You may need to resize the
window so all the buttons are visible. Use the horizontal and vertical scroll
bars to see all entries in the outline.
53
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
54
●
●
3 ● Work with a ProcessBook ●
●
●
-or-
Click the transparent plus sign to collapse the list of subordinate
displays.
Expanded View:
You can change the font for each level in Outline View in the
ProcessBook Preferences (page 22) dialog box.
55
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
56
●
●
3 ● Work with a ProcessBook ●
●
●
If you highlight an entry first, the new entry is placed above the
highlighted entry.
Remove an Entry
To remove an entry:
1. In Build mode, select an entry title in either Book View or Outline
View.
2. Press the DELETE key. The entry is removed from the ProcessBook.
If you accidentally delete the wrong entry choose Edit > Undo.
57
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
58
●
●
3 ● Work with a ProcessBook ●
●
●
Properties
Summary Information in ProcessBook
Click File > Properties to display the Summary Information dialog box
for a file. The Summary Information dialog box you see is the same for
the ProcessBook as a whole or for the individual displays.
Author Extracted from the Author field on the General tab in the
ProcessBook Preferences dialog box at the time the ProcessBook
is first saved.
Note: You can change the Author field in either the Summary
Information dialog box or the ProcessBook Preferences dialog
box.
Title Name of the ProcessBook (extracted from the original creation of the
ProcessBook).
59
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Comments May be used for any text entry. You can revise this field at any time.
Properties button Clicking the Properties button displays the FactoryTalk Historian
ProcessBook Properties (page 60) dialog box, which gives
information about the view currently in the active window.
If you click the Properties button while a display is open, you launch the
Display Properties dialog box.
Review the following for additional information:
60
●
●
3 ● Work with a ProcessBook ●
●
●
Last Saved By Name of the person who saved the ProcessBook most recently.
(Extracted from the Author field on the General tab in the
ProcessBook Preferences dialog box.) If this field is blank, the PC
login name of the author is used. This is useful for tracking who made
which revisions.
Revision Number of times the ProcessBook has been revised and saved.
The ProcessBook title is different from the file name established in the
New dialog box when you created the new ProcessBook. The title bar on the
61
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
ProcessBook window displays the file name, which ends in .piw, rather than
the title.
3. Click OK.
62
●
●
3 ● Work with a ProcessBook ●
●
●
Last Saved By Name of the person who saved the ProcessBook most recently.
(Extracted from the Author field on the General tab in the
ProcessBook Preferences dialog box.) If this field is blank, the PC
login name of the author is used. This is useful for tracking who made
which revisions.
Revision Number of times the ProcessBook has been revised and saved.
Dynamic Symbols The number of display symbols that are dynamic symbols.
Static Symbols The number of display symbols that are static symbols.
63
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Depending on the size, some files may take several minutes to import.
When a trend is successfully imported, a new Text display showing the full
file name is added to the ProcessBook. Each trend is added as a
subordinate display and retains its original trend name. For graphics, the
VAX display name becomes the Display name. Once converted, graphics
and trends can be edited like any other display.
64
●
●
3 ● Work with a ProcessBook ●
●
●
-or-
Close the ProcessBook and reopen it so that the new version of the
display is shown. Then make changes and save again.
Open the Summary Information (page 59) dialog box to view the name
of the person who has made changes and saved the file most recently.
65
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
66
Chapter 4
Static Symbols
Static symbols are symbols that do not automatically change as time
passes, such as an image, process diagram, or descriptive text.
Static symbols include all items in a display that do not connect to the
FactoryTalk Historian server or other application to retrieve data, and do
not start any application. Text labels and flow lines are examples of static
symbols. Other types include rectangles, circles, arcs, and images.
67
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Dynamic Symbols
Dynamic symbols are values, bars, trends, XYPlots, SQC charts, and
multi-state symbols (such as a pump image tied to temperature data) that
change over time, and are based on the value of a tag in the FactoryTalk
Historian Archive. If you wish to see how a dynamic symbol was defined,
select it and click the Item Definition button on the Drawing toolbar.
Dynamic symbols may also report data from outside databases through
queries.
If you rest your mouse on a dynamic symbol, you can see a ToolTip
with the current value, tag name, and time stamp.
Icons for questionable, substituted, and annotated FactoryTalk
Historian data can also appear on your displays.
Most point types (page 235) can be used with any dynamic symbol.
There are some restrictions on string and timestamp data.
Buttons
Buttons are elements that create a link to other applications, such as a
calculator or word processor, or other ProcessBooks or displays. You can
also use buttons to execute a script.
For example, if you find you work in a particular display and frequently
need to update a report with the information you are monitoring, you can
add a button that automatically opens a spreadsheet program. You also can
use a button to perform common actions using a script, like printing a
display, or connect to related displays, ProcessBooks, or Web sites.
OLE Objects
OLE objects include information from outside applications, such as text,
spreadsheets, or graphics. This information may be configured to update
dynamically. OLE objects may be either linked (page 290) or embedded
(page 287) into displays.
68
●
●
4 ● Work with a Display ●
●
●
69
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
If you click an Operating System Command more than once in the same
session, it may run the application repeatedly. This depends on the application and
how it has been set up.
Displays re-open in the same position, size, and shape as when they were
last saved.
70
●
●
4 ● Work with a Display ●
●
●
71
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
the display resize and take up the entire window. OLE objects are not
included.
4. Click OK.
You must save the display before closing it for your zoom settings to
appear the next time you open it.
To resize the window:
Use the Maximize and Minimize buttons in the upper right hand
corner of your display window to adjust your display size. When you
maximize a display, all open display windows are maximized. You
can also drag the edge or corner of the window to the desired size.
If you have your Preference setting for Preserve Ascpect Ratio check
box selected, the contents of the display resize as you resize the window. If
this option is not enabled, the size of each element in the display does not
change as you change the window size.
1. Click the Full Screen button on the Full Screen toolbar . Other
toolbars vanish and the display enlarges to fit the screen.
2. Click the Full Screen button again to restore your toolbars. A default
keyboard shortcut of F11 also toggles between Full Screen and
Normal presentations.
You can customize the Full Screen toolbar to contain other buttons to
use with a Full Screen display.
72
●
●
4 ● Work with a Display ●
●
●
3. Under Name, type one or more of the letters of the display name.
4. In the Look in, click the location you want to search.
-or-
In the drop-down list, click Browse, and then locate the appropriate
folder.
5. Select Look in subfolders (optional).
6. Click Search. The search results are displayed under Results.
7. Under Filename, click the display you want to open and then click
OK.
73
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Save a Display
A display may be saved within a ProcessBook or as an independent file
(.pdi).
1. Click File > Save or Save As.
2. From the Save as type drop-down box, select one of the following six
formats. The default is .pdi:
.pdi Display file. If you select this format your display becomes an
independent file that updates under certain circumstances.
.svg SVG file for Web use. If you select this format it becomes the default file
type when saving files later. FactoryTalk Historian ProcessBook 3.0 or
higher only supports version 3.0 or higher of the SVG add-in. See the SVG
add-in release notes for more information.
The last four file types are graphics formats and do not update. If you
choose one of the graphic formats, the display in focus is unchanged by
the Save-As operation. The display is left open and remains in the same
mode (Run or Build).
74
●
●
4 ● Work with a Display ●
●
●
Display Settings
To edit display properties, click Edit > Display, or double-click the Time
Zone setting in the Status bar. The Display Settings dialog box appears.
75
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Time Zone This field determines whether the local computer or FactoryTalk
Historian server time zone is used for interpreting dates and times for
this particular display.
Enable Scripting When displays have many symbols on them, the performance of
FactoryTalk Historian ProcessBook may be affected. One way to
improve the situation is to disable the ability to code the majority of
those symbols. In order to disable scripting and improve performance,
you can take the following actions:
In the Enable Scripting section, clear the Automatically Enable
Scripting check box. This adds new symbols to the display
without the overhead of enabling scripting if it isn't needed.
If the display already has many enabled symbols on it, click the
Disable Scripting for All Symbols button in the Enable
Scripting section. This button removes the scripting capability for
all existing symbols to help improve performance.
OK Click this button to accept the changes made and closes the dialog
box. These settings are saved as part of the Display object.
76
●
●
4 ● Work with a Display ●
●
●
Run Mode Determines the scroll bar behavior of display windows in Run mode.
Build Mode Determines the scroll bar behavior of display windows in Build mode.
Automatic Scroll bars appear when needed (this is the default setting for new
displays).
Drawing Tools
FactoryTalk Historian ProcessBook includes a drawing environment with
features that allow you to create symbols and graphics within an entry.
77
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
If you are drawing multiple objects, press the CTRL key while selecting the
drawing tool. This lets you continue to work with that tool until you select a
different tool.
Organizing Symbols
FactoryTalk Historian ProcessBook provides several tools to help you
organize your drawings. These tools include a drawing grid, flip and rotate
capabilities, and the ability to change the order in which objects overlap
78
●
●
4 ● Work with a Display ●
●
●
each other. You can move and resize drawing objects. You can also divide
a display into layers so that you can segregate various elements. For
example, you might separate HVAC elements from Electrical elements in a
display.
Any of these functions can be performed on a single screen element or
group of them. For information on grouping objects, see Grouping Symbols
(page 210).
Make sure you have selected the item or items with the Build Mode
pointer.
OLE objects behave somewhat differently; their behavior is discussed
under Commands that Ignore OLE Objects (page 293).
Drawing Area
The drawing area of a display is actually much larger than your monitor.
There are scroll bars on the display window for moving around this area.
You should plan to set a few options before you begin drawing:
Consider turning on snap-to grid and setting the grid size, font style,
and default colors of lines, backgrounds, and fills before you begin. It
is usually easier to work with a grid when laying out a display.
Symbols in your drawing automatically align themselves with the grid
lines or the intersections of grid lines. Grid lines not only make it
easier to place objects in the drawing, but it helps keep the objects
proportional. You can start with one grid size and then modify it as
your work gets more detailed.
Select a font and font size for any values, trends, or text boxes you
might add to the drawing.
Select colors for lines, fills, and backgrounds that are easy on the eyes.
For example, if you are projecting on a large video screen, a black
background with colored lines is better, but if you are printing, a white
background is better.
79
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
While you are drawing, you can use the zoom feature to zoom in on an
area that requires more attention. Zoom out if the drawing is larger than
your monitor.
Drawing Grid
The grid is a system of vertical and horizontal lines spaced at regular
intervals on the drawing area. Dots are placed at the intersection of the grid
lines. The grid helps you align drawing objects.
When you move an object to a location on the drawing area, the corners or
edges of the object are aligned with the closest grid intersection. This is
called snap-to-grid or grid snap. When you turn off grid snap, you can
move an object to any location within the drawing area.
You determine the interval at which you want the grid lines to be spaced
by setting the grid size.
80
●
●
4 ● Work with a Display ●
●
●
5. Click OK.
Formatting
Each symbol you draw and place on a display has attributes that determine
how the symbol looks. The fill and line attributes that are currently selected
on the Display Window (page 28) tab of the ProcessBook Preference
dialog box are applied to any new drawing symbol. You may configure
these attributes for individual symbols or for all selected symbols as a
group.
The Symbol Formatting toolbar contains buttons for formatting fonts,
colors, and line styles. FactoryTalk Historian ProcessBook also includes
the older Formatting toolbar to support backwards compatibility
Line X X X X
Rectangle X X X X
Text X X
Ellipse X X X X
Arc X X X X
Value X X
Polygon X X X X
Polyline X X X
Bar X X X X
Trend X X X X
81
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Font
When choosing fonts, plan to use fonts that other FactoryTalk Historian
ProcessBook users are likely to have. If another user does not have the fonts
you used, FactoryTalk Historian ProcessBook attempts to match the font to an
existing font. However, the match may make it difficult for another user to
read the entry.
Line Color
82
●
●
4 ● Work with a Display ●
●
●
None Disables line color. Setting the line color to None for Pen
elements on a trend hides the trace and its associated markers.
Fill Color
The Fill Color button is disabled if the selected symbol does not support
this property.
83
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
3. Click the arrow on the right side of the Fill Color button to display the
color palette. Choose from the 16 colors available or click one of these
two buttons:
Custom Color Launches the Color dialog box where you can choose additional
colors from a color well of options.
None Disables fill color. Setting the fill color to None shows the display
background color.
Background Color
84
●
●
4 ● Work with a Display ●
●
●
Line Weight
Line Style
85
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Line Ends
Formatting Paintbrush
86
●
●
4 ● Work with a Display ●
●
●
ToolTip Statistics
In Run mode, hover your mouse over a point on a dynamic symbol to
display a ToolTip with summary statistics. Engineering units are shown
next to the value followed by the timestamp paired with the value. If you
hover your mouse over a point where there is more than one trace, each
trace's data is shown on a separate line.
Click Tools > ToolTip Statistics to launch the ToolTip Statistics dialog
box, where you can select what type of data you want to see when viewing
ToolTips.
The options under Summary Statistics to Show do not affect ToolTips for
XYPlots.
ToolTip Statistics are shown for any dynamic symbol that has FactoryTalk
Historian data. The effective time range of the display is used to aggregate
the data for these statistics.
87
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
The toolbar contains a time tracker that shows the display range (page 93),
the scroll period (page 92) that shows the start and end time for the entire
playback session, and the following controls:
Revert Click the button to restore all the active displays to their configured
time ranges.
This button is available only when playback is not active.
Back or Forward Click either button to adjust the display range (page 93) back or
One Time Period forward one time period for the active display or all active displays, if
synchronized.
When you use these buttons to move beyond the start or end time of
the scroll period, the scroll period expands to contain the display
range.
These buttons are available only when playback is not active.
88
●
●
4 ● Work with a Display ●
●
●
Time Tracker The time tracker shows the Display range (page 93) and available
Scroll period (page 92).
Go to Current Time Click the button to move the display range so that its end time is the
current time (*).
This action does not change the dimensions of the display range.
This button is available only when playback is not active.
Change the Display Click the button or double-click the display range to open the Change
Range Display Range dialog box (page 94).
Repeat Click the button to make the playback repeat each time it reaches the
end of the scroll period (page 92).
89
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Fast Forward Click the button to accelerate the rate of play back. Each successive
click of Fast Forward doubles the rate at which the display plays back.
The first click doubles playback speed, then advances to 4x, 8x, 16x,
and 32x the playback speed. An additional click returns the playback
to the default playback speed.
Click Play to resume normal speed playback. The playback continues
from the current position rather than starting from the beginning.
Options Click the button to open the Scroll Options (page 91) dialog box.
Calendar Hover at either end of the scroll period to see the Calendar icon.
Click the scroll range while the calendar icon is displayed to open a
calendar to set that end of the scroll period.
The calendar accepts any time string format supported by FactoryTalk
Historian and returns dates and times using Windows time configured
with the current regional settings of the client computer.
90
●
●
4 ● Work with a Display ●
●
●
91
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Scroll Period (page Use the spin box or calendar controls to select start and end dates
92) and times.
Refresh Rate Select the number of seconds between updates of the display that is
being played.
Speed Select the rate at which the display plays back. The speed is
expressed in units per second. Speed can be expressed as
milliseconds, seconds, minutes, hours, days, and months, and must
be smaller than the display range.
Scroll Period
The scroll period marks the earliest and latest time for which you can
manipulate or playback a display.
92
●
●
4 ● Work with a Display ●
●
●
Display Range
The display range icon represents the time duration
shown on the trend symbols, or for a bar or value, the end time of the
display range is the symbol time.
The display range must be shorter than the scroll period (page 92).
93
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
94
●
●
4 ● Work with a Display ●
●
●
Use the Time Tracker arrow keys to move the display range current
position.
Click the scroll bar on either side of the display range to move the
display range to the position where you click.
Click anywhere in the display range and use the left and right arrow
keys to move the display range back and forward across the scroll
period.
Create Layers
To create a layer:
1. Open a display.
95
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Up/down arrows Buttons at the right side of the dialog box are used to move
the relative position of one layer to another within a display.
As a layer is moved down the list, its index number becomes
larger, and vice versa. Symbols on layers with higher index
numbers may hide or cover symbols with lower-index
numbers. Locked layers cannot be reordered.
96
●
●
4 ● Work with a Display ●
●
●
Active Accepts all new symbols as you add them to the display. Inactive
prevents symbols from being added automatically. New layers are
Active by default.
7. Click OK.
97
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
2. Select or clear the check box next to a layer name to add or remove the
selected symbol from a layer. If a layer name is grayed out, the layer is
locked and you cannot add or remove symbols. You may add the same
symbol to more than one layer.
3. Click OK.
98
●
●
4 ● Work with a Display ●
●
●
99
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
100
●
●
4 ● Work with a Display ●
●
●
101
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
102
Chapter 5
Trends
A trend is a dynamic symbol that lets you view values plotted against time.
Trends can show the value of one or more data streams over a time period.
Trends are typically used to display time series data, though they may also
include non-time series data as well.
Some components of trends include:
Traces Lines drawn on a trend to represent a series of data points from a
data stream (page 229).
Pens Formatting components used to determine the presentation of data
lines (traces) on trends.
103
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Plot Title The title of the trend being configured. The plot title can be blank, but
a title is supplied by default.
Grid lines Used to mark intervals along the time and value scales.
If the Plot Time continues through the current time, the trend updates as
information changes, unless the length of the overall time period exceeds
the limit set by your System Administrator. The default limit is 7 days.
This value is configurable.
Create a Trend
To create a trend:
1. Open a display.
104
●
●
5 ● Visualize Data with Symbols ●
●
●
4. When you release the mouse button, the Define Trend (page 110)
dialog box appears.
105
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
106
●
●
5 ● Visualize Data with Symbols ●
●
●
10. Under Scale, select Single Scale or, if you have more than one trace,
you may select Multiple Scales. The multiple scales option shows a
value range for each trace. There is only one time scale.
11. Consider checking the following check boxes:
Logarithmic
To display the data in a logarithmic scale. If you have multiple
scales, you may set this option differently for each trace. This
option is disabled for digital tags.
Regression Line
Determines whether a regression line is drawn for a selected trace.
12. In the Max and Min lists, select Autorange or Database or type the
values to determine the value scale range.
Min settings:
Autorange The trend displays with the value scale starting at the closest
available major axis. If the minimum is Autorange and the
maximum is not, the scale starts at the lowest data value in
the trace (not on a major axis) and ends on the closest major
axis.
Database The tag's Zero attribute is used to specify the minimum plot
value. This value can be negative is the value of the tag is
negative.
0 (absolute value) The value you type is used as the first value on the value
scale.
Max settings:
107
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Autorange The trend displays with the value scale ending at the closest
available major axis. If the maximum is Autorange and the
minimum is not, the plot starts on the minimum value and
ends on the largest trace value (neither min nor max will be
on a major axis).
Database The tag's Zero + Span attributes are used to specify the
maximum plot value.
0 (absolute value) The value you type is used as the value scale maximum.
13. From the Format list, select the number format for the scale. Database
is the default format. This number format is also applied to legend,
cursor, and ToolTip numbers.
Database Database format uses the displaydigits FactoryTalk
Historian Point attribute to determine how many decimal
places to show. If the length of the number exceeds the
displaydigits value, scientific notation is used.
FactoryTalk Historian ProcessBook trims trailing zeroes that
follow a decimal point. The Database format option is
intended for use with FactoryTalk Historian Tags only.
General Shows all significant digits for a number except trailing zeros.
If the absolute value of the value is greater than 1e+7 or less
than 1e-5, the format will switch to use scientific notation.
Scientific Most useful with very large numbers. The scientific format
used for trends displays in the format: 0.00E+00.
Custom Allows you to enter your own number format. See the Table
(#,##0.00, 0%) of Format Values (page 340) for examples.
14. Under Plot Time, from the Start and End lists, select a time. An
asterisk (*) represents the current time. You can also type a valid
FactoryTalk Historian Time (page 337) string.
15. In the Style list, select Full time stamp, Partial time stamp, or
Relative time stamp to indicate how time is displayed on the time
axis.
16. Click OK.
108
●
●
5 ● Visualize Data with Symbols ●
●
●
These matrix options are available only when you create the trend and
cannot be edited later. However, you can revise the traces and other trend
properties on each plot individually.
Move a Plot
If you have created more than one plot in the trend, you can move each
plot separately.
109
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
In Build mode simply click the plot you want to move. Selection handles
appear around the plot. Use these handles to drag the plot to its new
location.
Once you have drawn a trend, and you want to delete a plot, you can
select the plot and then press DELETE.
Edit a Trend
Use the Define Trend (page 110) dialog box to edit an existing trend. To
launch this dialog box do one of the following:
In Build mode, double click a trend.
110
●
●
5 ● Visualize Data with Symbols ●
●
●
shapes, and you can set the types of point information included with a
trend.
The Define Trend dialog box has a General tab where you create a trend
(page 104), and the following additional tabs for formatting and layout:
Display Format (page 112)
Options for the elements to be included in the trend.
Trace Format (page 113)
Provides an alternate way to choose colors and line styles for each
trace (plot line) as well as the axes, background, and text.
Layout (page 115)
Options determine the arrangement of rows and columns for multiple
plot trends. This tab only appears when you first create a trend symbol.
111
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
112
●
●
5 ● Visualize Data with Symbols ●
●
●
Legend Check or clear options in this group box for displaying the tag name,
server name, description, value, and engineering units. Your choices
are reflected in the sample trend at the bottom of the dialog box.
The information that can fit in the legend is determined by the size of
the trend. Consequently, not all of the information in the legend may
be visible.
If the width of the legend is more than 50 percent of the width of
the trend, the legend does not display.
If the length of the text in the legend is longer than the total
height of the trend, the items on the bottom are not shown.
Display Check or clear options in this group box. The sample trend reflects
the changes you make.
Plot Title
Vertical Scale Inside Axis
Draws the value scale inside the plot area.
Grids
Shows grid lines (page 123) on the trend.
Markers
When checked, markers indicate data points on the trend. If the
Markers box is not selected, three markers appear on each line to
help you match a line to a tag.
Trend orientation Choose from the three options at the top of the dialog box to orient
your trend in a horizontal or vertical direction.
End Time at right (horizontal)
End Time at top (vertical)
End Time at bottom (vertical).
113
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
The Trace Format tab gives you an alternate way to update formatting
changes.
Plot Element drop-down box - select from a list of available traces and
other plot elements.
114
●
●
5 ● Visualize Data with Symbols ●
●
●
Element Format group box - select formatting options for the selected plot
element. Your choices are reflected in the sample trend at the bottom of the
dialog box.
Layout Tab
The plot arrangement in a multi-plot trend is established by setting up the
number of rows and columns of plots in the Layout tab.
The Layout tab only appears when you initially create a trend (page 104).
Once the layout is set, you cannot revise it because the plots are no longer
associated when the symbol is created. However, individual plots can be moved on
the display in Build mode.
To revise the proposed plot arrangement matrix:
115
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Under Plot Arrangement, select the number of rows and columns you
want. The following example shows four plots, to be arranged in 2 rows of
2 columns each. Tab past the matrix to see the sample of your new
selection display in the Preview area.
116
●
●
5 ● Visualize Data with Symbols ●
●
●
In FactoryTalk Historian ProcessBook you can also click View > Trend
Scale. This menu object is not available in FactoryTalk Historian ActiveView.
2. Select the Single Scale or Multiple Scales option.
3. If you are using multiple scales, then select the tag for which to set the
scale options from the Tags list.
4. Select Autorange, Database, or Absolute options for the Maximum
and Minimum values of the scale.
117
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Autorange Sets the value scale using the minimum and maximum tag values
between the trend start time and end time.
Database Sets the value scale using the tag attribute values in the Point
Database. Zero is the minimum. Zero + Span is the maximum. See
the FactoryTalk Historian Server Reference Guide for more
information on tag attributes.
Absolute Allows you to enter a custom value for the value scale of a tag. Enter
the value in the adjacent box.
5. If you have selected the Absolute option, then type in the Maximum
and Minimum values of the scale in the adjacent boxes.
6. Click OK.
To return the trend scale to its original settings, click Revert on the
context menu.
Modifications made to a trend through use of this dialog box do not affect
the stored settings of the trend.
Trend Expand Temporarily expands a trend symbol so that it occupies the entire
(page 120) display window.
Trend Cursor (page Shows the value of the plotted tags at a specific point in time.
120)
118
●
●
5 ● Visualize Data with Symbols ●
●
●
Drag Zoom
Drag Zoom lets you contract the time scale of a trend.
1. With the Run mode pointer, click an area in the trend at which you
want a closer look.
2. Drag the pointer diagonally to create a rectangle.
3. When you release the mouse, the trend displays the data within the
rectangle.
If a trend is too small these buttons may not appear. Double-click a trend to
expand its size and display hidden buttons.
If there are no trend cursors, the Trend Zoom 2x command zooms in or
out of the last portion of the time period. For example, if the initial time
range is 60 minutes and you select Trend Zoom 2x In, the trend displays
the last 30 minutes. Trend Zoom 2x Out displays 120 minutes adding 60
minutes to the beginning of the trend.
When a trend cursor is displayed, the command uses the trend cursor as the
center of the zoomed trend. If several cursors are used, the last one set is
119
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
used as the center of the zoomed trend. See Trend Cursor (page 120), for
more information on trend cursors.
Expand a Trend
When you double-click a trend in Run mode, the trend is redrawn so that it
occupies the entire display window. Double-click again to reduce the trend
to its original size.
While the trend is expanded, the Drawing toolbar is disabled. If you
switch to another display, the Drawing toolbar will work there.
All descriptive information (title, tag descriptor, tag value) is shown on an
expanded trend.
Trend Cursor
A trend cursor lets you read tag values for a particular time. When you
select a trend cursor, a vertical line indicates the cursor position. The box at
the top of the line indicates the value and status. The box at the bottom
displays the time and date of the value. On vertically-oriented trends the
cursor is horizontally oriented.
You may display several trend cursors at one time.
120
●
●
5 ● Visualize Data with Symbols ●
●
●
2. With the Run mode pointer, click . A cursor appears at the right
edge of the trend. When the mouse pointer changes to a double-headed
arrow over the trend cursor, click the vertical line and drag left to
position the trend cursor,
-or-
Click View > Trend Cursor. An indented icon in front of the
command indicates that trend cursors are on.
3. Move the mouse pointer over the left axis of the trend. The pointer
changes to a trend cursor symbol. As you drag to the right, a new trend
cursor is added to the trend
4. Move the trend cursor back and forth across the trend by dragging it.
As you move it, the time stamp, status, and value appear in a box at
the top right of the trend.
5. When you release the cursor, the values appear in boxes at the top and
bottom of the cursor. You can add additional cursors by grabbing the
trend cursor icon at the left axis.
Click the , or click View > Trend Cursor, or revert the trend.
121
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
To remove one trend cursor but not all of them, click the trend cursor and
drag it to the left or right until it moves off of the trend.
Backward buttons on the time scale. These time changes are not
saved with the symbol.
Use the Revert button , located next to the time scale, to return the
trend to its configured settings.
If the trend is too small these buttons may not appear. Expand the trend's
size to display hidden buttons.
You can also use buttons on the Time Range (page 201) toolbar to modify
time configurations settings.
122
●
●
5 ● Visualize Data with Symbols ●
●
●
Trend Appearance
A trend appears according to the format established in the Preference
settings (page 30). You may override this format by selecting the Trend
Grid Lines
Horizontal and vertical grid lines align with even units (whole numbers) on
the scales. Grid lines for the value scale line up with whole numbers at
intervals of 1, 2, 5, 10, or powers of 10 times those intervals. Grid lines for
the time scale line up with time intervals such as weeks, days, hours,
minutes, etc. The traces then scroll as time passes on an updating trend.
123
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Multiple Scales The range for each trace in the trend appears in the label.
Configure the labels for the time axis using a full time stamp, partial time
stamp, or a relative time stamp:
Full timestamp Displays a complete time stamp for the start and end times. The time
range of the trend is in the middle of the time axis.
Partial timestamp Labels most grid lines in the units of the time range. Displays the full
time stamp for the end time of the trend at the top right edge of the
plot.
Relative timestamp Displays the offset from the end time limit in weeks, days, hours, etc.
and the full time stamp for the end time of the trend at the top right
edge of the plot.
Labels for the grid lines appear unless the trend rectangle is too small.
124
●
●
5 ● Visualize Data with Symbols ●
●
●
Autorange scale The value scale is determined by a calculation based on minimum and
maximum values in the trend. As new data are received from the
server, the high and low values may change, and the scale is
recalculated accordingly.
For example, if the original scale ranged from 5 to 100, but the new
data has a high of 103, then the new plot shows a range from 5 to
105 (the nearest number divisible by 5 and larger than the high
value).
If more than one tag is plotted on a single scale, the value scale is
calculated from the highest and lowest values for all the tags.
Database scale If the scale is set to Database, the range is the same as the limits for
the point on the server. The minimum value is termed zero, and the
maximum value is the sum of the zero value plus the span value.
For example, suppose the tag attributes for a point are Zero = 3 and
Span = 6. The plot range therefore is based on making the minimum
and maximum values 3 to 9.
Logarithmic scale If you prefer a logarithmic scale, check this option. This option is
disabled for digital, string, time stamp, or integer tags.
Manually Defined When the scale is configured, an arbitrary minimum and maximum
scale scale value may be entered.
On a single scale trend, traces that contain only one value (a flat line) or have
no data are governed by special scaling rules. When a trend is composed of only
flat or no data traces, the default value scale range is inflated to prevent showing a
125
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
flat plot area. These default ranges are not applied if the trace in question is on a
single scale trend that contains other visible traces that do not fall into either of the
aforementioned categories.
A single scale trace containing one flat trace with a constant value of 0.
A single scale trend containing a flat trace and a non-flat trace. The
default range for the flat trace is not applied.
126
●
●
5 ● Visualize Data with Symbols ●
●
●
Full Timestamp Labels the start and end time limits with the date and time. When
space permits, the elapsed time between these lines is also shown.
Partial Timestamp Labels each grid line in whole units, such as hours. For example, the
grid lines might be labeled 9:00, 10:00, and 11:00. A full time stamp
showing the plot end time is shown at the upper right.
Relative Labels each grid line with the amount of time preceding the end time
Timestamp limit in days, hours, minutes, or seconds. For example, the grid lines
might be labeled -4, -3, - 2, -1, meaning 4, 3, 2, and 1 hours before
the end time. A full time stamp for the end time is shown at the upper
right.
Traces
A trace is a single line on a trend. When a trace is continuous, a line is
drawn from measurement to measurement. When a trace is discrete, the
value is propagated forward until a new value is recorded in the database.
This results in horizontal and vertical lines for the tag (staircase trace).
Digital points are discrete type measurements, producing staircase traces.
For digital points, the offset from the starting digital state code is plotted.
When the value is shown in a trend cursor, ToolTip, or legend, the text
translation is displayed (for example, ON or OFF).
Staircase traces are used for points from a FactoryTalk Historian server
that have a Step Flag set to TRUE.
ODBC queries may produce either curved or staircase traces, depending on
the Stepped Plot check box setting in the ODBC Data Set dialog box.
Hide Traces
You can hide one or more traces on the trend in Run mode so that an area
of concern is more easily viewed.
127
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
You can also right click a trend and select Show All or Hide All to make
traces visible or invisible.
Markers
Markers indicate data points and allow you to differentiate between traces
on a trend. There are three types of markers:
Actual data Actual data markers plot each value stored in the database. The color
markers of the trace and of the marker is the same. You can select the shape
of the marker, such as diamonds, circles, squares, or triangles, which
can be helpful for color- blind users and for monochrome monitors.
128
●
●
5 ● Visualize Data with Symbols ●
●
●
Trace markers If there are too many values to plot based on the size of the trend,
the display resolution and the density of the plotted data, actual data
markers do not appear and trace markers are used instead. Trace
markers are also used if the trend configuration does not specify
Markers.
Trace markers help you identify the legend information for each trace;
they do not indicate actual plot values. Up to three trace markers are
used per trace.
X (bad data) When a value is outside the limits defined for the trend, it is plotted
markers as over- or under-range. When a value is out of range or has a bad
value, it is not shown on the plot. An X marker is placed on the trend
at the beginning and end of the time when data are not plotted.
When the data are missing, (for example, not connected to a server)
they are given the value No Data and are not plotted.
At least three markers are shown on a trace, unless the plot is too small.
Ad Hoc Trends
Create a trend on an ad hoc basis for tags represented by dynamic symbols
in a display within a ProcessBook.
Ad hoc trends are like any other trends in that you can scroll the time
forward and backward, view cursors, zoom, view point attributes, use
multiple scales, or change the time range.
To create an ad hoc trend, use either:
You can build a trend display before you open any displays.
129
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
If you create an ad hoc trend display and then choose to save it for future
use, it appears on the Book or Outline View as subordinate to the original
display.
4. If you select more tags than the default set in your Preference settings,
usually 3, then you will have more than one plot in your trend or trend
display.
130
●
●
5 ● Visualize Data with Symbols ●
●
●
131
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Convert Trends
This process is used to convert VAX graphics for use with a PC.
1. On the VAX or Alpha at the DCL prompt, type $ Run
PISysExe:PIDisDIFF.
2. Select option 1 List Master Display Library from the FactoryTalk
Historian Display Data Interchange File Format Builder.
3. Direct the output to a file.
4. Type a file name. If your file name is more than 8 characters and a 3-
character extension (xxxxxxxx.xxx), the name is truncated during the
download process.
5. Accept the defaults for display mask, group numbers and unit numbers
(*).
6. Select the trend display types you are importing. For optimum
performance select only options 1 (horizontal), 2 (vertical), 3
(composite), and 8 (overview).
7. Quit the PIDisDIFF application (option Q).
8. Transfer the file from the VAX or Alpha to the PC using any ASCII
text file transfer program you have available.
Convert Graphics
This process is used to convert VAX graphics for use with a PC.
On the OpenVMS computer, copy a graphic file to your working directory.
Graphic files are named PISysDat:PIGP_xxxxxxxxxx.dat, where
xxxxxxxxxx is the display name.
1. At the DCL prompt, type $ RUN PISysExe:GPAB.
2. Select option 1 Convert Binary to ASCII from the Graphics Package
ASCII/Binary File Conversion menu.
132
●
●
5 ● Visualize Data with Symbols ●
●
●
3. Type the display name of the graphic you want to convert and press
Enter. Repeat for each file you want to convert.
4. Select option Q to quit the application.
5. Transfer the file from the VAX or Alpha to the PC using any ASCII
text file transfer program you have available.
Your FactoryTalk Historian ProcessBook Install disks include an
OpenVMS command file which performs Steps 1 - 5 for all graphics. The
file is named GPPBConv.com.
XYPlots
An XYPlot shows a correlation between one or more paired sets of data.
On an XYPlot (also called a scatter plot), the X scale shows possible
values for one of the items in the pair and the Y scale shows the value of
the other item in the pair. A basic scatter plot looks like the following:
Uncorrelated data.
133
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
This case plotted 10-minute intervals of two points, A and B, for the last
hour. Point A had 12 point values; Point B had 16 point values. The
number of points plotted equals the number of pairs. Since A had fewer
point values, the plot shows only 12 point pairs. The extra data from point
B is ignored. You can configure the method by which pairing occurs.
Correlation is a measure of the strength of the relationship between two
variables. Correlation is indicated graphically by the spread of the data
points around a fitted straight line (for example, a straight line that
indicates the trend of the data). In general, the closer the points are to the
fitted line, the stronger the correlation. The two FactoryTalk Historian tags
shown in figure 1 are not strongly correlated. Another plot shows perfectly
correlated data:
Perfectly correlated.
134
●
●
5 ● Visualize Data with Symbols ●
●
●
Somewhat correlated.
In the case of the third plot, a regression line with a slope (M) of 1 and an
offset (B) of 0 drawn diagonally across the plot would show all points
lying close to the line, some above it, some below it. This line formula is
appropriate in this case because both scales are the same and the points
appear to have values very close to each other. In other cases, one value
may be two or three times the other value (for example) and the regression
line would fall on a different slope, depending upon how the scales are
configured. If the scales are the same, the slope of the line determines the
relationship between the points. If the scales are not the same, the slope is
insignificant.
135
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Draw an XYPlot
To draw an XYPlot:
1. In Build mode, click Draw > XYPlot, or on the Drawing toolbar,
click .
2. Drag a rectangle on the display to create the boundaries.
3. Release the mouse button.
The Define XYPlot dialog box opens with the General tab open. Use
the tabs to:
General Tab (page 137)
Select tags to be plotted.
Display Format Tab (page 143)
Choose what to show in the Legend and on the Display.
Plot Format Tab (page 145)
Select how to color and style the plot elements, such as trace pens
and background.
4. Click OK. The XYPlot appears.
To revise an existing XYPlot, select Build mode and double-click the
XYPlot. The Define XYPlot dialog box appears. Make your changes and
click OK.
136
●
●
5 ● Visualize Data with Symbols ●
●
●
General Tab
137
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
138
●
●
5 ● Visualize Data with Symbols ●
●
●
Configure Pairings
Once the tags are listed in the Tags in Plot list, configure the method for
pairing values between X and Y in the Data Retrieval Methods box.
X Tag Choose either Recorded or Interpolated for the retrieval method.
Interpolated
An interval may be entered in the Plot Time section. Interpolated
is the default for tags and is disabled for ODBC and Custom data
sets. This method retrieves interpolated values for the specified
time range in regular intervals. For example, if the time range is *-
1h to * and the Interval is 10m, then six values spaced 10 minutes
apart are returned. This option provides a way to get evenly
sampled data.
Recorded
Retrieves archive values between the specified start and end time.
Y Tag(s) The Y tag data retrieval method applies to individually selected tags in
the Tags in Plot list (unless the Use for all Y tags check box is
selected). The default data retrieval method for Y tags is
Synchronize.
139
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Y Tags, paired by To pair values by time, rather than by list position, choose one of
timestamps these retrieval methods: Synchronize, Match, Match or Previous, or
Match or Next.
Synchronize
Synchronizes data found for X with data for Y using the
timestamps for the X data. This may result in interpolated data
values for Y.
Match
Find the event for Y corresponding to the exact time stamp as X. If
no matching event is found, no match is made for that X value.
Match or Previous
Find the event for Y corresponding to the exact time stamp as X. If
there is none, find the event that is the closest but earlier in time.
Match or Next
Find the event for Y corresponding to the exact time stamp as X. If
there is none, find the event that is the closest, but later in time.
Synchronize and Use different PI SDK value retrieval methods. Synchronize uses
Match TimedValues. Match uses RecordedValues and then uses the values
where the timestamps match.
Note: Synchronize is disabled for ODBC and Custom data
sets.
If you select Synchronize or any of the Match options, the start and
end times for that tag are set the same as for the X tag and cannot
be changed.
Note: The XYPlot supports ODBC data sets that don't
contain timestamps. This type of entry must be plotted as a Y-
tag, and data values must be retrieved using the Recorded
retrieval method. If a tag is changed from a Y tag to an X tag
and has a value for Retrieval Method that is only valid for Y
tags, the method is changed to Interpolated. If the tag is a
data set, the method is changed to Recorded.
In all cases, if a pair is not made, the unmatched X or Y events are
ignored.
Use for all Y tags Selecting this box indicates that the Y-tags data retrieval mechanism
applies for all Y-tags. If one of the tags is a Custom or ODBC data set
and the selection mechanism is Interpolated or Synchronize, the
selection mechanism will be Recorded or Match respectively for that
tag only.
140
●
●
5 ● Visualize Data with Symbols ●
●
●
Scale Box
In the Scale Box, set the scale ranges for all tags.
Single Y Scale Combines all Y tag value ranges onto one scale.
Multiple Y Scales Provides a separate scale for each Y tag. This choice does not change
the scale min and max values, but allows them to be configured
independently by selecting each Y tag and making changes.
Regardless of your selection, you may independently configure the X
scale tag.
Max Autorange uses the maximum value plotted. You may enter an
absolute value here as well. Default is Autorange. Database uses the
zero plus span value of the tag in the FactoryTalk Historian Archive to
determine the max. Database with a data set plot uses the maximum
value plotted.
Min Autorange uses the minimum value plotted. You may enter an
absolute value here as well. Default is Autorange. Database uses the
zero value of the tag in the FactoryTalk Historian Archive to determine
the min. Database with a data set plot uses the minimum value
plotted.
Format Selects the number format of the Y scale, legend entries, cursor
values, and ToolTip values:
Database
Database format uses the displaydigits FactoryTalk Historian point
attribute to determine how many decimal places to show. If the
length of the number exceeds the displaydigits value, scientific
notation is used. FactoryTalk Historian ProcessBook trims trailing
zeroes that follow a decimal point. The Database format option is
intended for use with FactoryTalk Historian tags only.
General
Shows all significant digits for a number except trailing zeros. If
the absolute value of the value is greater than 1e+7 or less than
1e-5, the format will switch to use scientific notation.
Scientific
Most useful with very large numbers. The scientific format used for
trends displays in the format: 0.00E+00.
Custom (#,##0.00, 0%)
Allows you to enter your own number format. See the Table of
Format Values (page 340) for examples.
141
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Plot Time
You can set the time for each tag as it is highlighted in the Tags in Plot
box. If a Y tag is selected and its selection mechanism is not Recorded or
Interpolated, then these boxes are disabled.
Start The start time of the selected tag. The list includes *-1h (minus one
hour), *-4h, *-8h, *-1d, *-7d. The default is *-8h.
End The end time of the selected tag. The list includes *, *-1h, *-4h, *-
8h, *-1d, *-7d.
The default is * (current time).
When you have completed configuring the fields on the General tab, click
the Display Format (page 143) tab.
142
●
●
5 ● Visualize Data with Symbols ●
●
●
143
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Sample This area displays a sample XYPlot with the options you have
selected. When you have completed the Display Format page, click
the tab for the Plot Format page.
144
●
●
5 ● Visualize Data with Symbols ●
●
●
145
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Element Format After you select an element in the Plot Element list, available
formatting options appear. A drop-down arrow is grayed out if the
option is not configurable. For example, text has color but no line
style options.
Line Style
Determines the line style for the selected element.
Line Weight
Determines the line weight for the selected element. If the
selected element does not have a line weight property, this field is
disabled.
Marker Shape
Determines the marker shape for pen elements.
Color
Determines the color for the selected element. Pen elements apply
the color to the line and marker.
Last Marker Color
Allows selection of a different color for the last marker for a pen. If
Match Trace is true (selected), this field is disabled. If the selected
element does not have a marker, this field is disabled.
Next To Last Marker Color
Allows selection of a different color for the second-to-last marker
for a pen. If Match Trace is true (selected), this field is disabled. If
the selected element does not have a marker, this field is disabled.
Match Trace
Determines whether all marker colors match the trace color (true)
for a pen. If set to false, the Last Marker Color and Next To Last
Marker Color fields are enabled so the marker color can be
changed for those two plotted pairs. By default, this field is
selected (true). If the selected element does not have a marker,
this field is disabled.
Sample Provides a preview of your formatting changes.
Ad Hoc XYPlots
You can draw an XYPlot in Run mode on an ad hoc basis. Click to
begin, and follow the steps described in Drawing an XYPlot (page 136).
146
●
●
5 ● Visualize Data with Symbols ●
●
●
XYPlot Statistics
The XYPlot Statistics dialog box allows you to view and export raw data
values and statistics, such as the mean and standard deviation of each tag’s
data.
You can also view these statistics in the Details (page 191) window in
FactoryTalk Historian ProcessBook.
To open the XYPlot Statistics dialog box:
1. In Run mode, double-click the XYPlot symbol. The Statistics dialog
box appears.
147
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
148
●
●
5 ● Visualize Data with Symbols ●
●
●
149
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Etc.
150
●
●
5 ● Visualize Data with Symbols ●
●
●
Once m and b are known, the value of y that intersects the best-fit line can
be calculated.
Correlation Coefficient
The Correlation Coefficient (r) varies between -1 and +1. Positive values
indicate that as X increases, Y also increases. Negative values indicate that
as X increases, Y decreases. A value of zero indicates no correlation in the
way the sets of values vary.
The Correlation Coefficient for a set of points is calculated using the
following formula: (n is the number of points, s is the standard deviation).
You can display the correlation coefficient in the plot legend.
151
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Interpreting an XYPlot
In FactoryTalk Historian ProcessBook the XYPlot is a dynamic symbol. It
has specialized characteristics, such as its statistical calculations, which are
described in the following paragraphs.
Point Properties
Data may be retrieved from FactoryTalk Historian or from independent
data sets. Use the Tag Properties button or the right mouse menu Properties
item to determine the attributes of the points in your XYPlot.
Scroll Feature
Scrolling is available from the ProcessBook toolbar. When time scrolling is
used on an XYPlot symbol, all tags’ time ranges are changed to support the
scroll duration.
Plot Values
In a typical XYPlot, the current name for the X tag appears below the plot.
The current names for the different Y tags appear at the upper right. Below
each one is the correlation coefficient for that XY pair. The dots and lines
on the plot are colored to match the tag names.
Plotted pair values appear in a ToolTip over the plot when the mouse
cursor is hovering over an actual plotted point pair. The following
illustration shows an example.
152
●
●
5 ● Visualize Data with Symbols ●
●
●
In the figure above, if there had been more than one Y tag, each one would
be displayed on a different line. The X tag information is placed at the
bottom. For digital or string tags, the text value is displayed in the ToolTip.
You can also view plot values by double-clicking the title bar and choosing
the Raw Data option, rather than the Statistics option in the Statistics
dialog box.
Zoom/Revert Functions
You can enlarge a portion of an XYPlot by using the Zoom feature.
To enlarge the whole plot to fill the display window:
1. In Run mode, double-click the plot.
2. To reduce the plot to its original size, double-click it again. It does not
update while enlarged.
To enlarge a small area of the plot:
1. Place the mouse cursor on the upper left corner of the area to be
zoomed.
153
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
2. Hold the left mouse button down while dragging a rectangle to cover
the appropriate area. When you release the mouse, this area is enlarged
to the borders of the original plot.
154
●
●
5 ● Visualize Data with Symbols ●
●
●
Original plot
The zoom area must be smaller than the plot area and cannot include
the outer 20 percent of the plot. If the mouse is dragged past the plot
boundary, the zoom rectangle stops at the border until the mouse reappears
within the boundary. If the mouse is dragged off the plot symbol boundary,
the zoom is canceled.
To revert the changes:
Click Undo to return the plot to its state directly before the zoom
occurred.
155
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
1. Click View > Time Range or click on the Time Range toolbar.
The Change Time Range dialog box appears.
2. Type new values in the Time Span box.
All tags are affected when you change the range in this dialog box.
3. Click the Revert (page 201) button to return the plot to its configured
appearance.
XYPlot Cursors
The cursor for an XYPlot includes both a horizontal and a vertical line.
The mouse cursor is at the cross point of both cursor lines. You must be in
Run mode to use the XYPlot cursor.
To create a cursor, place the mouse very close to either the X- or Y-axis.
Drag the cursor onto the plot.
156
●
●
5 ● Visualize Data with Symbols ●
●
●
In the XYPlot below, you can see an XYPlot cursor at the Y axis that is not
yet intersecting any points on the plot.
You can also see an XYPlot cursor that was dropped on a point. The X and
Y values appear in small boxes outside the axes.
Using the mouse, you may position and release the cursor over any pair on
the XYPlot. If the cursor is dropped on an area that contains no points, the
cursor snaps to the nearest pair.
157
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Examples of XYPlots
For these examples, the X-axis represents one of the values in the pair and
the Y-axis represents the other. The configuration of these axes regarding
minimum and maximum values and interval (or unit) settings is left to you.
158
●
●
5 ● Visualize Data with Symbols ●
●
●
159
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
160
●
●
5 ● Visualize Data with Symbols ●
●
●
161
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
A value is the reading obtained at the specified end time for a data stream.
It is shown as a number or a digital state string. The tag name and time
stamp may also be shown. The time stamp is the time stamp from the
FactoryTalk Historian system that matches the event value shown.
162
●
●
5 ● Visualize Data with Symbols ●
●
●
When you release the mouse button, the Define Value dialog box is
displayed.
163
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
5. In the Tag box, type the name of the tag you want to display in the
value box.
-or-
Click the Tag Search button to locate a tag,
-or-
Click the Tag Search arrow to see more search options:
Tag Search (page 231)
PI calculation (page 248) (data set)
ODBC (page 254) (data set)
AF2 (page 269) - launches the Select AF Attribute dialog box,
from which you can search an AF database for elements and
attributes.
Element Relative (page 240) - launches the Element Search
dialog box from which you can search an AF database for
elements.
General Shows all significant digits for a number except trailing zeros. If the
absolute value of the value is greater than 1e+7 or less than 1e-5,
the format will switch to use scientific notation.
Scientific Most useful with very large numbers. The scientific format used for
trends displays in the format: 0.00E+00.
164
●
●
5 ● Visualize Data with Symbols ●
●
●
Custom Allows you to enter your own number format. See the Table of
(#,##0.00, Format Values (page 340) for examples.
0%)
7. In the Tag list, select the location of the tag name in the value box
(None, Left, Right, Top, or Bottom).
8. In the Time stamp list, select the location of the time stamp in the
value box (None, Left, Right, Top, or Bottom).
9. Click OK.
Button
Opens an independent display (.pdi) Create a drawing that shows the first part of a
general process and add a button that opens a more
detailed process in a separate display.
Executes an operating system Create a drawing and add a button that opens a
command. FactoryTalk Historian DataLink spreadsheet to show a
report.
Create a drawing and add a button that opens an
independent FactoryTalk Historian ProcessBook
165
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Add a Button
To add a button:
1. In Build mode, open a display.
The name should be no more than one or two words, and should
describe the action the button performs when clicked.
5. Click the Browse button, or click the Browse arrow to see more
options. The Open dialog box appears.
6. Browse and locate the item that you want to be the button action and
then click the Open button.
166
●
●
5 ● Visualize Data with Symbols ●
●
●
If you know the file or macro name, then you can type this directly in
the Action box.
The name of the selected item is displayed in the Action box.
7. Click the Browse button to the right of the Working folder box.
The Working folder box allows you to specify the working folder for
operating system commands. It is ignored if the Action refers to a document
type supported by ProcessBook. If you know the name of the working folder
for this application, then you can type this directly in the Working folder
box.
The Browse for Folder dialog box appears.
8. Browse and locate the folder that you want to specify for the operating
system command, and then click OK.
9. Leave the appropriate Options check box selected if you want to:
Open a linked display in a new window. This option is selected by
default.
Use the relative path before the absolute path.
167
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Bars
168
●
●
5 ● Visualize Data with Symbols ●
●
●
You can draw a bar using the current line style, line color, and fill
attributes.
1. In Build mode, open a display.
2. On the Drawing toolbar, click , or click Draw > Bar. The mouse
pointer changes to the Bar pointer.
3. Click in the display where you want to add the bar and drag the pointer
to form a rectangle into which the bar will be placed.
4. When you release the mouse button, the Define Bar dialog box
appears.
169
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
5. In the Server list, select the server to use for manually entered tags. If
the server and tag name are both entered in the Tag box, this field is
updated to show the new server name. This field is ignored for non-
FactoryTalk Historian data.
6. In the Tag box, type the name of the tag you want to display on the
bar, or
7. Click the Tag Search button to locate a tag, or click the Tag Search
arrow to see more search options:
Tag Search (page 231)
FactoryTalk Historian calculation (page 248) (data set)
ODBC (page 254) (data set)
AF2 (page 269) - launches the Select AF Attribute dialog box,
from which you can search an AF database for elements and
attributes.
Element Relative (page 240) - launches the Element Search
dialog box from which you can search an AF database for
elements.
8. From the Upper and Lower lists, select the maximum and minimum
values you want to use for the bar. Type a constant, or choose Tag
Zero() or TagZero()+TagSpan() for either or both values.
9. If you choose a maximum value that is too small, the bar will be fully
colored but there will be no warning that it has exceeded the maximum.
10. From the Start list, select the point on the bar from which you want to
start drawing the bar. Type a constant, or select TagZero()+TagSpan()
or Tag Zero().
11. Under Orientation, select one of the options to display the bar either
vertically or horizontally.
170
●
●
5 ● Visualize Data with Symbols ●
●
●
The Upper and Lower lists are renamed Right and Left when you
select Horizontal orientation.
Bar Scales
The options under Scales control how the bar symbol shows scales.
Defaults
The default is to show scales inside the bar symbol in General number
format for symbol bars created with FactoryTalk Historian ProcessBook
3.2 or later. For earlier versions of FactoryTalk Historian ProcessBook,
Show Scales is not selected, and scales do not appear on the symbol bar.
The scale values for the bar symbol are the Upper and Lower or Right
and Left values in the Define Bar dialog box for both tags and datasets,
including AF.
171
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Compatibility
Bars created in FactoryTalk Historian ProcessBook 3.2 are backward
compatible with previous versions of FactoryTalk Historian ProcessBook.
When a FactoryTalk Historian ProcessBook 3.2 file is opened in a previous
version, bar symbols appear as they did in the previous version. If the
display is saved and reopened in a newer version, the scale settings are
retained.
A display created in version 3.2 or earlier of FactoryTalk Historian
ProcessBook defaults to ShowScales not selected.
Tick Marks
For vertical bars, the tick marks and values are shown on the left hand side
of the symbol. For horizontal bars, the tick marks and values are shown on
the bottom of the symbol. You can draw the scales inside or outside the bar
symbol.
172
●
●
5 ● Visualize Data with Symbols ●
●
●
For vertical bars, the tick marks and values are automatically turned off if
the height of the bar becomes less than two times the height of the text
used to write the scale values, or if the width is less than the width of the
longest text used to write the scale value plus a small offset.
For horizontal bars, the tick marks and values are automatically turned off
if the width of the bar becomes less than two times the width of the longest
text used to write the scale value, or if the height is less than the height of
the text used to write the scale values plus a small offset.
For both bar orientations, given the range of scale values, the scale
increment values are rounded numbers, as close to integers as possible.
The maximum number of major tick marks is nine; eleven counting the
maximum and minimum values. The number of tick marks shown is a
function of the size of the font and the size of the bar symbol. The number
of major tick marks decreases as the size of the bar is decreases.
The minor tick marks are shown at the half way point between major tick
marks.
173
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
There are major tick marks for each digital state, if the string value for the
digital states fits in the width of the bar. There are no minor tick marks for
digital tags.
Format Appearance
To change the appearance of the bar symbol, right-click the bar.
Click Format Font to change the font for the bar symbol.
Click Format Color to change the color of the bar symbol.
The color for the tick marks and values is the same as the bar’s line
color.
Click Format Line Style to change the style of line for the bar
symbol.
Multi-State Symbols
174
●
●
5 ● Visualize Data with Symbols ●
●
●
is 50 or below, the symbol appears blue. Above 50, the symbol appears
red. A color and sometimes a blinking attribute are assigned for data in bad
status (e.g., the interface becomes disconnected). For digital point types, a
different color may be assigned to each digital state.
175
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
3. In the Server list, select the server to use for entered tags. If a server
and tag are both entered in the Tag box, this field is updated with the
new server name. This box does not apply to non-FactoryTalk
Historian data.
4. In the Tag box, type the name of the tag you want to assign, or
Click the Tag Search button to locate a tag, or
Click the Tag Search arrow to see more search options:
Tag Search (page 231)
PI calculation (page 248) (data set)
ODBC (page 254) (data set)
AF2 (page 269) - launches the Select AF Attribute dialog box,
from which you can search an AF database for elements and
attributes.
Element Relative (page 240) - launches the Element Search
dialog box from which you can search an AF database for
elements.
5. In the Number of States box, select the number of states to use. If the
number of states is not entered, the number defaults to 2. (For digital
tags, the number of states is automatically set to the number of defined
states for that tag.)
6. From the Color for Bad Data drop-down color palette, select a color
that will be used when the information is in bad status. You may also
select the Blink check box to call attention to the symbol when data is
bad (optional).
7. In the State box, select 1.
8. In the Values box, type in a new maximum value for the state.
The Values boxes display a range of values for each state. The total
range of the tag is automatically divided by the number of states. For digital
176
●
●
5 ● Visualize Data with Symbols ●
●
●
tags, the state name is displayed in these boxes. For other tag types, an
estimate is made based on the span of values for the tag.
9. From the Color drop-down color palette, select a color that will be
used for the state. You may also select the Blink check box (optional).
10. Repeat the steps 9 and 10 for each state in the symbol. Your choices
and the relative range of values are displayed on the bar at the bottom
of the dialog box.
11. Click OK.
Static Symbols
Text Symbol
The text symbol allows you to put one line of text on a display. Multiple
lines of text are not supported. When this symbol is first added to the
display, a text box with a blinking text cursor is displayed.
You can add or edit text by double-clicking the Text symbol while in
Build mode, which provides the text cursor. Unlike most other
177
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
2. On the Drawing toolbar, click , or click Draw > Text. The mouse
pointer changes to a text pointer.
3. Click in the display where you want to add the text.
4. Type the text in the text block. (You can only type the text on one line.
It will not wrap.)
Text block refers to the text area associated with a shape that appears
when you click the shape with the text tool or select it with the pointer tool.
5. When you finish typing, press ESC or click outside the text block.
178
●
●
5 ● Visualize Data with Symbols ●
●
●
4. When you finish typing, press ESC or click outside the text block.
Line Symbol
Draw a Line
To draw a line:
1. In Build mode, open a display.
2. On the Drawing toolbar, click , or click Draw > Line. The mouse
pointer changes to the line pointer.
3. Point to where you want to start the line.
4. Drag to draw the line. Press the SHIFT key while drawing to constrain
the line to a horizontal or vertical line.
179
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Using the drawing tools, you can create these simple shapes: rectangles,
squares, arcs, ellipses, and circles.
To draw a shape:
1. In Build mode, open a display.
180
●
●
5 ● Visualize Data with Symbols ●
●
●
Polygon Symbol
The Polygon tool draws irregular shapes. When you select the polygon tool
the mouse pointer changes to a polygon pointer. Polygons are drawn using
the current color and line style attributes.
To draw a polygon:
1. In Build mode, open a display.
181
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
3. Click inside the display where you want to start drawing the first point
of the polygon (point "a" in the example below).
4. Drag to create the first side (point "a" to point "b" in the example
below).
5. Release the mouse button to position the second point of the polygon
(point "b" in the example below).
6. Click at each of the remaining points of the polygon (points "c"
through "g" in example below). Lines are drawn between the clicks.
7. To close and fill the polygon, double-click to place the last point in the
polygon (point "g" in the example below). This action draws a line
from the last point to the first point (point "g" to point "a" in the
example below).
Polyline Symbol
A Polyline is a set of line segments that you can draw using the Polyline
tool. It uses the current line style attributes.
Once you add a Polyline symbol, you may edit it in the same manner as the
existing Polygon symbol. You can move or resize the entire symbol, as
well as move the individual endpoints to create any desired arrangement.
182
●
●
5 ● Visualize Data with Symbols ●
●
●
To draw a polyline:
1. In Build mode, open a display.
Press the Shift key while you draw to create Right Angle Polylines.
Similarly, pressing Shift during editing manipulates a point
orthogonally in relation to the next endpoint.
Graphic Symbol
183
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
CUR A file that contains an image that defines the shape of a cursor on the screen.
EMF Enhanced Metafile Format; 32-bit Microsoft Windows Metafile vector format
that also supports raster images.
JPEG Joint Photographic Experts Group - Refers both to the standard for storing
compressed images and a graphic stored in that format. Note that this format
is prone to lose resolution when it is repeatedly saved.
PNG Portable Network Graphics - graphic image format that utilizes lossless
compression.
WMF The Windows Metafile Format - the original 16-bit native vector file format for
the Microsoft Windows operating environment.
184
●
●
5 ● Visualize Data with Symbols ●
●
●
Add a Graphic
To add a graphic:
1. In Build mode, open a display.
185
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Stretching the image to fit the bounding rectangle may distort the
appearance of the graphic.
7. Click OK.
A copy of the graphic is added to the display.
Symbol Library
186
●
●
5 ● Visualize Data with Symbols ●
●
●
187
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Fill Color Click the color box to change the fill color.
188
●
●
5 ● Visualize Data with Symbols ●
●
●
Background Color If the Transparent check box is not selected, you can click
the color box to change the background color.
You can also change the symbol's fill and background color directly on a
Symbol Properties
If you right-click a symbol in the Symbol Library, the focus box at the
upper left reflects that symbol. A small dialog box appears; you can choose
either Symbol Options or Properties.
If you choose Properties, you see a Symbol Properties dialog box, which
displays the Symbol description, Data size, Type, and Handle information.
This information could be used in VBA automation of FactoryTalk
Historian ProcessBook.
189
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
190
Chapter 6
Details Window
To view data in the Details window, click a symbol in your display.
Moving a plot cursor changes the rows highlighted to show the range of
data around the cursor time.
191
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
192
●
●
6 ● Work with Symbols ●
●
●
Option This field allows you to toggle among three different types of
information about your data source.
Data
Shows recorded values for a selected symbol's time range. By
default the table is sorted on the time stamp column in descending
order.
Questionable (Q)
The event value is unreliable or the circumstances under which
it was recorded are suspect.
Annotated (A)
An annotation has been made to the event to include further
information or commentary. You can add annotations (page
196) to FactoryTalk Historian tags using FactoryTalk Historian
ProcessBook, if you have permission to write to that tag on the
FactoryTalk Historian server.
Substituted (S)
The event value has been changed from the original archived
value.
Statistics
Shows a table of available summary values available, for example,
Average, Minimum, and Maximum. Selecting this option disables
the FactoryTalk Historian Annotation Maintenance controls.
Available statistics vary for each symbol type.
Point Attributes
Shows an alphabetized list of FactoryTalk Historian point attribute
values (page 341). This option is only available for FactoryTalk
Historian tags. Selecting this option disables the FactoryTalk
Historian Annotation Maintenance controls.
Each view option provides the following controls:
<Symbol Name> The name of the symbol selected on the display is shown above the
data table.
Refresh Refresh data in all tables. Data shown does not automatically change
after a symbol is first selected. You must use refresh to view any
updates in the Details window.
Enlarge/Shrink Makes the text size bigger or smaller. This may reduce the number of
Font visible rows.
193
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Copy to Clipboard Allows you to copy the data table to your clipboard. You can then
paste this data into another location such as a Microsoft Excel
spreadsheet.
Note: Use the pin icon to lock the docking window to
your screen. Click the pin icon again to unpin the window and
minimize it along the border of your FactoryTalk Historian
ProcessBook window. When a docking window is unpinned, a
button appears along the side of the screen. Hover over it to
re-expand the window.
194
●
●
6 ● Work with Symbols ●
●
●
195
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
If you select Show All from the Data Source drop-down box on the Details
(page 191) window, the Value and Value Type fields in the FactoryTalk
Historian Annotation Maintenance group are disabled.
Add Annotations
To add annotations:
1. Open the Details (page 191) window.
2. In Run mode, select a dynamic symbol on your display.
3. Select the event of interest in the Data table.
4. Click inside the Value text box and type the information you wish
displayed in your annotation.
5. Select a value from the Value Type drop-down box.
Data Favorites
The Data Favorites add-in provides a way to configure symbols by
dragging a FactoryTalk Historian tag name (or other data stream) from a
list onto the symbol.
196
●
●
6 ● Work with Symbols ●
●
●
The add-in can be unloaded or set not to load at startup by changing the
options in the Add-in Manager (page 13) dialog box. When the Data
Favorites add-in is first loaded, its window appears in the upper left corner
of the FactoryTalk Historian ProcessBook application window. The
window is only accessible in Build mode. If the window is closed, in Build
mode, click View > Data Favorites.
There are two panels within the Data Favorites window:
Search (page 198)
Favorites (page 199)
Each panel can be collapsed if it is not needed.
If the selected symbol type does not support the data type of the
dropped data stream, a value symbol is drawn instead.
197
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
To search for data streams, use the Search Mask text box or click to
launch the Tag Search dialog box. Tags selected using the Tag Search
dialog box automatically populate the Data Favorites Search list.
The Search Mask field searches for tags matching the entered string on
your default FactoryTalk Historian server.
To save a data stream to your Favorites, either drag and drop it into your
Favorites list, or right click the data stream in the Search list and click
Add to Favorites.
Use the pin icon to lock the docking window to your screen. Click the pin
icon again to unpin the window and minimize it along the border of your
198
●
●
6 ● Work with Symbols ●
●
●
Favorites Panel
The Favorites panel provides controls for manipulating the list of data
favorites (page 196).
The Favorites list is saved per user, so when a different user opens
FactoryTalk Historian ProcessBook on the same machine, their list may be
different.
Use Favorites
To use data favorites:
1. In Build mode, click View > Data Favorites to launch the Data
Favorites (page 196) docking window.
2. Select a default symbol for Data Favorites (page 197). Any favorites
dragged onto a display take the form of this symbol.
199
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
3. In the Favorites list (page 199), drag and drop any listed favorite to an
existing trend or XYPlot symbol, or to a blank area of a display. The
data stream is permanently added once the display is saved.
200
●
●
6 ● Work with Symbols ●
●
●
Drags can come from any application that supports the text clipboard
format, for example, Microsoft Word or Excel.
The Time Range toolbar is used for working with dynamic symbols. This
toolbar is hidden by default for new installations of FactoryTalk Historian
ProcessBook 3.2 and later releases.
In general, the commands on this toolbar affect only the symbols selected
on the display. If no symbols are selected, all symbols are affected. This
toolbar, which must be used in Run mode, contains three buttons:
Revert (page 201) Returns the trend or other dynamic symbol to its original setting.
Change Time Opens a dialog box to set new, temporary start and end times. For
Range (page 202) Bars, Values, and Multi-State symbols you can only set an end time.
To discard any of the changes you have made to the time range of a trend
or the effective time of a Bar, Value, or Multi-State symbol and return it to
its saved setting:
201
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
In Run mode, click View > Revert, or click the Revert button.
The Time Range command lets you enter new starting and ending times
for dynamic symbols. When you specify a time range for a single-time
dynamic element, such as a Multi-State symbol, bar or value, only the end
time is used.
The time represented on your display is the time relative to the FactoryTalk
Historian server, unless you have selected the client time zone setting for your
display. If the FactoryTalk Historian server to which you are connected is in a
different time zone, time on your display represents the server time zone, not the
local one.
To change the time range:
1. In Run mode, select the dynamic symbol or symbols for which you
want to change the time range. If no symbols are selected, the time
range change affects all dynamic symbols on the display.
2. Click on the Time Range toolbar, or click View > Time Range.
The Change Time Range dialog box opens, allowing you to change
the time span for a trend or plot, or the effective time for a bar, value,
or Multi-State symbol.
202
●
●
6 ● Work with Symbols ●
●
●
3. Select new starting and ending times from the drop-down lists or
define your own starting and ending times. Time ranges can be
relative, absolute, or combined.
4. Click OK. The selected elements change to reflect the new time range.
You can scroll the time for all items in a display or selected items. If no
trend is included in the selected items, the scroll buttons are disabled.
203
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Use the time backward and forward buttons to scroll the time range
forward or backward. To do this:
1. Click the desired symbols with the Run Mode pointer.
2. Click the Time Forward or Time Backward button.
Trends scroll by the time range specified in the trend definition. When you
select multiple trends, each trend maintains its time range as it is scrolled.
If you select a trend and a dynamic element such as a value, the non-trend
symbol scrolls by the time range specified in the first trend's definition.
For example, if the trend displays data from 1:00 to 4:00 (three hours) and
the value has a time stamp of 5:00, scrolling backward shows trend data
from 10:00 to 1:00. The value's time stamp also changes by three hours
(2:00).
204
●
●
6 ● Work with Symbols ●
●
●
ActiveX controls on the display do not react to tab order like other
ProcessBook symbols because they are treated as separate windows within the
display.
205
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Rotate a Symbol
You can rotate a drawing symbol in 15 degree or 1 degree increments. You
cannot rotate text, graphics, or OLE objects. Symbol Library images can
only be rotated in 90 degree increments.
1. Select the symbol you want to rotate.
2. Click Arrange > Rotate. A rotation object appears in the center of the
symbol .
3. Click a selection handle and drag in the direction that you want to
rotate the symbol. The symbol is rotated in 1 degree increments.
-or-
Press SHIFT while dragging to rotate in 15 degree increments.
206
●
●
6 ● Work with Symbols ●
●
●
Flip a Symbol
You can create a mirror image of a symbol by flipping it. You cannot flip
text, graphics, or OLE objects.
1. Select the symbol you want to flip.
2. Click Arrange > Flip > Horizontal to flip the symbol from right to
left or Vertical to flip the symbol from top to bottom.
Delete a Symbol
When you want to delete a drawing symbol or group of symbols:
1. Select a symbol or multiple symbols that you want to delete.
2. Press DELETE, or click Edit > Clear.
Stacking Order
Each symbol you add to a drawing occupies its own space in the drawing.
The layers, and therefore the symbols, are stacked on top of each other. By
default, the first symbol you draw is at the bottom of the stacking order and
the last symbol you draw is at the top of the stacking order.
207
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
208
●
●
6 ● Work with Symbols ●
●
●
209
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
3. Click the alignment options you want. All the selected symbols are
aligned to the symbol you first selected, along the axis you specify.
210
●
●
6 ● Work with Symbols ●
●
●
Connect Symbols
Connector Symbol
You can connect two symbols to each other using the Connector symbol.
The Connector symbol remains attached to each of the connected symbols
whenever one or both are moved. The advantage of using a Connector,
rather than a line, is that the Connector remains attached to other symbols
when you move the other symbols and avoids overlapping other symbols.
The Connector is intended for modeling and automation purposes.
Connection Points on each symbol define where the connection occurs.
Connection Points can be added, deleted, or moved on a symbol.
Connectors try to avoid objects as they are being connected between two
symbols.
The Connector symbol is supported by automation within FactoryTalk
Historian ProcessBook.
211
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
If your mouse does not touch a symbol, you do not see a Connection
Point. Do not adjust the Connector manually. If you do not see Connection
Points on both symbols, delete the Connector and draw it again.
You can use the Undo and Redo commands with Connectors.
To remove an attached symbol from a connector, click the symbol and drag it
away from the connector.
212
●
●
6 ● Work with Symbols ●
●
●
Connection Points
Connection points on each symbol define where a Connector may connect.
Connection Points are visible in Build mode only and appear on symbols
as small x marks. When you select one with your cursor, it changes to an x
within a bounding circle.
ProcessBook symbols are originally built without Connection Points. A
Connection Point is created automatically when a Connector is dragged
into a symbol. This Point is created at the midpoint of the nearest edge of
the bounding rectangle of the symbol. The end of the Connector is moved
to the Connection Point. You may add Connection Points and move them
to specific locations.
A Connection Point can be used for either the start of the flow or the end of
a flow. The same Connection Point can be used for both. A flow can be bi-
directional.
If a second Connector is dragged over a symbol, it either moves to the
existing Connection Point or creates a new one.
For irregular figures, Connection Points are placed near the midpoint of the
side of the bounding rectangle of the figure, as shown in the illustration
below, rather than inside the figure itself. You can adjust the position of the
Connection Point to touch the actual figure.
213
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
214
●
●
6 ● Work with Symbols ●
●
●
In other words, Connection Points have identifying names that are derived
from the symbol name. For example, for a rectangle named Rectangle2,
two Connection Points would be named <Rectangle2 : 1> and <Rectangle2
: 2>.
215
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
If you are using a symbol from the Symbol Library, the Connection Point
is named <TBSymbolx : n>, where TBSymbolx represents the specific
name of the symbol.
In Build mode, if you wish to adjust a Connector's end point, you might
click and drag the end point. Unfortunately, this action stops the auto-
avoidance capability of the Connector.
Alternatively, you can use the Connectors dialog box to rearrange
connections. To reach this dialog box:
Click the Connectors toolbar button,
-or-
Click Edit > Connectivity,
-or-
On the right-click menu, click Connectivity.
The Connectors dialog box affects Connector symbols only. It cannot be
used to attach one symbol to another symbol without a Connector. The
Connectors dialog box has two tabs, Flow (page 216) and Attachments
(page 219). Each Connector is identified by a unique number, which is
revealed by a ToolTip in your display.
216
●
●
6 ● Work with Symbols ●
●
●
The Flow tab shows two tree diagrams, Source and Destination, where you
can change the Connection Points for the Connector shown in the
Connector drop-down box. There is also a Flow Direction drop-down box
associated with the Connector that appears in the Connector drop-down
box.
Each Connector and each Connection Point are numbered.
Use the ToolTip on the display to identify the Connector(s) and Connection
Point(s) you wish to rearrange before you open the Connectors dialog box.
The Auto Avoid option is checked as a default, so that Connectors route
around other objects in the display.
217
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
218
●
●
6 ● Work with Symbols ●
●
●
219
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
220
●
●
6 ● Work with Symbols ●
●
●
221
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
icon .
3. Select the Master Symbol. As you change the Master, the title of the
dialog box changes also.
222
●
●
6 ● Work with Symbols ●
●
●
4. Place a check mark for the subordinate symbol or symbols and click
OK.
5. Repeat the process for each Master symbol. The Detach All bar at the
top can be used to remove all attachments from the currently selected
symbol in the Master box. To detach only one attachment, clear its
check box.
6. Click OK. When you move a Master symbol, any subordinates move
with it.
There are two other routes to the Symbol Attachments dialog box.
Choose Edit > Symbol Attachments, or, on the right-click menu, click
Symbol Attachments.
223
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Object avoidance does not occur after you drag and drop a Connector’s line
segment. If you modify the position of a Connector manually, the center point and
end points on the Connector change from green to red, indicating that automatic
object avoidance is turned off and you are responsible for all further updates to
that Connector.
Rerouting can consume significant system resources (CPU and Memory) to
solve complex problems. Factors that can increase complexity include:
A very large display.
Large numbers of Connectors on a single display.
Large numbers of symbols to be avoided.
A high number of "Lines per Screen Unit" (set in "Arrange", "Grid
Size…", "Lines per Screen Unit" - 1 equals the largest cell size; 30
gives the smallest cell size).
Routing multiple displays on the same PC.
224
●
●
6 ● Work with Symbols ●
●
●
Item Definition
Use the Item Definition button in either Build or Run mode when you
want to see what tags and formatting options were used in any symbol that
uses a dialog box for basic configuration. It is the same as double-clicking
on the item with the Build mode pointer. If the symbol does not have a
definition dialog box, the button is dimmed. You can change the selections
and save the new definition. This button does not open any of the
formatting dialog box boxes (for example, Font or Color).
If the Item Definition button appears dimmed the symbol you selected
may not have a definition dialog box.
3. In the appropriate dialog box, make your changes to the item's
definition, and then click OK. These changes are saved with the
symbol.
225
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
or
The Status Report dialog box appears when you have a display in focus
and double-click the Status icon. This report lists all the symbols in a
display that have data associated with them. You see the tag to which the
symbol is connected and, if there is an issue, the error message appears.
You can sort the list by any of the column headings.
226
●
●
6 ● Work with Symbols ●
●
●
For troubleshooting purposes, click Message Log to view the SDK Log
file.
You can save this report as a .csv file by using Save to File.
The status bar can be displayed or hidden from the View Status Bar item
on the View menu.
Substituted Used to indicate that the value has been changed from its original
value. This value is set only by the FactoryTalk Historian server when
an existing value is changed.
Annotated Indicates that there is a comment about a value. Text annotations are
shown in symbol ToolTips. Use the Details window (page 191) to
view and add annotations.
If a tag has more than one flag, the highest priority status will be shown.
The priority from high to low is: Questionable, Substituted, Annotated. To
view all the flags associated with a FactoryTalk Historian tag on the
display, use the Details window, Data option.
227
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
If you clear the Show Value Attributes check box in your Start
Preferences, you do not see these icons. You might disable the icons to
improve ProcessBook performance if you have very high speed sub-second
data.
228
Chapter 7
Data Streams
A data stream is any set of data that you can visualize (page 103). This
data includes, and is not limited to, FactoryTalk Historian tags, AF
attributes, data sets, and ODBC queries.
229
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
AF elements AF Elements are the building blocks of AF (like modules in MDB) and
can represent either physical or logical entities in your process, such
as a physical device, piece of equipment, storage container, or
representative section of a process.
In the larger picture, you can think of the functions different types of data
perform. In FactoryTalk Historian ProcessBook, you work with different
types of data:
Time series data FactoryTalk Historian server data is collected and stored in the form
of points, each of which represents a time-series data stream from a
particular source, such as a temperature or pressure sensor. A tag is a
reference name for a FactoryTalk Historian point.
Calculated data Statistical calculations provide another way to view time series data.
Averages, High and Low values and measures of variance all provide
critical information about data events over a period of time.
230
●
●
7 ● Data Streams ●
●
●
231
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
On the Standard toolbar, click , or click the Tag Search button in any
of the following dialog box boxes:
Define Value
Define Bar
Define XYPlot
Multi-State Symbol
Define Trend
The Tag Search dialog box provides three types of searches:
Basic Search allows you to create a tag mask by specifying
FactoryTalk Historian point attributes. The mask is used to find a list
of tags on the server with matching attributes.
Advanced Search provides a query-building interface with access to
more point attributes for complex searches.
232
●
●
7 ● Data Streams ●
●
●
233
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
For more information on FactoryTalk Historian tags click the Help button
from any Tag Search dialog box in FactoryTalk Historian ProcessBook to
launch the PI SDK Controls and Dialogs user help.
You can also view Point Attributes in the Details Window (page 191).
The tag for which the properties are displayed is shown in the Point Name
drop-down list at the top of the dialog box. If a trend has several tags,
234
●
●
7 ● Data Streams ●
●
●
select each tag from the drop-down list or use the up and down arrows on
your keyboard to scroll through the tags.
The Point Properties dialog box contains the Categorized tab and the
Alphabetic tab.
The Categorized tab displays the attributes categorically. The following
categories are always displayed:
Archive
Classic
Display
Overview
Security
System
These categories include all the attributes from the Base PointClass. The
Base PointClass attributes are common to all FactoryTalk Historian points.
If the FactoryTalk Historian point that is being displayed is not from the
Base PointClass, there is one additional category. This category is given
the name of the PointClass to which the displayed FactoryTalk Historian
point belongs. The PointClass-specific attributes are displayed in this
category.
The Alphabetic tab displays the attributes alphabetically.
Digital Used for points whose value can only be one Supported
of several discrete states, such as ON/OFF or
Red/Green/Yellow.
235
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Int32 Negative integer values are supported. Used Supported for positive and
for points whose values are 32-bit signed negative Integer values
integers (- 2147450880 to 2147483647).
FactoryTalk Historian reserves some values.
String Each string event represents an ad- hoc state On plots, each string event
in a series. Used to store string data of up to represents an ad-hoc state in
976 characters. a series; not supported on
logarithmic traces, multi-state
configurations, or bar
symbols.
Blob Binary large object - Used to store any type of Not supported
binary data up to 976 bytes. Use the displaydigits attribute
to determine the precision to
display.
Timestamp Plotted as seconds over a given range. Not Plotted as seconds over a
supported for logarithmic traces. Used to given range. Not supported
store values of type Timestamp. Any for logarithmic traces, multi-
Time/Date in the Range 1-jan-1970 to 1-Jan- states, or bar symbols.
2038
236
●
●
7 ● Data Streams ●
●
●
237
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
238
●
●
7 ● Data Streams ●
●
●
Connect to an AF Database
Use the Select Database dialog box to find and connect to AF databases.
1. Click File > PI systems. The Select Database dialog box appears.
239
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Element Search
240
●
●
7 ● Data Streams ●
●
●
If you plan to work with an element that does not have multiple contexts
you can instead click AF2. This brings up the Select AF Attribute dialog
box, and gives you another way of searching for AF data.
241
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
242
●
●
7 ● Data Streams ●
●
●
Context Path
A context path relates an AF Attribute to a parent element within an AF
database. An AF Attribute added as a data stream to a dynamic symbol can
point to different underlying FactoryTalk Historian points, depending on
its context path.
Context paths can be used to drive displays created in FactoryTalk
Historian ProcessBook and other FactoryTalk Historian client applications.
Displays that utilize context paths in this manner are referred to as
element-relative because the data displayed for the attribute at any time
depends on the context path that links the attribute to a parent element.
Context paths are used most frequently to change the data displayed by a
symbol based on user selection. For example, based on the selection of AF
Elements or attributes that represent assets in a plant, a display may present
data from parallel assets in a single plant or in different locations.
For example, assume Tanks 1-5 in a plant are all described by the same
measurement attributes of temperature and pressure. Each tank is
represented as an element in the AF database with corresponding
temperature and pressure attributes. A display that references the
temperature attribute could display data for each tank in turn by allowing
the user to specify the context path to any particular tank element.
243
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
244
●
●
7 ● Data Streams ●
●
●
2. In the Search Mask text box enter a search query, and click the green
arrow, or
245
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
4. Click OK. Any new items are added to the Elements of Interest
list in the Element Relative Display docking window.
3. Search results appear in the Elements of Interest pane.
1. Click a column heading to sort results by that heading.
2. Use the Filter text box to filter out unwanted entries. Access
previously used filter expressions by clicking the small triangle at
the end of the text box.
3. Select the Group by check boxes to group your search results by
template.
4. Hover over an element to display a ToolTip that show the
element's full path.
4. Click an item from the Elements of Interest pane. If there is a
corresponding attribute in your display, that attribute's data will refresh
with the new element context.
Use the pin icon to lock the docking window to your screen. Click the
pin icon again to unpin the window and minimize it along the border of your
FactoryTalk Historian ProcessBook window. When a docking window is
unpinned, a button appears along the side of the screen. Hover over it to re-
expand the window.
Data Sets
In FactoryTalk Historian ProcessBook you can build dynamic symbols
using data retrieved from data sets just as you can from specific points in
the FactoryTalk Historian Data Archive.
A data set is basically the set of results of a query that addresses a specific
data source. You can use placeholders to link FactoryTalk Historian tags
and ODBC data within a query.
Data sets are defined at the Book level so that they can be defined once and
then shared among different displays within that ProcessBook. If you
246
●
●
7 ● Data Streams ●
●
●
create an independent display (a .PDI file), the data set is defined only for
that display. Trends including data sets can be manipulated, saved, moved,
and copied in the same fashion as other trends.
Whenever a display is updated, if a trace or value using a data set is
configured using relative times, then the trace or value is updated. No
updates occur if the data set is configured using absolute times.
You can edit an existing data set, either from the Tools menu or from a
symbol that uses the data set. However, if you have attached the data set to
more than one symbol, editing the data set affects all the symbols. If you
move a FactoryTalk Historian ProcessBook display containing a data set to
another machine, you may need to reconfigure the data set or the machine's
connection to the data source.
247
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
248
●
●
7 ● Data Streams ●
●
●
249
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
You can also create a PI calculation data set by clicking the drop-down
arrow next to the Tag Search button in the Define dynamic symbol dialog
box boxes. By accessing the FactoryTalk Historian calculation Data dialog box
this way, you have the additional option of selecting a previously created PI
Calculation Data set, as well as the ability to create a new one as outlined
below.
250
●
●
7 ● Data Streams ●
●
●
251
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Name Enter a name for your data set. The name must be unique for
the current .piw or .pdi file.
Description This description appears on trends of this data set in the tag
descriptors area.
Interval Sync Time This is the absolute time of day at which the periodic
calculations are done. For example, if the Interval Sync Time
box is set to 12:00:24 PM and the time in the Refresh Interval
box is set to ten minutes, then the calculation for each period
is executed at the following times: 12:10:24, 12:20:24,
12:30:34, etc.
Value Column The name that represents the value column of the calculated
Name data rather than the time stamp column.
Refresh Interval The interval at which you want to automatically update the
data set. You can also type a number between 0 and 999. If
you select 0, data is not automatically updated.
Stepped Plot Selected by default. Clear the check box if you want a point-
to-point plot.
252
●
●
7 ● Data Streams ●
●
●
The calculated value for the AVG, STDEV, and PCTGOOD functions
includes the tag value at the lower interval boundary time and excludes the
tag value at the upper interval boundary time. For the example above, the
tag value "10" at time 1:09:00 is excluded in the function calculation,
therefore the calculated value for AVG is 4.5 and the calculated value for
STDEV is 2.872281.
The calculated value for the MIN, MAX and RANGE functions includes
the tag value of both the lower and upper interval boundary times. For the
example above, the calculated value for MIN is 1, the calculated value for
MAX is 11 and the calculated value for RANGE is 12.
253
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
254
●
●
7 ● Data Streams ●
●
●
column of the results for a display. For example, in a trend, each column in
the data set that you select appears as a different trace.
A SQL query statement may be written so that it executes based on other
data in a display, such as FactoryTalk Historian tags or the start or end
time. This is done using SQL placeholders (parameters); a tag, time, or text
string is then substituted for each placeholder at run time.
For more information on ODBC, see ODBC (page 271).
255
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
The default for the Refresh Interval is zero minutes. This means the
data set only refreshes when the trace is first drawn or when you click the
Revert Time Ranges button on the standard toolbar. If a tag placeholder is
used, the Refresh Interval box list is disabled and the data is refreshed
whenever the FactoryTalk Historian tag value changes.
6. From the Data Source list, click the appropriate ODBC data source. If
you do not already have an ODBC Data Source configured on your
computer (using the Control Panel), click Setup to create or modify
one.
7. Click Design. The Microsoft Query application is displayed.
256
●
●
7 ● Data Streams ●
●
●
Placeholders
A Placeholder in an SQL query identifies a value that is to be provided
when the query is run. You can validate a query before the actual values
are provided.
257
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
In this example, the values of the tag in the FactoryTalk Historian system
that records the current product code are retrieved. The result set of the
ODBC query is built by executing the query once for each placeholder
value. In the case of this example, that would be one query execution for
each product code found between the start and end times of the symbol.
258
●
●
7 ● Data Streams ●
●
●
symbol without affecting the placeholders defined for any other symbol
using that data set.
259
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
260
●
●
7 ● Data Streams ●
●
●
5. Click Set.
6. To configure another parameter, select it and repeat the previous steps.
7. Click OK.
261
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
262
●
●
7 ● Data Streams ●
●
●
4. Click the Tag Search arrow, and then click PI calculation. The PI
Calculation Data dialog box appears.
If you want to display the ODBC Data dialog box instead of the PI
Calculation Data dialog box, then click the Tag Search arrow, and then
select ODBC.
5. Under Saved Data Sets, click the data set you want to add to the
trend.
6. Under Data Set Columns, select a column(s) to be plotted in the trend
(use the SHIFT or CTRL keys to select more than one column).
Value Value of the expression for the calculation interval and type as of the
time stamp. In the case of summary data sets, this column holds the
value of the tag.
Total The totalized value (time integral) of a tag over a given time,
according to values stored in the archive.
Average Average value of the expression for the calculation interval and type.
Minimum Minimum value of the expression for the calculation interval and type.
Maximum Maximum value of the expression for the calculation interval and type.
PctGood The time percentage, over a given range, when a tag's archived
values are good (not digital states).
Range The difference between a tag's maximum and minimum values during
a given time, according to values stored in the archive.
7. Click OK.
Until you select a data set and at least one column, the OK button is
dimmed.
263
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
The selected data set/column(s) is now listed under Tags in Plot in the
Define Trend dialog box.
8. Select tags as desired and format the trend. If you wish to see or edit
the definitions of placeholders, click Custom Placeholders in the
Define Trend dialog box.
9. Click OK. Data is displayed on the trend.
If you select the Description check box, on the Display Format tab in
the Define Trend dialog box, then the description of the data set is taken
from the PI Calculation Data dialog box and repeated for each column that
is plotted. There are usually no engineering units for a data set column.
264
●
●
7 ● Data Streams ●
●
●
axis with changing FactoryTalk Historian exception data points until the
refresh interval expires and new data are received from the data set.
If a data set has a FactoryTalk Historian tag placeholder, then the data set
is refreshed every time a new value is received for the FactoryTalk
Historian tag placeholder.
265
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
266
●
●
7 ● Data Streams ●
●
●
267
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
268
●
●
7 ● Data Streams ●
●
●
3. From the Tools menu, select Data Sets. The Data Sets (page 246)
dialog box appears.
4. Under Data Sets, click the data set you want to copy, and then click
Copy. The Copy Data Sets dialog box appears.
5. Under To Open Workbook, select the correct target, and then click
OK.
269
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
To select an AF Attribute:
1. Connect to an AF database.
2. Select an AF Element.
3. Select an AF Attribute from the drop down list or click Search to
search in the AF database.
4. Select a unit of measure in which to display the attribute.
270
●
●
7 ● Data Streams ●
●
●
ODBC
ODBC Driver Manager
FactoryTalk Historian ProcessBook sends queries to a standardized
interface from Microsoft called the ODBC Driver Manager. The Driver
Manager forwards ODBC queries to appropriate vendor-provided drivers,
which access the outside databases and return the requested data to your
ProcessBook display.
ODBC Drivers
Each DBMS (database management system), such as Microsoft SQL
Server, requires a specific ODBC Driver, provided by the vendor of the
DBMS or a third party. Each driver is a Dynamic Link Library (.dll) that
implements a set of subroutine calls to retrieve data from a particular
database.
The Microsoft ODBC Driver Manager is included as a part of FactoryTalk
Historian ProcessBook installation.
271
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
272
●
●
7 ● Data Streams ●
●
●
Using ODBC requires that you install the Microsoft ODBC Driver
Manager and drivers (most operating systems already have the Driver
Manager and some standard drivers installed). You must then configure
data sources (page 275) for ProcessBook and define individual queries,
called data sets.
273
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
274
●
●
7 ● Data Streams ●
●
●
To create data sources for any user of the computer, use the System
DSN tab instead of the User DSN tab. You can set up data sources on the
System DSN tab that are available to all users on the computer, but you must
have elevated permissions on the computer.
The MS Query application does not work with an ODBC query that includes
placeholders. Consequently, the Design button in the ODBC Data dialog box may
be disabled.
275
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Tag 0
276
●
●
7 ● Data Streams ●
●
●
277
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
If you delete the wrong driver you need to reload it from the vendor.
278
●
●
7 ● Data Streams ●
●
●
1. Open the ODBC Data Source Administrator (page 273) dialog box.
2. In the User DSN tab, under User Data Sources, click the name of the
ODBC data source you want to delete and then click Remove.
A confirmation message is displayed.
3. Click Yes to delete the data source.
4. Click OK to close the Microsoft ODBC Data Source Administrator
dialog box, then close the ODBC Data dialog box.
The data source is removed from under Data Sets in the Data Sets
dialog box.
279
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
280
Chapter 8
281
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
282
●
●
8 ● Embedding and Linking ●
●
●
For more information on how to write Visual Basic scripts for use with
FactoryTalk Historian ProcessBook, click Help > FactoryTalk Historian
ProcessBook VBA Language Reference.
Embedded Objects
Embedded objects are copied from an existing file or created and then
stored as an integral part of the container application, such as FactoryTalk
Historian ProcessBook. Using an embedded object increases the file size of
a ProcessBook significantly.
Formats not natively supported by FactoryTalk Historian ProcessBook,
such as Windows metafiles, can now be pasted from the Windows
clipboard as objects in a ProcessBook display.
To change the contents of an embedded file, double-click it. The source
application software is invoked, and you can edit the object with the source
application's commands.
ProcessBook is a time-based application. When ProcessBook is used as an
embedded object, it updates dynamically whenever you double-click it.
If you rename a ProcessBook or move it to another directory, drive, or PC,
any embedded objects in displays can still be changed as long as your
system can locate the appropriate source application software.
Linked Objects
Linked object information is not stored as a part of the destination
application. Instead, the destination file stores only the location of the
283
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
linked source file. No matter how many links it has, only one version of the
linked file is stored and maintained. Using a linked file increases the file
size of a ProcessBook less than using an embedded object.
In establishing an OLE link, you may update the:
Contents of the object dynamically whenever the source file changes
Update the object only by manual command
To change the data in a linked file, such as which tags you have selected,
you switch to the source application and open the file. Changes are then
reflected in the container display according to the update method you
selected.
Alternatively, if you double-click the object, the source application and the
actual file open, allowing you to edit the object. If the source application
supports in-place activation, you can edit within the container window;
otherwise a source application window opens.
If you rename a ProcessBook or move it to another directory, drive, or PC,
any links from displays to source files can break. These broken links need
to be re-established if you wish to continue using them.
284
●
●
8 ● Embedding and Linking ●
●
●
ActiveX Controls
You can insert ActiveX controls that are installed on your PC into
FactoryTalk Historian ProcessBook displays. If you move the displays to
other machines, then you must also install the controls there.
Some ActiveX controls are self-contained and will work without further
scripting. Most require additional VBA code before they function
correctly.
Add a Control
To add a control:
1. In Build mode, open a display.
285
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
In Run mode, a user could change the month and date. A programmer
could incorporate the calendar into scripts associated with the display.
The equipment parts list is stored with the ProcessBook display. If your PC
has an installed copy of MSWord, you can peruse or modify the list at any
time simply by double-clicking it.
The lab results are stored by the source application, not in the ProcessBook
display. The display can be set to update lab data dynamically whenever
the results in the source application changed, or it can be set to update lab
data when you click Update Now in the Edit Links dialog box.
286
●
●
8 ● Embedding and Linking ●
●
●
287
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
You must be in Build mode in order to insert a new object. Click Insert >
Object to launch the Insert Object dialog box.
288
●
●
8 ● Embedding and Linking ●
●
●
If you want to display an icon rather than a graphic, select the Display
as Icon check box.
5. Click OK. The object appears on your display.
6. Adjust the size and positioning of the object.
7. Commands for the source application are available on the menus.
Create the contents of the new object and click elsewhere on the
display to return to ProcessBook.
8. Save the display.
289
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
If you want to display an icon rather than a graphic, select the Display
as Icon check box.
6. Select the Link check box.
7. Click OK. The object appears on your display.
8. Adjust the size and positioning of the object.
290
●
●
8 ● Embedding and Linking ●
●
●
You can select several links at once by pressing the CTRL key and
clicking each link.
4. Choose one of the following options:
Select Manual Updates the linked data manually.
Click Break Link Permanently breaks the link. The object is converted to a
picture (metafile).
5. Click OK.
291
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
292
●
●
8 ● Embedding and Linking ●
●
●
Align Arrange menu Does not work because you cannot select
more than one OLE object at a time.
Forward Arrange menu Does not work because you cannot select
more than one OLE object at a time.
Backward Arrange menu Does not work because you cannot select
more than one OLE object at a time.
Group Arrange menu Does not work because you cannot select
more than one OLE object at a time.
293
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
When editing a linked object file, remember that the file may also be an
object in other applications besides FactoryTalk Historian ProcessBook.
In addition, you can reach the source application through the Links dialog
box.
1. Click Edit > Links. The Links dialog box appears.
2. Click the appropriate link.
3. Click Open Source to open the source file.
294
●
●
8 ● Embedding and Linking ●
●
●
The source application does not permit in- Edit the object.
place activation, a new window containing the Save it if it is a linked file.
source application appears.
Close the window and return to
ProcessBook.
295
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
You may select to display an icon when you are creating the object by
selecting the Display as Icon check box in the Insert Object dialog box.
Later, you can switch between an icon and a graphic representation of the
object, as described below. If you have made the graphic representation
other than a square shape, the icon may be distorted.
296
●
●
8 ● Embedding and Linking ●
●
●
6. To select the icon to use, click Change Icon. The Change Icon dialog
box appears.
297
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
If you want to display an icon rather than a graphic, select the Display
as icon check box.
4. Click OK.
The display is embedded in the container application.
298
●
●
8 ● Embedding and Linking ●
●
●
When you activate the dragged contents, the entire original display is
drawn, regardless of which objects were dragged to the new container.
If you select the Display as Icon check box, then the Object
Packager icon is used by default, rather than the ProcessBook icon.
OLE Container/Server
A ProcessBook display may be shown in another application. For example,
you could include an updating trend in an incident report produced in a
word processing application such as Microsoft Word. Or, you could
prepare a presentation for a group by using Microsoft PowerPoint to
prepare slides and including embedded displays from FactoryTalk
299
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
300
Chapter 9
VBA Commands
Access VBA through the VBA toolbar, or by clicking Tools > Macro:
Visual Basic Editor Switches to VBA Editor window.
Run Macros Opens the Macros dialog box, which provides a way to select, debug,
and run existing VBA scripts.
301
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Design Mode Stops any scripts that may be running or may start running. Useful for
debugging.
ActiveX Automation
ActiveX Automation refers to the technology of placing ActiveX controls
(independent software modules) within applications and using scripts to
manipulate the application and/or the controls.
302
●
●
9 ● Visual Basic for Applications in FactoryTalk Historian ProcessBook ●
●
●
Automation Vocabulary
Understanding OLE automation requires some technical vocabulary.
Terms used in the FactoryTalk Historian ProcessBook VBA Language
Reference Guide are defined below.
Automation Accessing an object in an application and changing it or
using it without using the user interface.
ActiveX Automation Server The application that provides data. FactoryTalk Historian
ProcessBook is an OLE Automation Server. It provides
access to its internal objects from other applications.
ActiveX Automation Container The application that initiates changes through scripts.
FactoryTalk Historian ProcessBook is an Automation
container, as are Microsoft Excel, Microsoft Access, and a
few other commercial products.
303
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
304
Chapter 10
Installation
A self-extracting zip file is supplied as the distribution kit for FactoryTalk
Historian ProcessBook.
To install FactoryTalk Historian ProcessBook:
1. Log on to a user's PC with an account that has administrative
privileges.
2. Unzip the file into a temporary directory.
3. Run Setup.exe from the temp directory and follow the directions
displayed in the installation wizard.
System Requirements
For up to date system requirements, see the KB article 42682
(https://rockwellautomation.custhelp.com/app/answers/detail/a_id/42682)
at the Rockwell Automation Support Center.
305
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
If your existing version is significantly older, you may need to migrate the
displays through intermediate versions to ensure successful migration.
306
●
●
10 ● Installation ●
●
●
Installation Test
You can view the results of the installation process by examining the setup
log, fth_installer.log, saved under the following location:
C:\Program Files\Rockwell Software\FactoryTalk
Historian\Installation Manager\<Name of the Historian
suite>\FTHInstallerLogs\<Date and Time of the Installation>.
Installed Files
Upon completion, Setup installs FactoryTalk Historian ProcessBook under
the root directory \PIPC.
307
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Setup also installs online help files and Release Notes. See the Release
Notes for a complete list of files.
You can look at SetupProcessBook.log in the Dat directory of your
FactoryTalk Historian ProcessBook installation to see a list of files
installed by FactoryTalk Historian ProcessBook's Setup on your computer.
SetupProcessBook.log does not show the files installed by VBA.
308
Chapter 11
309
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
310
●
●
11 ● System Administrator Notes ●
●
●
Dynamic symbols on the display are presented in the same manner as any
other symbol attached to a disconnected server, though there is no recovery
unless the primary server comes back online.
If this occurs after the display is already open, ProcessBook detects the loss
of connection, as described previously, and tries to reconnect to the server.
This call fails, generates the same error as in the previous case (The
requested server in not currently available, Primary), and updates the
Status Report dialog box.
MDB to AF Migration
Module Relative Display Add-in
The Module Relative Display (MRD) Add-in, included in ProcessBook
v3.2 and earlier, allows you to show data from a Module Database module
on dynamic symbols in FactoryTalk Historian ProcessBook. This feature
311
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
312
●
●
11 ● System Administrator Notes ●
●
●
DEP Security
Data Execution Prevention (DEP) is a setting, introduced with Windows
XP SP2, and available in subsequent Windows operating systems. The
setting prevents malicious code attacks. FactoryTalk Historian
ProcessBook works correctly when this setting is enabled.
313
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
314
●
●
11 ● System Administrator Notes ●
●
●
CLIENTACCESS
DEFAULT=R
BRIAN=RW
The preceding entry allows the PINet node BRIAN to read and to write
data to the FactoryTalk Historian system. All other nodes have read- only
access.
TCP/IP node names are case-sensitive. In addition, the values for the
entries in the CLIENTACCESS section (for example, R and W) are also
case-sensitive.
Machine Address
Because FactoryTalk Historian ProcessBook is a client/server application,
the communication setup is essential. The machine address, which allows
the FactoryTalk Historian system to recognize your machine, is a key item.
Often, the address may be found as an alias in the TCP host file. The
Network Administrator should resolve any questions or difficulties
regarding the network and addressing.
PROCBOOK.INI
The PROCBOOK.INI file contains configuration and preference settings
for FactoryTalk Historian ProcessBook. This file generally resides in two
places, the user's default location, C:\Documents and Settings\<user
name>\Application Data\PISystem\PI-ProcessBook\<language>, and the
PIPC\DAT\<language> directory (on the local drive where FactoryTalk
Historian ProcessBook is installed).
When FactoryTalk Historian ProcessBook is installed on an individual PC
using SETUP.EXE, the procbook.ini file in PIPC\DAT\en is created (for
the base, English installation). The file in C:\Documents and Settings\<user
name>\Application Data\PISystem\PI-ProcessBook\<language> is only
created once settings are changed in the FactoryTalk Historian
315
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
ProcessBook Preferences dialog box for the first time. The values in
C:\Documents and Settings\<user name>\Application Data\PISystem\PI-
ProcessBook\language override the values in PIPC\DAT\<language>
unless an administrator creates Registry entries to override user-specific
settings.
The following is a list and brief explanation of the most significant sections
and keywords in the PROCBOOK.INI file. The settings used are examples
and not necessarily the default values.
Startup Section
Initializations for startup of FactoryTalk Historian ProcessBook
Possible entries:
StartupProcessBook Specifies file (with full path) to be opened on start of the
application. May be blank.
DefaultFileLocation By default, clicking File > Open displays the local user's My
Documents directory. Specifying a different directory in this entry
changes the File > Open and File > Save commands to start with
a different folder when ProcessBook starts.
ModeBias R=run-mode.
B=build-mode.
Author Sets the default author for created displays and workbooks
316
●
●
11 ● System Administrator Notes ●
●
●
GridSize Sets the Grid Size, in lines per screen unit. Default is 12.
RunSelectorColor Red, Green, Blue, values can range from 0 to 255, sets the color
of the selector rectangle in run mode.
317
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
318
●
●
11 ● System Administrator Notes ●
●
●
URL Home Specifies the website navigated to when a user clicks the
ProcessBook icon in the Help\About box.
MaxBitmapMB Maximum file size (in megabytes) that bitmap images may be
loaded in displays. If embedded bitmaps are larger than the
specified maximum, ProcessBook scales the images down to lower
resolutions. The current default maximum is 16.0 MB.
ServerTimeZone 1=Show times and time spans based on the time zone of the
server where the tags originate.
0=Show times and time spans based on the time zone of the
local machine. 1 is the default.
ProcessBook Setting this value equal to PRIMARY allows users to view
ProcessBooks, but not change them. The user has access to the
Standard toolbar, including the trend displays command to create
ad hoc trends, but cannot save an ad hoc display.
319
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
PB2TraceCompatibility Indicates whether all snapshot values are retained for trend
traces or discarded when a new archive event is received on
updating trends.
1 = Yes. Do not replace snapshot values when a new archive
event is received. This setting may result in a jagged trace that
gets smoothed when the trend is reverted.
0 = No. Use snapshot value filtering/removal logic so that only
archive values and any snapshot values since the last archive
event are shown on the trend.
EnableConnector Controls whether symbols drag and dropped on top of a
Attachments connector are made into connector attachments.
1 = true - allow.
0 = false - do not allow.
Startup Example
[Startup]
Startup ProcessBook=PIDEMO.PIW
DefaultFileLocation="C:\Program Files (x86)\Rockwell
Software\FactoryTalk Historian\PIPC\Procbook"
ModeBias=R
Retain Aspect Ratio=0
Symbol Library=SYMLIBRY.PIW
PromptForConversion=[PB_PROMPTFORCONVERSION]
Show Value Attributes=1
PB2TraceCompatibility=0
MakeBackupFile=0
ToolTipsEnabled=Y
Author=
320
●
●
11 ● System Administrator Notes ●
●
●
321
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
PitchAndFamily=0
FaceName=Arial
Conversion Section
The Conversion section of the .INI file identifies resources for
importing other file formats and resembles this example:
[Conversion]
Import0 = PIDisDIFF Files, impd32.dll, dat
Import1 = PI-Graphics Files, impp32.dll, dat
322
●
●
11 ● System Administrator Notes ●
●
●
Start Time/End Time Default start and end time range (must be a valid FactoryTalk
Historian string)
RequeryThresholdFactor Base the max values for each trace on a "factor" of the
interval.
323
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Element These 16 entries are the main drawn properties of trends. For
each of 16 trend elements, you can change the color and
shape properties. This is the entry format:
ElementX = Name, Color, LineStyle,
MarkerStyle
324
●
●
11 ● System Administrator Notes ●
●
●
325
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Colors Section
Defines the 16 colors in the ProcessBook palette.
Parameters: ColorX = Red, Green, Blue, values can range from 0 to 255
Example:
[Colors]
Color1=255,255,255
Color2=255,0,0
Color3=0,255,0
Color4=0,0,255
Color5=0,255,255
Color6=255,0,255
Color7=255,255,0
Color8=0,0,0
Color9=192,192,192
Color10=128,0,0
Color11=0,128,0
Color12=128,128,128
Color13=128,0,128
Color14=0,0,128
Color15=128,128,0
Color16=0,128,128
326
●
●
11 ● System Administrator Notes ●
●
●
Example:
[Time Range Scroll]
TimeRangeMin=*-100d
TimeRangeMax=*+10d
PageScrollNonlinearity=20
LineScrollNonlinearity=100
ThumbScrollNonlinearity=20
Italic 1=italic.
0=no italic.
Example:
[PB Level 1]
Underline=0
FaceName=MS Sans Serif
Height=-16
Weight=700
Italic=0
PitchAndFamily=34
[PB Level 2]
Underline=0
FaceName=MS Sans Serif
Height=-13
Weight=700
327
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Italic=0
PitchAndFamily=34
SymbolFillColor Red, Green, Blue, values can range from 0 to 255, sets the fill
color for newly created symbols.
SymbolLineColor Red, Green, Blue, values can range from 0 to 255, sets the
line or text color for newly created symbols.
SymbolBackgroundColor Red, Green, Blue, values can range from 0 to 255, sets the
background color for newly created symbols, for example, the
empty portion of a bar symbol takes on this color.
Example:
[Display Colors]
DisplayBackgroundColor=192,192,192
SymbolFillColor = 0,0,255
SymbolLineColor = 255,255,255
SymbolBackgroundColor = 192,192,192
328
●
●
11 ● System Administrator Notes ●
●
●
329
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Macro Protection
The primary purpose of the macro protection feature is to prevent
misbehaved VBA event code from executing. Whenever a ProcessBook
display (either standalone .pdi file or table of contents entry) is opened,
ProcessBook determines whether the display has any VBA code present.
330
●
●
11 ● System Administrator Notes ●
●
●
1 User is prompted when display is opened; project is set to design mode if user
selects <Disable Macros>.
2 User is prompted when display is opened; project is opened with macros disabled
if user selects <Disable Macros>.
5 User is prompted when display is opened; project is always set to design mode
when opened.
6 User is prompted when display is opened; project is always opened with macros
disabled.
The default value for this setting is 0, so that if it is not present at all in the
.ini file, then FactoryTalk Historian ProcessBook always executes macros.
331
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
IMPPIGP.INI
The IMPPIGP.INI file contains configuration settings used by the
Import utility in FactoryTalk Historian ProcessBook. The file generally
resides in the PIPC\DAT directory. As with other .INI files, SETUP.EXE
creates this file with default settings.
When you import VAX-formatted graphics and graphics that include
trends, the import utility uses the settings found in this .INI file to convert
items such as color, line style, and fonts. You can edit the .INI file if you
want to change these default settings. Before you edit this file, you should
make a backup copy so you can restore FactoryTalk Historian
ProcessBook to its original settings.
The settings in this .INI file affect graphics and trends included in graphics
only. When importing trend displays, the format specified in the Trend Preference
setting is used.
The following is a list of the keywords in the IMPPIGP.INI file. The values
shown are examples and not necessarily the default settings shipped with
FactoryTalk Historian ProcessBook:
Color Section (page 332)
Line Style Section (page 333)
Font Section (page 334)
Marker Section (page 335)
Display Section (page 335)
Color Section
The Color section of the .INI file maps VAX colors to FactoryTalk
Historian ProcessBook colors:
[Color]
Clear=0,0,0
Black=0,0,0
332
●
●
11 ● System Administrator Notes ●
●
●
White=255,255,255
Red=255,0,0
Green=0,255,0
Blue=0,0,255
Cyan=0,255,255
Magenta=255,0,255
Yellow=255,255,0
Orange=255,128,0
GreenYellow=128,255,0
GreenCyan=0,255,128
BlueCyan=0,128,128
BlueMagenta=0,0,128
RedMagenta=255,0,128
DarkGray=128,128,128
LightGray=192,192,192
The values shown to the right of the equal sign are the red, green, blue
values. Refer to "Creating Your Own Colors" in the Windows
documentation for more information on changing these values.
333
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
3 = dash dot
4 = dash dot dot
5 = suppress
Font Section
The Font section maps the VAX supported fonts to FactoryTalk Historian
ProcessBook fonts:
StandardFont=35,400,0,0,34,Arial
SmallVector=-29,400,0,0,34,Arial
MediumVector=-52,400,0,0,34,Arial
LargeVector=-77,400,0,0,34,Arial
These default values are based on resolutions for VT340 terminals. If you are
using a terminal other than these, appearances may be different.
The values to the right of the equal sign represent these font characteristics.
Position Font Characteristic Definition
5 Pitch and Family Specifies the pitch and family of the font. Pitch can be
fixed, variable, or default. Font families, such as Old
English, describe the look of a font in a general way. They
are intended for specifying fonts when the exact typeface
desired is not available.
334
●
●
11 ● System Administrator Notes ●
●
●
Marker Section
The Marker section of the .INI file maps the VAX trend markers to the
markers provided in FactoryTalk Historian ProcessBook:
[Markers]
NoMarker=9
Dot=0
SmallPlus=6
LargePlus=7
Asterisk=0
Circle=1
LargeX=8
Box=5
Diamond=3
BoxWithDot=4
DiamondWithDot=2
BoxWithDiamond=4
The values to the right of the equal sign represent these marker types in
FactoryTalk Historian ProcessBook:
0 = filled circle
1 = open circle
2 = filled diamond
3 = open diamond
4 = filled square
5 = open square
6 = filled triangle
7 = open triangle
8 = cross
9 = none
Display Section
The Display section in the .INI file specifies the supported terminals in
FactoryTalk Historian ProcessBook:
[Display]
Terminal Type=VT340
335
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Keywords for supported terminals are shown below. The horizontal and
vertical dimensions are also shown.
VT340 = 800 x 500
Reflection = 800 x 500
Tektronix = 4095 x 3130
X1024 = 880 x 640
X800 = 560 x 448
If your terminal is not included in the list of keywords, you can create your
own. The syntax is:
Terminal Type=Custom,X,Y
SETUPProcessBook.LOG
This log tracks the setup of FactoryTalk Historian ProcessBook on your
system and holds information pertaining to directory structure, user-entered
information for Node, .DLL, and User name, and the installation of
the various ProcessBook files.
336
Chapter 12
Supplemental Information
FactoryTalk Historian Time
FactoryTalk Historian Time abbreviations and FactoryTalk Historian Time
expressions allow you to specify times and time ranges for data using
constants, variables, and short expressions.
day d days no no
year y years no no
week w weeks no no
yearday yd yeardays no no
You can spell out month and weekday names, or type the first three letters
(for example, Dec, Tue).
337
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Sunday or sun 00:00:00 (midnight) on the most recent past Sunday (in reference to the
Historian Server).
Relative Time Relative time expressions specify a number of days, hours, +1d
minutes, or seconds with either a leading plus sign or a -24h
leading minus sign.
-3m
The reference time, or starting time, for the relative time
expression is the current time if both start and end times are +24s
relative.
338
●
●
12 ● Supplemental Information ●
●
●
sun, mon, tue, wed, thu, fri, sat 00:00:00 on the most recent Sunday,
Monday, ... Saturday
339
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
340
●
●
12 ● Supplemental Information ●
●
●
0 25.59 26
0% 3.25 325%
Database Uses the Display Digits attribute for the tag from the FactoryTalk Historian
system.
The following table describes how to create a custom number format mask.
Symbol Explanation
# Placeholder for a digit. Leading and decimal zeros are not displayed
Attribute Explanation
341
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Attribute Explanation
Zero Zero.
Span Span.
digstartcode Code for the first digital state string for the tag.
342
●
●
12 ● Supplemental Information ●
●
●
Attribute Explanation
Troubleshooting Tips
Display Cannot Find Data
When a display does not receive data, the problem may be one of the
following:
The network is down.
A display has been moved from one PC to another and Node
Identifiers to the Server(s) need to be re-established through the
Connections dialog box (page 6).
An ODBC Data Source may have been altered, causing the dataset to
fail to return data.
343
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Is an XYPlot Updating?
When an XYPlot is updating, the updating tags are shown with an arrow
indicator in the legend. An XYPlot is updating if the following conditions
exist:
The end time for the X tag is indicated as the current time (by using *)
or is in the future (*+N).
344
●
●
12 ● Supplemental Information ●
●
●
At least one of the Y tag end times is indicated as the current time (by
using *) or is in the future (*+N) and is not synchronized or matched
with the X tag (if X is not updating).
If both the X tag and the Y tag are updating, an arrow indicator is shown in
each legend entry.
Updates for retrieval methods Recorded and Interpolated are received from
an event pipe that provides the application with snapshot values. For this
reason, when a tag is using recorded values, you may see many more
values while the plot is updating than are actually recorded. Once the plot
is regenerated or reverted, only recorded values are shown. When using the
interpolated retrieval method, values on the plot are interpolated using the
snapshots coming in through the event pipe.
or
Linked xx object for linked objects
345
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
ODBC Problems
Missing ODBC Trace
If no values are found for one of the selected columns in a query, the trace
will not be drawn and the value in the legend reads No Data.
If the necessary time value is not defined in the query, either by a date/time
column or by a placeholder tag, the trace is drawn as a straight line using
one value.
346
●
●
12 ● Supplemental Information ●
●
●
To resolve the problem, re-define the data source. The following figure
shows what happens when a Trend attempts to display a trace for which the
data source no longer exists.
347
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
348
Chapter 13
Technical Support
Please visit Rockwell Automation Customer Support Center
(http://www.rockwellautomation.com/support/) for access to user forums,
sample code, software and firmware updates, product manuals, and other
downloads.
Knowledgebase
The Customer Support Center offers an extensive online knowledgebase
that includes frequently asked questions (FAQs) and the latest patches.
Please visit the support site
(http://www.rockwellautomation.com/resources/support.html) and select
the Knowledgebase link located under Tools & Resources to:
View technical and application notes.
Obtain software patches and firmware updates.
Subscribe to product and service e-mail notifications.
Ask questions.
349
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
Worldwide Support
If you are not located in North America and want to contact Rockwell
Automation Support, use the Worldwide Locator
(http://www.rockwellautomation.com/locations/) for worldwide contact
information.
Training Programs
Rockwell Automation offers a wide range of training programs that include
e-learning, regularly scheduled and custom-tailored classes, self-paced
training, and certificate programs. If you would like more information on
training, visit the Rockwell Automation Training site
(http://www.rockwellautomation.com/services/training/) or call
1.440.646.3434.
If you are not located in North America and want to contact Rockwell
Automation Support, use the Worldwide Locator
(http://www.rockwellautomation.com/locations/) for worldwide contact
information.
Consulting Services
If you are not located in North America and want to contact Rockwell
Automation Support, use the Worldwide Locator
(http://www.rockwellautomation.com/locations/) for worldwide contact
information.
TechConnect Support
With TechConnect Support, your site has unlimited, real-time access to
Rockwell Automation's global network of Customer Support Centers and
technical resources. TechConnect service levels are provided at the
TechConnect site
(http://www.rockwellautomation.com/services/onlinephone/techconnect/).
350
●
●
13 ● Technical Support and Resources ●
●
●
351
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
directory and type the subsystem name followed by the option -v (for
example, piarchss.exe -v).
352
Index
Index
Add-Ins • 13
6 Additional Dynamic Symbols • 162
Align Multiple Symbols • 209
64-bit Operating Systems • 305 Arrange ProcessBook Entries • 49
Assign a Keyboard Shortcut • 21
A Assign Symbols to Layers • 98
About FactoryTalk Historian Data • 229 Assumptions About Timestamps and Data Sets
About FactoryTalk Historian ProcessBook • 36 • 276
Active Layers Status Bar • 99 Attach a Symbol as an Adjunct to a Connector
ActiveX Automation • 302 • 221
ActiveX Controls • 285 Attach a Symbol as an Adjunct to Another
Ad Hoc Trends • 129 Symbol • 221
Ad Hoc XYPlots • 146 Attach a Symbol to a Connector • 212
Add a Button • 166 Automation Vocabulary • 303
Add a Control • 285
Add a Data Set to a Trend • 262 B
Add a Data Set to an XYPlot • 142 Background Color • 84
Add a Dynamic Bar • 168 Bad Status Indicators • 158
Add a Dynamic Value • 162 Bar Scales • 171
Add a Graphic • 185 Bars • 168
Add a Trend Cursor • 121 Basic Steps to Build a ProcessBook • 39
Add Annotations • 196 Book View • 50
Add Buttons to Toolbars • 16 Bookmarks and Browser History • 18
Add Connection Points • 214 Browse a Display from Internet Explorer • 71
Add Data Sets to Bars or Values in a Display • Browse ProcessBooks and Displays • 16
265 Browser Toolbar • 16
Add Element Relative Data to a Dynamic Build a Trend with Multiple Plots • 109
Symbol • 241 Button • 165
Add or Edit Placeholders • 259 Buttons • 68
Add ProcessBook Entries • 41
Add Text to a Display • 178
C
Add/Edit Bookmarks • 19
Add-In Manager • 13 Cannot Change or Save a Display • 344
Change the Appearance of a Symbol • 189
353
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
354
●
●
● Index
●
●
●
Delete Connection Points • 214 Edit the Contents of a Linked Object • 294
DEP Security • 313 Edit the Contents of an Embedded Object • 294
Design Placeholder Queries • 258 Edit the Contents of OLE objects • 294
Details and Annotations • 191 Edit, Update, or Break Links • 291
Details Window • 191 Editable Formatting Attributes • 81
Detect Connections and Attachments • 223 Element Relative Display (ERD) • 238
Determine the Identifying Number of a Element Search • 240
Connection Point • 215 Embed a New Display in Another OLE
Display • 11 Application • 298
Display an OLE Object with an Icon • 295 Embed a New File in a Display • 289
Display Cannot Find Data • 343 Embed an Existing Display in Another OLE
Display Colors Section • 328 Application • 298
Display Format Tab • 112, 143 Embed an Existing File in a Display • 288
Display or Change Item Definition • 225 Embed in FactoryTalk Historian ProcessBook •
Display Range • 93 287
Display Scrolling Properties • 76 Embedded Objects • 283
Display Section • 335 Embedding and Linking • 281
Display Settings • 75 Entries in Book View • 52
Display Window • 28 Example 1
Displays and Connection Failure • 9 Comparing Values for Two FactoryTalk
Drag Zoom • 119 Historian Tags • 159
Draw a Line • 179 Example 2
Draw an XYPlot • 136 Comparing Different Tags to Optimize
Drawing Area • 79 Performance • 159
Drawing Grid • 80 Example 3
Drawing Tools • 77 Lab Comparisons • 160
Dynamic and Manual Updates of a Linked Example 4
Object • 291 Comparing a Batch Run to a Standard • 161
Dynamic Symbols • 68 Example 5
Comparing Two Time Ranges • 161
E Example of Embedded and Linked Objects in a
ProcessBook Display • 286
Edit a Data Set • 266 Examples of XYPlots • 158
Edit a Text Box • 178 Expand a Trend • 120
Edit a Trend • 110
Edit an ODBC Data Source • 279
Edit Contents of OLE Objects • 295
Edit the Appearance of an OLE Object • 292
355
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
356
●
●
● Index
●
●
●
357
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
358
●
●
● Index
●
●
●
T U
Table of Contents Preferences • 26 Updates to FactoryTalk Historian Data • 237
Table of Format Values • 340 Upgrade from a Previous Version of
TechConnect Support • 350 FactoryTalk Historian ProcessBook • 306
Technical Support • 349 Use a Symbol from the Symbol Library • 187
Technical Support and Resources • 349 Use Favorites • 199
359
●
●
●
FactoryTalk Historian ProcessBook User Guide
●
●
V Z
Value Scale Grid Lines • 124 Zoom Display Size • 71
Values • 162 Zoom/Revert Functions • 153
VBA Commands • 301
View Browsing History • 17
View Computer Platform Information • 352
View Only Mode • 331
View Point Attributes • 234
Visual Basic for Applications in FactoryTalk
Historian ProcessBook • 301
Visualize Data with Symbols • 103
W
What Can You View with FactoryTalk
Historian ProcessBook • 5
What You Can Do with ActiveX Automation
in FactoryTalk Historian ProcessBook • 302
What's New in This Release • 2
Windows Drag and Drop • 289
Work with a Display • 67
Work with a ProcessBook • 39
Work With Multiple ProcessBooks • 41
Work with Symbols • 191
Work with the Element Relative Display
Window • 244
Working Directory for Operating System
Commands • 49
Workspace • 10
Worldwide Support • 350
X
XYPlot Cursors • 156
XYPlot Definition Section • 328
360