AdvancedHMI Software
General Category => Support Questions => Topic started by: paintman on June 07, 2024, 11:07:16 AM
-
Not sure if there is a way to do this, but I was curious if it was possible to be able to download the tag list itself.
I am currently working on a project which would be used for AB/Omron/Siemens to integrate fastec as a data monitoring system. The only problem is these machines are proprietary and I am unable to look at the tag names to reference them using AHMI, so I was hoping there would be a way to pull the tag names themselves into say a text document or a spreadsheet.
Does anyone have any ideas?
-
You can probably only do this with AB, not sure about Omron. See if this post helps:
https://www.advancedhmi.com/forum/index.php?topic=3266.msg18519#msg18519
-
With AB I linked this to a button click (BtnReadTags) event then populated a combo box (CBTags) with all of the tag names
Private Sub BtnReadTags_Click(sender As Object, e As EventArgs) Handles BtnReadTags.Click
Try
Dim tags() As MfgControl.AdvancedHMI.Drivers.CLXTag = SeeThruForm.EthernetIPforCLXCom1.GetTagList
Dim TagIndex As Integer = 0
For Each TagID In tags
CBTags.Items.Add(tags(TagIndex).TagName)
TagIndex = TagIndex + 1
Next
CBTags.Sorted = True
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub