AdvancedHMI Software

General Category => Support Questions => Topic started by: GeekPaul on February 22, 2016, 10:01:10 AM

Title: Trying v399b from scratch, IPAddress property problem
Post by: GeekPaul 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.
Title: Re: Trying v399b from scratch, IPAddress property problem
Post by: Archie 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?
Title: Re: Trying v399b from scratch, IPAddress property problem
Post by: GeekPaul on February 22, 2016, 10:49:02 AM
VS2012 Express
Title: Re: Trying v399b from scratch, IPAddress property problem
Post by: Archie 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?
Title: Re: Trying v399b from scratch, IPAddress property problem
Post by: GeekPaul 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!!
Title: Re: Trying v399b from scratch, IPAddress property problem
Post by: GeekPaul on February 22, 2016, 12:06:03 PM
Screenshot.....
Title: Re: Trying v399b from scratch, IPAddress property problem
Post by: Archie 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.
Title: Re: Trying v399b from scratch, IPAddress property problem
Post by: Archie on February 22, 2016, 09:47:17 PM
Version 3.99c has been posted. See if that version makes any difference.
Title: Re: Trying v399b from scratch, IPAddress property problem
Post by: GeekPaul 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.