Author Topic: 3.69 to 3.99  (Read 2413 times)

KariM

  • Newbie
  • *
  • Posts: 33
    • View Profile
3.69 to 3.99
« on: September 23, 2015, 05:19:40 AM »
Hi
What is good way to update my existing HMI-project to new version of AHMI?
I am using VS community 2013.
« Last Edit: September 23, 2015, 05:48:14 AM by KariM »

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI

KariM

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: 3.69 to 3.99
« Reply #2 on: September 23, 2015, 08:26:59 AM »
Hi Archie
At first look, seems lot of replacing to do.
Must think, is updating good idea.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: 3.69 to 3.99
« Reply #3 on: September 23, 2015, 09:37:21 AM »
You will need to do a Search & Replace for every different visual control you use since all of their namespaces were moved as of version 3.80. Some of the property names were changed, so you will have to go to each error and fix. It all really depends on how many different controls you have in your app and how big your app is. It generally takes me any where from 5 to 30 minutes to do an upgrade.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: 3.69 to 3.99
« Reply #4 on: September 23, 2015, 09:44:11 AM »
Must think, is updating good idea.
It all really depends on whether you need the bug fixes and access to the new controls. If an app is running stable and you don't need the new controls, sometimes it is better to leave the app and just use the latest version for new projects.

KariM

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: 3.69 to 3.99
« Reply #5 on: September 24, 2015, 12:57:18 AM »
Hi
I dont know is 175 I/O points, 30 REAL-type data much.?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: 3.69 to 3.99
« Reply #6 on: September 24, 2015, 07:00:29 AM »
How many different controls are you using? Such as is everything all BasicLabel? What about code, anything like databases interaction?

KariM

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: 3.69 to 3.99
« Reply #7 on: September 24, 2015, 09:35:34 AM »
Hi Archie
Just pilotLamps, BasicButtons, PanelMeters, Tabs, BasicLabels.
No database connections yet, but soon yes.
Now I have need to greate some gind failure report of machines
and conveyors and get it in file. (For monitoring of faults in lines.)
I tryed BasicDataLogger and BasicDataLogger2.
These seems to be fine for me at least now.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: 3.69 to 3.99
« Reply #8 on: September 24, 2015, 11:18:23 AM »
Once you import your forms into the new version, you will just need to do a Search and Replace for each different type control like this:

Search entire solution for:
MfgControl.AdvancedHMI.BasicLabel
Replace with:
AdvancedHMIControls.BasicLabel

After doing that for each type of control, you should be over 95% complete the upgrade. From there just click on each individual error and see what it is looking for.

KariM

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: 3.69 to 3.99
« Reply #9 on: September 25, 2015, 12:20:34 AM »
Hi Archie
That is what I was going to do. And it wil be faster than greate existing project again in new version.
By the way, is it possible use several HMI in same PC for same PLC?
I mean, that I leave old HMI as it is, and make new one with new version of AHMI?