OMRON
CHAPTER 6 – Functions and Methods
Revision 2.0
Page 109
Remarks
Argument Type
Description
datasetname
string
Name of Data Set to view as text point or constant.
item list
string
List of Items and/or Groups within the data set to view,
separated by commas
TextArray
string
array
A text point, which has an array size specified as 1 or more
elements. Each element holds an Item or Group name.
sessionfile
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.
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")
Содержание CX-SUPERVISOR - SCRIPT REFERENCE REV2.0
Страница 2: ...CX Supervisor Script Language Software Revision 2 0...
Страница 3: ......
Страница 5: ...CX Supervisor Script Language OMRON Page ii Revision 2 0...
Страница 7: ...CX Supervisor Script Language OMRON Page iv Revision 2 0...
Страница 9: ...CX Supervisor Script Language OMRON Page vi Revision 2 0...
Страница 13: ......
Страница 15: ...CHAPTER 1 Introduction OMRON Page 2 Revision 2 0...
Страница 19: ...CHAPTER 2 Expressions OMRON Page 6 Revision 2 0...
Страница 21: ...CHAPTER 3 Scripts OMRON Page 8 Revision 2 0...
Страница 151: ...CHAPTER 8 Colour Palette OMRON Page 138 Revision 2 0...