CimDatabase.AddDefaultLogging (method)

Adds a point/alarm/event to an appropriate default log.
Syntax: object.AddDefaultLogging TableItemID, defaultType
Parameters:
TableItemID As String - The name of the point/alarm/event to add to one of the default tables
defaultType As CimDefaultTables - The type of default table
Description: The CimDatabase.AddDefaultLogging method allows you to quickly add a point, event, or alarm to one of the default tables with default logging conditions.

Example

Dim database As New CimDatabase
AddDefaultLogging "POINT1", cimDATA_LOG
AddDefaultLogging "ALARM1", cimALARM_LOG
AddDefaultLogging "EVENT1", cimEVENT_LOG