Author Topic: Windows 7 and AdvancedHMI  (Read 3137 times)

gbradley

  • Newbie
  • *
  • Posts: 10
    • View Profile
Windows 7 and AdvancedHMI
« on: November 18, 2014, 03:40:40 PM »
I have a simple application that was running great on my old WindowsXP laptop, but when I installed it on a new Windows 7  Thinkpad machine, I get Communication issues.
Version 3.5.8
The error across the screen is Send QueFull may have lost connection.
In the Internet Protocol section of the Laptop, I change the IP address on Version 4 (TCP/IPv4) to XX.XX.X.1
The laptop connects to the Compactlogix fine, but I wasn't sure if there is something that I should do differently with Win 7 compared to XP?
The Windows XP laptop connects fine using the same AdvancedHMI Shortcut.
Thanks for any suggestions

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Windows 7 and AdvancedHMI
« Reply #1 on: November 18, 2014, 03:59:50 PM »
My guess is the new PC is faster and surfaced a problem with the faster requests. The Send Que full occurs when requests are made faster than the PLC can respond.

I do not know in that version, but there may be a fix to help. Open EthernetIPforCLXCom.vb and search for "Me.BeginRead". If you find it, then remove the word "Begin " and see if that resolves the problem.


gbradley

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Windows 7 and AdvancedHMI
« Reply #2 on: November 19, 2014, 01:32:05 PM »
I looked at the code, and there is a "Me.Read", but no "Me.BeginRead" that I could find.
     '23-OCT-11 Moved before the next 4 lines
                                    Me.Read(GroupedSubscriptionReads(i).TagName, GroupedSubscriptionReads(i).NumberToRead)
                                    'elapsed = timer.ElapsedMilliseconds

The laptop communicates fine through RSLinx AB_ETHIP, so I don't think that it is my IP settings, but I'm not sure.
What I am not familiar with is the fact that the there are two Internet Protocols:
Internet Protocol Version 6 (TCP/IPv6), and  Internet Protocol Version 4 (TCP/IPv4)
I have not been changing the  Internet Protocol Version 6 (TCP/IPv6)



Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Windows 7 and AdvancedHMI
« Reply #3 on: November 19, 2014, 04:15:40 PM »
Are you doing any read/writes in code?

gbradley

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Windows 7 and AdvancedHMI
« Reply #4 on: November 19, 2014, 04:49:48 PM »
No read Writes, just monitoring N values and B3 bits

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Windows 7 and AdvancedHMI
« Reply #5 on: November 19, 2014, 05:23:24 PM »
Try putting a 500 in the PollRateOverride of the EthernetIPforCLXCom1

gbradley

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Windows 7 and AdvancedHMI
« Reply #6 on: November 20, 2014, 10:20:12 AM »
Awesome!
I changed it to 500
  '* Avoid a 0 poll rate
        If PollRate <= 0 Then
            PollRate = 500
        End If
and it seemed to work.
Thanks
You Rock!