12.4.18     GOTOTAG

Description:   Changes display in current window to a display containing the referenced tag.  Similar to "Point GOTO Dialog Box" in WebAccess. Same as GOTO@TAG.

Syntax:

Tcl:               GOTOTAG tagname=display_type

JScript:         GOTOTAG ("tagname=display_type");

VB Script:      GOTOTAG "tagname=display_type"

 

Argument:     tagname, display type

Returns:        none

See Also:       GOTODAQ, GOTO, GOTOALMGRA

 

Changes the display in the current display window to a display using the referenced tag.  This command provides the functions of the "Point GOTO  Dialog Box" in WebAccess.   It allows a user to call up a display, not knowing its name, but only knowing it displays the tag.

IF THE TAG IS NOT ON THE DISPLAY TYPE REFERENCED, THE CALL DOES NOT CHANGE THE DISPLAY.

If tag is in multiple displays of same type (e.g. multiple *.bgr), then the first display alphabetically will be displayed.  The OPTIONS are not case sensitive.

This command is available in screen scripts only . It will work in both web browser VIEW and ViewDAQ (local) clients.  

Options: Display Types

ALMGROUP

ALMSUMMARY

BLOCKDTL

DLOGTRD

DLOGXYP

FPLGROUP

GRAPH

OVERVIEW

POINTDTL

REALTRD

REALXYP

RECIPE

 

Examples:     

# tcl

# example 1 - call first display using tag FAN_START101

GOTOTAG FAN_START101=graph

 

# tcl

# example 2 - if tag is on the alarm summary, 

# then display the alarm summary

GOTOTAG FAN_START101=almsummary

 

// JScript

// example 1 - call first display using tag FAN_START101

GOTOTAG("FAN_START101=graph");

 

Rem VB Script

Rem example 1 - call first display using tag FAN_START101

GOTOTAG "FAN_START101=graph"

 

Alternatives:

# tcl

set string1 "FAN_START101=graph"

GOTODAQ $string1

 

// JScript

var string1 = "FAN_START101=graph";

GOTOTAG(string1);

 

Rem VB Script

Dim string1

string1 = "FAN_START101=graph"

GOTODAQ string1