Greetings,
I've been using Advanced HMI for some time now and I love it. However, I'm struggling with an issue. I have a 5 form application in VB and I have a tool on each page that uses the GetTagList function, but it only works the first time I use it. Basically, no matter which for I am using, the GetTagList command doesn't work once I've used it once (on any page).
Here is the code I am using currently.
Try
Dim tags() As MfgControl.AdvancedHMI.Drivers.CLXTag = Me.EthernetIPforCLXCom1.GetTagList
Dim TagIndex As Integer = 0
For Each TagID In tags
Me.ListBox1.Items.Add(tags(TagIndex).TagName & " " & tags(TagIndex).Instance)
TagIndex = TagIndex + 1
Next
Me.ListBox1.Sorted = True
Me.ListBox1.SelectionMode = SelectionMode.MultiExtended
ListBox1.TopIndex = 0
Catch ex As Exception
MsgBox(ex.Message)
End Try
Any suggestions would be helpful. I can still use the EthernetIPforCLXCom1.Read() on all the pages without issues. But not the GetTagList. So it appears as though the driver is still working. Maybe the issue is me haha.
thanks!
Justin