Exportlog - Omron CX-Supervisor Reference Manual

Script language reference
Hide thumbs Also See for CX-Supervisor:
Table of Contents

Advertisement

Data Logging Commands

6-16-5 ExportLog

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")
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 (as per ExportLog). It
then launches an appropriate viewer to display the file, using the Windows file
associations.
Syntax
ExportLog ("datasetname", "item list", "format", file,
outputfile)
or
ExportLog ("datasetname", TextArray, "format", file,
outputfile)
Remarks
Argument
Type
datasetname
text
item list
string
TextArray
string
array
format
string
file
integer
SECTION 6 Functions and Methods
Description
Name of Data Set to close as text point or
constant.
List of Items and/or Groups within the data set
to export, separated by commas. Alternatively
use "*" to export all.
A text point, which has an array size specified
as 1 or more elements . Each element holds
an Item or Group name.
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
Number of file to export where 0 is the latest
(active) file, 1 is the previous file etc.
99

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents