Author Topic: OPC Driver errors on debug  (Read 1507 times)

AWirth

  • Newbie
  • *
  • Posts: 2
    • View Profile
OPC Driver errors on debug
« on: September 23, 2014, 11:38:28 PM »
Hello,

I have just started to use advanced hmi but I get the following error when trying to run a successful build:

A first chance exception of type 'System.Runtime.InteropServices.ExternalException' occurred in OpcNetApi.dll

Any assistance would be appreciated, thanks.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: OPC Driver errors on debug
« Reply #1 on: September 24, 2014, 08:58:49 AM »
That is an exception within the OPC drivers that were not developed by us, so it is something related to a compatibility of your system or your OPC driver. What device are you using, is it possible to use one of the native driver?

AWirth

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: OPC Driver errors on debug
« Reply #2 on: September 24, 2014, 01:28:07 PM »
Thank you for the quick reply.
 
I am using the factorysuite gateway driver provided with intouch (wonderware).  I am trying to use advanced hmi as an alarming and notification system, using email and text, and am trying to use the OPC driver to communicate with any HMI capable as acting as an opc server.  The goal is to have a notification system that can work along side systems that are already established.  Communicating directly to the PLC is usually not an option as most systems handle alarming (new, acked, etc) within the HMI software. 

From your reply it would seem this is an issue with their software.  It was all I had available to test with so I will try a different OPC server.

Thanks Again