beautypg.com

Ensuring real-time trends have data – Rockwell Automation 9301 Series RSView32 Users Guide User Manual

Page 497

background image

13–26

RSView32 User’s Guide

Ensuring real-time trends have data

Real-time trends collect data only while the trend is displayed. This
means that a trend will not contain any data when it starts. To ensure a
trend contains data once it has started, keep the trend updating in the
background by loading it into the display cache.

Example: Ensuring a real-time trend has data

1.

Create a startup macro that includes this command:

Display Trend1 /ZA

where Trend1 is the name of the display containing the real-time
trend, and /ZA is the parameter for loading the display into the
display cache (but not making it visible) and continually updating
the display even when it is not visible.

The display is loaded when you start the project and remains in the
cache until you use the FlushCache command or stop running the
project.

2.

When you want the real-time trend to become visible, specify the
following command:

Display Trend1

Trend1 will then be displayed in the foreground and will contain
data.