LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

opc client connection

Hi LabBean

 

Can you please confirm in which window I would find Tools>Options>>Service Tab?

 

Thanks for your help

 

Alan

0 Kudos
Message 11 of 13
(1,245 Views)

Update

 

Found it in NI OPC Servers............the box wasnt checked..........it is now

 

What difference would this make if I am not using and NI OPC Server?

 

Alan

0 Kudos
Message 12 of 13
(1,243 Views)

If you are not using NI OPC Servers, then this setting does not affect you.  I wanted to point this out for anyone who sees this behavior with NI OPC Servers and for you in case your server has a similar setting.  Without this setting, when I tried to bind a shared variable to an OPC server tag, I could not see the OPC tags when browsing.  If I typed the path to the tag, then I had trouble getting data back from the shared variable unless Variable Manager or DSM (Distributed System Manager) was running.  Running the server as a service forced the connections to stay open in this case.

 

The fact that Daylight Savings Time change broke your software is concerning.  Other ideas would be to try LV 8.6 as there were shared variable ugrades between 8.5 and 8.6.  If you use LV 8.6.1 make sure you get the deployment patch (nitaglv.dll replacement); otherwise, your target IP addresses all become "localhost" when deployed into the Variable Engine (as Hillman pointed out in another post).  Download the DLL here:

 

http://joule.ni.com/nidu/cds/view/p/lang/en/id/1255

 

Make sure you replace the DLL in both of these places to cover development and Run-Time:

C:\Program Files\National Instruments\LabVIEW 8.6\resource
C:\Program Files\National Instruments\Shared\LabVIEW Run-Time\8.6

 

For debug, try opening DSM and then try to bind the shared variable.  You can also try to set the binding for the deployed variable directly in DSM (right click and "Edit Variable").


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 13 of 13
(1,228 Views)