![background image](http://html1.mh-extra.com/html/omron/cx-supervisor-script-reference-rev2-0/cx-supervisor-script-reference-rev2-0_reference-manual_744212119.webp)
CHAPTER 6 – Functions and Methods
OMRON
Page 106
Revision 2.0
ExportAndViewLog ("datasetname", TextArray, "format", file,
outputfile)
Remarks
Argument Type
Description
datasetname
string
Name of Data Set to export as text point or constant.
item list
string
List of Items and/or Groups within the data set to export,
separated by commas. Alternatively use “*” to export all.
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.
format
string
Either “CSV” or “Text” to specify output format. May include
suffix ‘-‘ followed by:
B to exclude break information
D to exclude the log date
T to exclude the log time
M to exclude to log milliseconds
G to not Group ‘On Change’ data together
file
integer
Number of file to export where 0 is the latest (active) file, 1 is
the previous file etc.
outputfile
string
File name for output file. May include full path, which will be
created automatically if it does not exist.
All these arguments are optional, and may be omitted provided there are no further arguments i.e. to
specify the ‘format’, ‘datasetname’ and ‘item list’ must be included but ‘file’ and ‘output’ may be
omitted.
Typical Examples
ExportAndViewLog("Balloon", "*")
or
ExportAndViewLog("Balloon", "Altitude,Fuel,Burning,Lift,Group 1",
"CSV-BDTM", 0, "output")
or
ItemList[0] = "Altitude"
ItemList[1] = "Fuel"
ItemList[2] = "Burning"
ItemList[3] = "List"
ItemList[4] = "Group 1"
ExportAndViewLog("Balloon", ItemList, "CSV-BDTM", 0, "output")
Содержание 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...