Graph Commands Appendix D Obsolete Features
148
D.4 Graph Commands
D.4.1 ClearGraph
Syntax
returnstate = ClearGraph("graphid", "pagename")
Remarks
Typical Examples
ClearGraph("Graph_1", "TestPage1")
The trend or scatter graph on 'TestPage1' with the identifier 'Graph_1' has its
data cleared.
ClearGraph ("Graph_2")
The trend or scatter graph on the current page, with the identifier 'Graph_2',
has its data cleared.
D.4.2 StartGraph
Syntax
returnstate = StartGraph("graphid", "pagename")
Remarks
Typical Examples
StartGraph("Graph_1", "TestPage1")
The trend or scatter graph on 'TestPage1' with the identifier 'Graph_1' has its
data logging started.
StartGraph("Graph_2")
The trend or scatter graph on the current page with the identifier 'Graph_2' has
its data logging started.
D.4.3 StopGraph
Syntax
returnstate = StopGraph("graphid", "pagename")
Argument Type Description
returnstate bool Returnstate is '1' if the function is successful, or
'0' otherwise.
graphid string The identifier of the trend or scatter graph to be
cleared.
pagename string Optional parameter indicating the name of the
page that the graph is on.
Argument Type Description
returnstate bool Returnstate is '1' if the function is successful, or
'0' otherwise.
graphid string The identifier of the trend or scatter graph to be
started.
pagename string Optional parameter indicating the name of the
page that the graph is on.
Note: This command is provided for compatibility with SCS v2.0 applications. For
newer applications the data logging facilities should be used in preference.