In RsView 32 it was easy to change the description of a tag in the tag database with a VB Macro like this
'Set description of the specified tag
Sub SetDesc(aTagLabel As String, aDesc As String)
Dim pTag As Tag
'Will prompt if the get tag goes wrong (e.g. bad label)
On Error GoTo errorHandler
Set pTag = gTagDb.GetTag(aTagLabel)
'Set description of the specified tag
pTag.Description = aDesc
pTag.WriteConfiguration
Set pTag = Nothing
Exit Sub
errorHandler:
MsgBox (Err.Description)
Err.Clear
End Sub
but its doesn't work anymore since RsView Se 4
im wondering if there is a way to change the description of a tag while online in with Factory Talk View SE 5
so the user can change the alarm description while the client is running whitout having to get in to edit mode
'Set description of the specified tag
Sub SetDesc(aTagLabel As String, aDesc As String)
Dim pTag As Tag
'Will prompt if the get tag goes wrong (e.g. bad label)
On Error GoTo errorHandler
Set pTag = gTagDb.GetTag(aTagLabel)
'Set description of the specified tag
pTag.Description = aDesc
pTag.WriteConfiguration
Set pTag = Nothing
Exit Sub
errorHandler:
MsgBox (Err.Description)
Err.Clear
End Sub
but its doesn't work anymore since RsView Se 4
im wondering if there is a way to change the description of a tag while online in with Factory Talk View SE 5
so the user can change the alarm description while the client is running whitout having to get in to edit mode