04-14-2010 01:32 PM
Dear LabVIEW experts,
I have a library containing a modest number of (network-published) shared variables. Now these are supposed to appear as tags when I use an OPC client to browse through the NI Shared Variable Engine. This used to work for me for some time, but apparently I did something which messed my library up. Now, even though my library is deployed, it appears empty of items in my OPC client interface. I know it is not a problem of the OPC client, because if I create a new library I can browse through its items normally. At first I thought that the cause of my problem was that more than one deployed libraries shared the same variables, but I used the Distributed System Manager to stop all processes corresponding to all other libraries (which I believe means that they are now undeployed) and the problem persists.
By the way, I have another (related?) question: What is the clean way to delete a project library? Looking at the Distributed System Manager list, I see processes corresponding to libraries that I have deleted. I guess this means that they were deployed when I deleted the files. How can I clean this up now? Is it enough to remove the processes from the Distributed System Manager?
Thank you very much,
Dimitris
04-15-2010 04:39 PM
Hey Dmitrius,
What happens if you redeploy the library you want to read with the OPC client? Do the items appear then? You may also try restarting the shared variable engine on the computer to see if that makes a difference... I don't think there's a setting that you configure for the shared variables to show up as OPC items, it should be a feature built into the mechanism.
As for your second question, a library will stay deployed unless you explicitly undeploy it. There are several ways of doing it:
1. From your project, right-click the library and select Undeploy
2. In DSM, like you have been doing, right-click and Remove Process
3. Programmatically using the Undeploy Library method (requires DSC)
Cheers,