LabWindows/CVI User Group Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

OPC Server development with Shared Variables and overcoming DCOM issues

We have recently undertaken a project for a client to produce an OPC server for a specific piece of hardware. The chosen route was to have a server based CVI application that interacted with Network Shared Variables. In short this went extremely well and was tested on the “local system”. The problems arose when testing switched to the “network” and again in short focused on DCOM setup, the technology behind OPC. The time spent investigating this rapidly grew from hours in to days. We eventually solved our problems by performing the following:

  • Downloaded KEPServerEX v5 from http://www.kepware.com/Support_Center/Support_Center.asp
  • Installed the server (with simulated driver) and QuickClient on the server machine.
  • Confirmed server based client could see Kepware server and Network Shared Variables
  • Installed the server and QuickClient on the client machine.
  • Confirmed client based client could see Kepware server and Network Shared Variables on server.

The following was performed within an hour and solved all our problems. Had we followed this routine initially we would have saved a significant amount of time and cost on the development. I hope this information proves useful to other developers and many thanks to Kepware.

Kevin Snelling

CVI Certified

www.ptpart.co.uk

Contributors