Author Topic: GetTagList errors with "Error from Get Attribure List"  (Read 2383 times)

sramirez

  • Newbie
  • *
  • Posts: 18
    • View Profile
GetTagList errors with "Error from Get Attribure List"
« on: January 26, 2023, 08:48:07 AM »
After upgrading to 3.9.9.2538 (AdvancedHMI399yBeta38), I am getting this error when running GetTagList

Dim EthernetIPforCLXCom1 As New AdvancedHMIDrivers.EthernetIPforCLXCom

        With EthernetIPforCLXCom1
            .IPAddress = "192.168.1.9"
            .PollRateOverride = 1000
            .ProcessorSlot = 0
        End With
        Dim AllTags() As AdvancedHMI.Drivers.CLXTag = EthernetIPforCLXCom1.GetTagList

The stack trace is as follows:
"   at MfgControl.AdvancedHMI.Drivers.CIP.CLXTemplateObject.ParseGetAttributeListResponse(Byte[] data)" & vbCrLf & "   at MfgControl.AdvancedHMI.Drivers.CIP.CLXTemplateObject..ctor(Byte[] data)" & vbCrLf & "   at MfgControl.AdvancedHMI.Drivers.CIP.CIPforCLX.GetUDTInfo(UInt16 dataType, UInt16 sequenceNumber, Int64 ownerObjectID)" & vbCrLf & "   at MfgControl.AdvancedHMI.Drivers.CIP.CIPforCLX.GetCLXTags(Int32 timeout, Int32 transactionNumber, Int64 ownerObjectID)" & vbCrLf & "   at MfgControl.AdvancedHMI.Drivers.EthernetIPforCLX.GetTagList(Int32 timeOut)" & vbCrLf & "   at MfgControl.AdvancedHMI.Drivers.EthernetIPforCLX.GetTagList()" & vbCrLf & "   at Test_AdvancedHMI_GetTagList.Form1.Button1_Click(Object sender, EventArgs e) in C:\git\Framework\Framework_Dev_Line4\Test_AdvancedHMI_GetTagList\Form1.vb:line 12"

I am not sure what to try...
Thanks,
Shawn R

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: GetTagList errors with "Error from Get Attribure List"
« Reply #1 on: February 01, 2023, 05:17:01 PM »
Did the same code work in a previous version?

sramirez

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: GetTagList errors with "Error from Get Attribure List"
« Reply #2 on: February 06, 2023, 11:21:03 AM »
In the previous version it did not error. 

However, in the previous version I was not able to use the TreeNode code (https://www.advancedhmi.com/forum/index.php?topic=2670.msg16853#msg16853) because the CLXTemplateObject was not found.

That was why I upgraded.

Thanks for any help you can give me.
Shawn R