Quantcast
Channel: OSIsoft Users Community
Viewing all articles
Browse latest Browse all 1120

VBA Processbook to get tagname of Composite symbol

$
0
0

Hi Community,

I have a composite symbol that has 6 differents symbols(some of them are multistate symbols), I cant figure out how to get the tag/dataset of the multistate-symbols inside of the composite symbol, this is my vb.net code snippet that i currenlty working on:

 For I = 1 To frmPIEXPORT.piBook.Displays.Count
  For j = 0 To frmPIEXPORT.piBook.Displays.Item(I).Symbols.Count - 1
   ...
    isMulti = frmPIEXPORT.piBook.Displays.Item(I).Symbols(j).IsMultiState
    ....
    If isMulti Then
                    MState = frmPIEXPORT.piBook.Displays.Item(I).Symbols(j).GetMultiState()
                    
   End If

  Next
 Next

Hope you can help me


Viewing all articles
Browse latest Browse all 1120

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>