Omron CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 Reference Manual page 119

Script language
Table of Contents

Advertisement

CHAPTER 6 – Functions and Methods
ExportAndViewLog ("datasetname", TextArray, "format", file,
outputfile)
Remarks
Argument
datasetname
item list
TextArray
format
file
outputfile
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")
Page 106
Type
string
Name of Data Set to export as text point or constant.
string
List of Items and/or Groups within the data set to export,
separated by commas. Alternatively use "*" to export all.
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
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
integer
Number of file to export where 0 is the latest (active) file, 1 is
the previous file etc.
string
File name for output file. May include full path, which will be
created automatically if it does not exist.
Description
Revision 2.0
OMRON

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 and is the answer not in the manual?

This manual is also suitable for:

Cx-supervisor 2.0

Table of Contents