Add a button – Rockwell Automation FactoryTalk Historian SE ProcessBook 3.2 User Guide User Manual

Page 184

Advertising
background image

FactoryTalk Historian ProcessBook User Guide

166

You can add a button to your
drawing that:

For example:

display (.pdi file) on a web site.

Note: You need to type the URL (Uniform
Resource Locator) address that points to the

location of the specific .pdi file on a web server.

Executes a VBA script.

Create a VBA script called AddTrend that inserts a

trend on a display. Add a button to the display and
configure it to use the AddTrend script (macro) as its

Action.

Add a Button

To add a button:

1. In Build mode, open a display.

2. On the Drawing toolbar, click

, or click Draw > Button. The

mouse pointer changes to the Button pointer.

3. Click in the display where you want to add the button and drag the

pointer to form a rectangle into which the button will be placed. When
you release the mouse button, the Define Button dialog box appears.

4. In the Text box, type the name of the button.

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.

Advertising