Author Topic: Trying v399b from scratch, IPAddress property problem  (Read 1782 times)

GeekPaul

  • Newbie
  • *
  • Posts: 5
    • View Profile
Trying v399b from scratch, IPAddress property problem
« on: February 22, 2016, 10:01:10 AM »
I have used AdvancedHMI several times before, and enjoy it very much. I'm excited to download the lasted version and give it a try.
I was showing a friend how to start from scratch and ran in to an error on v399b.
Tried again on with 399a and worked ok.

Do we have a bad declaration in v399b? This screen shot from 399a looks different in 399b.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Trying v399b from scratch, IPAddress property problem
« Reply #1 on: February 22, 2016, 10:47:00 AM »
Some problems were just discovered with the CLX driver in 3.99b and being worked on now. Which version of Visual Studio are you using?

GeekPaul

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Trying v399b from scratch, IPAddress property problem
« Reply #2 on: February 22, 2016, 10:49:02 AM »
VS2012 Express

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Trying v399b from scratch, IPAddress property problem
« Reply #3 on: February 22, 2016, 10:57:04 AM »
I just did a quick test with VS2013 using Version 3.99b and it worked. This is what I did:

- Add an EthernetIPforCLXCom to the form
- Set the IPAddress property to 192.168.0.11
- Add a BasicLabel to the form
- Set the PLCAddressValue property to DINTTag
- Ran the application

There should be no difference between 2012 and 2013. The biggest problems found so far are with 2015

What is the error you are getting?

GeekPaul

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Trying v399b from scratch, IPAddress property problem
« Reply #4 on: February 22, 2016, 12:05:23 PM »
I did the same. Didn't work.
Try downloading from Sourceforge and do the same thing.

See screenshots.....
Commented out part looks like the problem.

Thanks!!

GeekPaul

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Trying v399b from scratch, IPAddress property problem
« Reply #5 on: February 22, 2016, 12:06:03 PM »
Screenshot.....

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Trying v399b from scratch, IPAddress property problem
« Reply #6 on: February 22, 2016, 01:41:13 PM »
I downloaded from SourceForge and tried the same test. It still worked for me. The only difference is that I am using VS2013. I will continue to work with this to try to figure it out.

Just for the record, the reason you see such a difference in the source file is because the driver has been changed to a new architecture to support .NET 4.6.2 and eventually Universal Apps on Windows 10. So this change in architecture may have a few bumps until it is all worked out.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Trying v399b from scratch, IPAddress property problem
« Reply #7 on: February 22, 2016, 09:47:17 PM »
Version 3.99c has been posted. See if that version makes any difference.

GeekPaul

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Trying v399b from scratch, IPAddress property problem
« Reply #8 on: February 23, 2016, 06:14:20 AM »
I downloaded and tried v3.99c. The problem did not show up when changing the IP address, like shown in the screenshot from v3.99b.
Thank you for the fix, hard work, and explaining how the changes and updates look in code.