• Not Answered

VB Accessing Module Name

I'm trying to access the Module name in a script by clicking on an active alarm in the alarm list and then pressing a button I added on the top menu bar.

I tried:

Dim modName As String

modName  = frsReadValue("DVSYS.THISNODE/MODULE/DESC.A_TAG")

MsgBox modName

But the MsgBox only shows the Node Name of the alarm I clicked. I cannot seem to have the message box display the Module name of the Alarm I clicked in the Alarm List.

FYI, I'm not just using the Module name to display in a MsgBox. I just using to MsgBox to see if the script works.

I also know you can display the Module Name in the Alarm List for the particular alarm. I just need the module name for some other VB function.

Please let me know the syntax to access the Module name. Thanks in advance.

1 Reply