OpenTrend Function

Help Contents

Introduction

Opens a preconfigured trend.

Syntax

Informal Syntax:

OpenGraphic( TagName )

Formal Syntax:

OpenGraphic( TagName:=Expression )

Parameters

ParameterTypeDescription
TagName ANY_STRING The name of the Trend Plot Tag to open. The name can be the full name of the tag or a relative tag name.

Return Value

None.

Remarks

The OpenTrend function displays a preconfigured trend. The exact behavior varies according to the context:

If the OpenTrend call is made from a Graphic Page Tag you can use a relative tag name for the TagName parameter. A relative tag name is a name relative to the host document. For more information on how relative names are resolved see Tag References.

A program or script will not execute any statements after the OpenTrend call.

Examples

  1. Display the trend plot 'Storage.TankLevel':
    OpenTrend( "Storage.TankLevel" );

Further Information

Operator Actions

To learn where you can use this function.

Structured Text Function Call

To learn about calling a function from IEC 61131-3 structured text.

IEC 61131-3 Expressions

To learn about the different types of expression to use as function parameters.

Glossary

For the meaning of terms used in Fernhill SCADA.