12.4.16    GOTODAQ

Description:   Changes display in current window.  

Syntax:

Tcl:               GOTODAQ argument
GOTODAQ $
variable

 

JScript:         GOTODAQ("argument");
GOTODAQ
(variable);

 

VB Script:      GOTODAQ "argument"
GOTODAQ
variable

 

Argument:     many listed in this subsection including ActionLog, AlarmLog, AlmGraph, AlmSummary, "Blockdetail=", "DLogTrd=", "Graph=", etc.
The argument string is not case sensitive.

Returns:        none

See Also:       GOTO, GOTOTAG, GOTO@TAG, GOTOALMGRA, SENDCMD, the following sections including: GOTODAQ ALMSUMMARY, GOTODAQ GRAPH, GOTODAQ DLOGTRD, GOTO URL daq

 

GOTODAQ changes the display in the current display window.  It will work in both Browser and ViewDAQ (local) clients. It is supported by tcl, JScript and VBScript.

To implement VBScript and JScript, the ACTION Command GOTO was changed to GOTODAQ. GOTO is still supported in Tcl Scripts only. GOTODAQ is recommended.

 

Examples:     

# Tcl

GOTODAQ ALMSUMMARY

GOTODAQ GRAPH=main.bgr

 

// JScript

GOTODAQ("ALMSUMMARY");

GOTODAQ("GRAPH=main.bgr");

 

Rem VB Script

GOTODAQ "ALMSUMMARY"

GOTODAQ "GRAPH=main.bgr;

GOTODAQ "URL=daq:dlogtrd=1#proj=LIVEDEMO&node=SCADANode1^target=pop1"

 

# tcl

set string1 "ALMSUMMARY"

GOTODAQ $string1

 

// JScript

var string1 = "GRAPH=main.bgr";

GOTODAQ(string1);

 

Rem VB Script

Dim string1

string1 ="URL=daq:dlogtrd=1#proj=LIVEDEMO&node=SCADANode1^target=pop1"

GOTODAQ string1

 

#TCL

SETVAL {textag1=main.bgr}

GOTODAQ GRAPH=@texttag1

 

// JScript

SETVAL{"textag1=main.bgr"};

GOTODAQ("GRAPH=@texttag1");

 

Rem VB Script

SETVAL "textag1=main.bgr"

GOTODAQ "GRAPH=@texttag1"