Graph Commands; Cleargraph; Startgraph; Stopgraph - Omron CX-Supervisor Reference Manual

Script language reference
Hide thumbs Also See for CX-Supervisor:
Table of Contents

Advertisement

Graph Commands

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents