APPENDIX D – Obsolete Features
OMRON
Page 164
Revision 2.0
♦
Display Data
loads the currently selected data sample i.e. either the current screen data or a
snapshot of the data, into the trend graph.
♦
Snapshot
stores the current data buffer associated with the trend graph. The snapshot is given a
time stamped default description.
♦
Description
provides the ability to change the description associated with the snapshot.
♦
Import Data
provides the ability to load in a previously saved trend graph file.
♦
Export Data
provides the ability to store a snapshot to a file, either in internal CX-Supervisor
format, or as a text file that can be imported into other applications.
♦
Delete
removes the currently selected snapshot.
Note:
This command is provided for compatibility with SCS v2.0 applications. For newer
applications the data logging facilities should be used in preference.
Note:
This command can only be used if the trend is set to log to a file.
SaveGraph
Syntax
returnstate = SaveGraph(“graphid”)
Remarks
Argument Type
Description
returnstate
bool
Returnstate
is ‘1’ if the function is successful, or ‘0’ otherwise.
graphid
string
The identifier of the trend to be saved.
pagename
string
Optional
parameter indicating the name of the page that the
graph is on.
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.
Snapshot
Syntax
returnstate = Snapshot(“graphid”, “pagename”)
Summary of Contents for CX-SUPERVISOR - SCRIPT REFERENCE REV2.0
Page 2: ...CX Supervisor Script Language Software Revision 2 0...
Page 3: ......
Page 5: ...CX Supervisor Script Language OMRON Page ii Revision 2 0...
Page 7: ...CX Supervisor Script Language OMRON Page iv Revision 2 0...
Page 9: ...CX Supervisor Script Language OMRON Page vi Revision 2 0...
Page 13: ......
Page 15: ...CHAPTER 1 Introduction OMRON Page 2 Revision 2 0...
Page 19: ...CHAPTER 2 Expressions OMRON Page 6 Revision 2 0...
Page 21: ...CHAPTER 3 Scripts OMRON Page 8 Revision 2 0...
Page 151: ...CHAPTER 8 Colour Palette OMRON Page 138 Revision 2 0...