CimTable.SetGroupLogPointAttrib (method)

Sets the logging attributes for a given point in a group log.
Syntax: object.SetGroupLogPointAttrib pointID, nAttribs
Parameters:
pointID As String - The name of the point whose logging attributes are to be set
nAttribs As long - The set of logging attributes
Description: The CimTable.SetGroupLogPointAttrib method allows you to set which attributes to log for a specific point in a group log.

Note: This method is only valid for group tables.

Example

' Sets cimRawValue if not already set
Dim database As New CimDatabase
Dim GrpTable As CimTable
Set GrpTable = database.GetTable ("GRP_TABLE")
Dim attribs As Long
attribs = GrpTable.GetGroupLogPointAttrib("POINT2")
If (NOT (attribs And cimRawValue)) Then
    GrpTable.SetGroupLogPointAttrib "POINT2", (attribs OR cimRawValue)
End If