Author Topic: Meter Pack and version 3.99d  (Read 2434 times)

GraemeTownsend

  • Newbie
  • *
  • Posts: 29
    • View Profile
Meter Pack and version 3.99d
« on: April 20, 2016, 01:19:04 AM »
Hi,

I have just upgraded from version 3.99a to 3.99d and I can't get my purchased Meter pack to work? Is there a change required for them?

Also, AdvancedHMIDrivers.PLCAddressItem now creates an "is not defined" error.

Any help welcomed.

Regards,
Graeme.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: Meter Pack and version 3.99d
« Reply #1 on: April 20, 2016, 05:47:31 AM »
Send an email to support at advancedhmi with your order details and you will receive the updated expansion packs.

To solve the other problem:

- Window-> Close All Documents
- Rebuild solution
- Exit Visual Studio
- Reopen solution

GraemeTownsend

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Meter Pack and version 3.99d
« Reply #2 on: April 20, 2016, 07:51:25 AM »
Thanks Archie,

email sent.

GraemeTownsend

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Meter Pack and version 3.99d
« Reply #3 on: April 20, 2016, 06:40:34 PM »
Hi Archie,

Got the updated meter pack, thanks. Fixed that issue.

The other issue still remains?

GraemeTownsend

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Meter Pack and version 3.99d
« Reply #4 on: April 20, 2016, 07:03:53 PM »
Fixed it.

Added a "dot"

i.e.
Dim PlcAddressItem1 As AdvancedHMIDrivers.PLCAddressItem = New AdvancedHMIDrivers.PLCAddressItem()
became
Dim PlcAddressItem1 As AdvancedHMI.Drivers.PLCAddressItem = New AdvancedHMI.Drivers.PLCAddressItem()

GraemeTownsend

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Meter Pack and version 3.99d
« Reply #5 on: April 21, 2016, 10:45:21 PM »
Hi Archie,

All is working fine in Debug mode, all upgrades work. However, I cannot compile a release build. I get the following error.


Error    BC30652   Reference required to assembly 'MfgControl.AdvancedHMI.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the type 'BarLevel'. Add one to your project.   CubeHMI   C:\Data\Other\Norwood\HMI\CubeHMI\CubeHMI\Code.VGCOverview.vb   105   Active

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: Meter Pack and version 3.99d
« Reply #6 on: April 21, 2016, 11:23:41 PM »
Right click your project and select Properties.
Check the References tab then see of you have these 4 references shown in the attached picture

GraemeTownsend

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Meter Pack and version 3.99d
« Reply #7 on: April 21, 2016, 11:58:39 PM »
Hi,

Sure do. (Version is 3.9.9.4 for first two)

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: Meter Pack and version 3.99d
« Reply #8 on: April 22, 2016, 12:02:02 AM »
Why are you needing to compile a release build?

GraemeTownsend

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Meter Pack and version 3.99d
« Reply #9 on: April 22, 2016, 12:05:59 AM »
Hi,

I always do. I plan to make it the run time version for use.
I have always been able to do both, failure has just come in since the upgrade, I'm not sure what I have done wrong.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: Meter Pack and version 3.99d
« Reply #10 on: April 22, 2016, 12:25:00 AM »
Debug vs Release has very little effect. In fact using Release will not generate the pdb file, which makes it harder to debug if something crashes in the program. Release is supposed to optimize, but since AdvancedHMI is so efficient, there is not noticeable difference.

Here is something you can try:

- Right click your project and select Properties
- Go to the Compile tab
- In the Configuration drop down list, select Release
- Click Advanced Compile Options (you may have to scroll down)
- Remove the check from Enable Optimizations
- Change "Generate Debug Info" to Full

Then try to build under Release

GraemeTownsend

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Meter Pack and version 3.99d
« Reply #11 on: April 22, 2016, 01:28:24 AM »
Thanks Archie.

Yep agree with release/debug builds. Tried above, didn't help.


I'm just annoyed I can't figure out what I've done when I updated the versions....

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: Meter Pack and version 3.99d
« Reply #12 on: April 22, 2016, 07:42:16 AM »
The changes I had you make, set the Release to the same settings as the Debug with the exception of Define DEBUG Constant. And that shouldn't matter since the DEBUG constant is not used in the AdvancedHMI solution.

The next thing to try is fully cleaning the solution as described here:

http://advancedhmi.com/forum/index.php?topic=1062.0