Data Logging Commands SECTION 6 Functions and Methods
101
Remarks
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", ItemList, "C:\Program
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.
6-16-8 StartAuditTrail
Syntax
returnstate = StartAuditTrail()
Remarks
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.
Argument Type Description
datasetname text Name of Data Set to open as text point or
constant.
item list string List of Items and/or Groups within the data set
to view, separated by commas
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.
sessionfile string 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.
Argument Type Description
returnstate bool Optional. 1 if the function is successful
otherwise 0.