StandardTagMenu Function

Help Contents

Introduction

Displays the standard tag menu.

Syntax

Informal Syntax:

StandardTagMenu( TagName, MenuOptions )

Formal Syntax:

StandardTagMenu( TagName:=Expression, MenuOptions:=Expression )

Parameters

ParameterTypeDescription
TagName ANY_STRING The name of the tag used to build the standard tag menu. This parameter can be:
  • An absolute tag reference, for example "Main Pressure Vessel.Temperature".
  • A relative tag reference to the host tag, for example ".Pressure".
MenuOptions ANY_STRING An optional comma separated list of keywords defining which options to include in the menu. Valid keywords are:
  • TagFileCommands
  • TagShowOptions
  • TagCommands
If this parameter is an empty string the menu will include all options.

The StandardTagMenu function opens a Standard Tag Menu.

The menu entries shown in the menu are dependent on:

For information about how the TagName and MenuOptions parameters are used, see Standard Tag Menu.

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

Return Value

None.

Example

Displays the standard tag menu (with all options enabled) for the tag 'Storage.TankLevel':

StandardTagMenu( "Storage.TankLevel", "" );

Further Information

Operator Actions

To learn where you can use this function.

Standard Tag Menu

To learn about the standard tag menu.

Glossary

For the meaning of terms used in Fernhill SCADA.