Startaudittrail - Omron CX-Supervisor Reference Manual

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

Advertisement

Data Logging Commands

6-16-8 StartAuditTrail

Remarks
Argument
Type
datasetname
text
item list
string
TextArray
string
array
sessionfile
string
Typical Example
OpenLogView("Balloon",
"Altitude,Fuel,Burning,Lift,Group 1")
or
ItemList [0] = "Altitude"
ItemList [1] = "Fuel"
ItemList [2] = "Burning"
ItemList [3] = "Lift"
ItemList [4] = "Group 1"
OpenLogView("Balloon", ItemList)
Both these commands will open the Data Log Viewer, and load the Balloon log
file, and show the named items.
OpenLogView("Balloon",
Files\Omron\CX-SUPERVISOR\App\MySessionInfo.txt")
This command will open the Data Log Viewer and Balloon log file as above but
the Data Log Viewer will always appear in the same position, and with the
same settings - not as it was last shown.
Syntax
returnstate = StartAuditTrail()
Remarks
Argument
Type
returnstate
bool
Typical Example
StartAuditTrail()
This command will start audit trail logging of all items configured to be logged
into the audit trail database, based on the chosen target (i.e. Microsoft Access
or SQL). By default, data will be appended to the audit trail database if one
already exists, otherwise a new database will be created. The 'Audit Trail
Configuration' dialog can be used to configure how audit trail data is logged to
a Microsoft Access or SQL database.
SECTION 6 Functions and Methods
Description
Name of Data Set to open as text point or
constant.
List of Items and/or Groups within the data set
to view, separated by commas
A text point, which has an array size specified
as 1 or more elements. Each element holds an
Item or Group name.
Optional filename of session information file.
The Data Log Viewer is shown with the session
settings (e.g. Window position, size, colours,
grid options etc. stored in the session file. If
omitted, the previous settings are used.
ItemList,
Description
Optional. 1 if the function is successful
otherwise 0.
"C:\Program
101

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents