Data Logging Commands SECTION 6 Functions and Methods
102
6-16-9 StopAuditTrail
Syntax
StopAuditTrail()
Typical Example
StopAuditTrail()
This command will stop the current audit trail logging and close the audit trail
database.
6-16-10 StartLogging
Syntax
returnstate = StartLogging("datasetname")
or
returnstate = StartLogging("databaselink")
Remarks
Typical Example
StartLogging("Process 1")
This command will start logging of all items in the named data set. If the file is
closed it will be automatically opened.
6-16-11 StopLogging
Syntax
returnstate = StopLogging("datasetname")
or
returnstate = StopLogging("databaselink")
Remarks
Typical Example
StopLogging("Process 1")
This command will stop logging of all items in the named data set.
Argument Type Description
returnstate bool Optional. 1 if the function is successful
otherwise 0
datasetname text Name of Data Set to open as text point or
constant.
databaselink text Name of Database link to start logging as text
point or constant.
Argument Type Description
returnstate bool Optional. 1 if the function is successful
otherwise 0
datasetname text Name of Data Set to open as text point or
constant.
databaselink text Name of Database link to stop logging as text
point or constant.