beautypg.com

Rockwell Automation FactoryTalk View Site Edition Users Guide User Manual

Page 620

background image

F

ACTORY

T

ALK

V

IEW

S

ITE

E

DITION

U

SER

S

G

UIDE

23–24

• •

Example: Using a startup macro to load and update a trend in the
background

1. Create a startup macro that includes this command:

Display Trend1 /ZA

where Trend1 is the name of the graphic display containing the real-time trend, and
/ZA is the parameter for loading the trend data into the data buffer.

Trend data will remain in the cache, and continue to update, until you run the
FlushCache command, or until you stop running the application.

2. When you want the real-time trend to become visible, run the following command:

Display Trend1

When the graphic display opens, the trend will contain data.