Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - RobbieNeslon

Pages: [1]
1
Support Questions / Re: OPC remote host?
« on: February 02, 2015, 01:34:38 PM »
The DataChangeCallback isn't getting called.  On the diagnostics on the OPC server, it shows the OnDataChange getting sent.  However, it's failing.  It show the interface pointer as 0x00000000....  which seems wrong.  The same OnDataChange to the local client show success and a non-zero interface pointer.  Hmmm....

2
Support Questions / Re: OPC remote host?
« on: February 02, 2015, 10:46:31 AM »
Archie,

Your response time is awesome!

I worked on this last week,  but I couldn't get it to work.  Here's where I stand with it.

Using Kepware OPC server V5.  I have two OPC servers running; one local and one remote.  They both have a simulated ramp as the only tag.  I can use the Kepware OPC quick client to connect to both servers (local and remote).  So, I'm assuming it's not a DCOM issue.  I can use my simple AdvancedHMI program with one panel meter to connect to the local OPC server.  I can also run it on the remote server (local to the remote server).  But I can't use it to connect remotely (changing "opcda://localhost/" to "opcda://IPofRemoteServer/").

When I try to connect to the remote server, it shows initial data, but the data doesn't change.  Like it's getting one read, then stopping.  Also when I close the program, it throws an exception as follows:

Code: [Select]
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in OpcNetApi.Com.dll

Additional information: Exception from HRESULT: 0x80040200

@ OpcDaCom.vb line 69 ------  If DLL.IsConnected Then DLL.Disconnect()

3
Support Questions / OPC remote host?
« on: January 28, 2015, 08:02:23 AM »
Is the OPC driver setup to use a remote host or does it have to be on the local machine (127.0.0.1)?

Pages: [1]