Loading trend templates, Loading trend templates – 22 – Rockwell Automation FactoryTalk View Site Edition Users Guide User Manual
Page 618

F
ACTORY
T
ALK
V
IEW
S
ITE
E
DITION
U
SER
’
S
G
UIDE
23–22
• •
•
•
•
Loading trend templates
Load a template to return to the original trend settings, or to apply a consistent trend
appearance across applications.
To load a template
1. In the Trend Properties dialog box, click the Template tab, and then click Load
template.
2. In the Component browser, find and select the template you want to load, and then
click OK.
Example: Using the Invoke command to load trend templates at
run time
A trend template named Isolated uses isolated graphing, and a template named Non-
isolated uses non-isolated graphing.
To provide an operator with a way to switch between the two templates at run time, do the
following in the trend’s graphic display:
1. For the isolated graphing template, create a button that runs the following command as
its press action:
Invoke Me.Trend1.LoadTemplate (“Isolated”)
2. For the non-isolated graphing template, create a button that runs the following
command as its press action:
Invoke Me.Trend1.LoadTemplate (“Non-Isolated”)
To load the templates at run time, the operator can press either button.
Saving, loading, or deleting a template takes effect immediately, and cannot be undone. If you
load a template at run time, any existing pens in the trend are deleted and replaced with the pens
in the template.
In the Invoke commands in this example, Trend1 is the default name of the trend object. Be sure
to use the correct name of the trend in the Invoke command.