Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

NI OPC Server rejects even Quick Client connections, but Kepware works!

I have very recent version of NI OPC Servers.  I have had a working system which connects a PC to a ControlLogix over a closed network.

Transfering this setup to a new computer, going from labview 8.5 to labview 8.6, and doing a fresh install of WinXP and NI OPC Servers, I have had loads of problems.

I have battered away with helps of all kinds from NI.  The DCOM settings have been thoroughly opened to try to allow communication.

But the present situation is:

 

* When NI OPC Server appears at system startup, in the system tray, it quickly stops after a minute or so.

* When NI OPC Server is launched as a windows program manually by the user, and then quick-client is spawned from the server, the quick client cannot connect to the server at all.

* The demo server .opf file with the quick client, all on the local machine, logged in as administrator, and as many DCOM settings set to "allow" as possible, produces no connection between

   quick client and NI OPC Server.

* This is WindowsXP service pack 3, completely updated as of a week or two ago.

 

* I downloaded KepServerEX demo ware.  It is nearly identical in appearance to NI OPC Servers

* I launched it with its demo file, and spawned its quick client.  It immediately connected to the server and produced a continuous stream of values.

* I then loaded in my own .opf file, which had worked on the old computer, for the NI OPC Servers.  The Kepware read the .opf file. It had a couple errors but mostly worked.

* I then spawned the quick client and viola, the kepware quick client and the kepware server created a working access to my AllenBradly Control Logix device

 

I have uninstalled & reinstalled the NIOPC Servers many times.  I have repair-installed.  I've registered every dll, opened DCOM settings left and right on the closed network.

Kepware install: immediately works.  NIOPCSevers: do not.

 

Anyone?

0 Kudos
Message 1 of 3
(7,582 Views)

Do you see errors in NI OPC Server or Quick Client?

 

In NI OPC Server, view->Diagnostics->OPC, click Start to monitor the communication between NI OPC Server and Quick Client. You can save the diagnostic file and attach it here.

Ryan Shi
National Instruments
0 Kudos
Message 2 of 3
(7,567 Views)

In NI OPC Servers, go to Tools >> Options >> Service tab and verify that "Automatically start as a Windows NT service" is checked.

 

When this was unchecked, I had to keep Shared Variable Manager or Distributed System Manager open for the OPC server to function.

 

-Jason


Certified LabVIEW Architect
TestScript: Free Python/LabVIEW Connector

One global to rule them all,
One double-click to find them,
One interface to bring them all
and in the panel bind them.
0 Kudos
Message 3 of 3
(7,544 Views)