Graph Commands Appendix D Obsolete Features
150
D.4.5 SaveGraph
Syntax
returnstate = SaveGraph("graphid")
Remarks
Typical Examples
SaveGraph("Graph_1", "TestPage1")
The trend graph on the page 'TestPage' with the identifier 'Graph_1' has its
data saved to disc.
SaveGraph("Graph_2")
The trend graph on the current page with the identifier 'Graph_2' has its data
saved to disc.
D.4.6 Snapshot
Syntax
returnstate = Snapshot("graphid", "pagename")
Remarks
Typical Examples
Snapshot("Graph_1", "TestPage1")
The current data in trend graph 'Graph1' on 'TestPage1', is stored and is able
to be viewed via the EditGraph command.
Snapshot("Graph_2")
The current data in trend graph 'Graph1' on the current page, is stored and is
able to be viewed via the EditGraph command.
D.4.7 GetPointValue
Syntax
returnpoint = GetPointValue(pointname,offset)
Remarks
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
saved.
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
have the snapshot.
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.