OMRON
Remarks
Argument
datasetname
item list
TextArray
sessionfile
Typical Example
OpenLogView("Balloon", "Altitude,Fuel,Burning,Lift,Group 1")
or
ItemList [0] = "Altitude"
ItemList [1] = "Fuel"
ItemList [2] = "Burning"
ItemList [3] = "Lift"
ItemList [4] = "Group 1"
OpenLogView("Balloon", ItemList)
Both these commands will open the Data Log Viewer, and load the Balloon log file, and show the
named items.
OpenLogView("Balloon", ItemList, "C:\Program Files\Omron\CX-
SUPERVISOR\App\MySessionInfo.txt")
This command will open the Data Log Viewer and Balloon log file as above but the Data Log Viewer
will always appear in the same position, and with the same settings – not as it was last shown.
StartLogging
Syntax
returnstate = StartLogging("datasetname")
or
returnstate = StartLogging("databaselink")
Revision 2.0
Type
string
Name of Data Set to view as text point or constant.
string
List of Items and/or Groups within the data set to view,
separated by commas
string
A text point, which has an array size specified as 1 or more
array
elements. Each element holds an Item or Group name.
string
Optional filename of session information file. The Data Log
Viewer is shown with the session settings (e.g. Window
position, size, colours, grid options etc. stored in the session
file. If omitted, the previous settings are used.
CHAPTER 6 – Functions and Methods
Description
Page 109
Need help?
Do you have a question about the CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 and is the answer not in the manual?
Questions and answers