![background image](http://html1.mh-extra.com/html/omron/cx-supervisor-script-reference-rev2-0/cx-supervisor-script-reference-rev2-0_reference-manual_744212121.webp)
CHAPTER 6 – Functions and Methods
OMRON
Page 108
Revision 2.0
ItemList[0] = "Altitude"
ItemList[1] = "Fuel"
ItemList[2] = "Burning"
ItemList[3] = "List"
ItemList[4] = "Group 1"
ExportAndViewLog("Balloon", ItemList, "CSV-BDTM", 0, "output")
All these commands will export all the data in the specified file, for the named data set to the named
output file, in the format specified.
OpenLogFile
Syntax
returnstate = OpenLogFile("datasetname”)
or
returnstate = OpenLogFile("databaselink")
Remarks
Argument Type
Description
returnstate
bool
Optional. 1 if the function is successful otherwise 0
datasetname
text
Name of Data Set to open as text point or constant.
databaselink
text
Name of Database link to open as text point or constant.
Typical Example
OpenLogFile("Balloon")
This command will open the log file, ready to start logging. As the function is disk intensive it
should not be called frequently.
OpenLogView
Syntax
OpenLogView("datasetname", "item list", sessionfile)
or
OpenLogView("datasetname", TextArray, sessionfile)
Содержание 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...