Closelogview; Exportandviewlog - Omron CX-Supervisor Reference Manual

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

Advertisement

Data Logging Commands

6-16-3 CloseLogView

6-16-4 ExportAndViewLog

98
Typical Example
CloseLogFile("Process 1")
This command will close the active log file for the data set. Logging for this
data set is automatically stopped.
Syntax
CloseLogView("datasetname")
Remarks
Argument
Type
datasetname
text
Typical Example
CloseLogView("Process 1")
This command will close the Data Log Viewer, which is displaying the named
data set.
Syntax
ExportAndViewLog
"format", file, outputfile)
or
ExportAndViewLog ("datasetname", TextArray, "format", file, outputfile)
Remarks
Argument
Type
datasetname
text
item list
string
TextArray
string
array
format
string
file
integer
outputfile
string
SECTION 6 Functions and Methods
Description
Name of Data Set to close as text point or
constant.
("datasetname",
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.
File name for output file. May include full path,
which will be created automatically if it does not
exist.
"item
list",

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents