Data Logging Commands SECTION 6 Functions and Methods
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.
6-16-3 CloseLogView
Syntax
CloseLogView("datasetname")
Remarks
Typical Example
CloseLogView("Process 1")
This command will close the Data Log Viewer, which is displaying the named
data set.
6-16-4 ExportAndViewLog
Syntax
ExportAndViewLog ("datasetname", "item list",
"format", file, outputfile)
or
ExportAndViewLog ("datasetname", TextArray, "format", file, outputfile)
Remarks
Argument Type Description
datasetname text Name of Data Set to close as text point or
constant.
Argument Type Description
datasetname text Name of Data Set to close 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.