AdvancedHMI Software
General Category => Support Questions => Topic started by: GraemeTownsend 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.
-
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
-
Thanks Archie,
email sent.
-
Hi Archie,
Got the updated meter pack, thanks. Fixed that issue.
The other issue still remains?
-
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()
-
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
-
Right click your project and select Properties.
Check the References tab then see of you have these 4 references shown in the attached picture
-
Hi,
Sure do. (Version is 3.9.9.4 for first two)
-
Why are you needing to compile a release build?
-
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.
-
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
-
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....
-
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