LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dsc - Delete Process vs Undeploy Libraries

If I have a Shared Variable Engine process MyProc that was created by deploying a library MyProc.lvlib, what is difference between running Delete Process.vi and Undeploy Libraries.vi?

 

Thanks,

Mark Z.


0 Kudos
Message 1 of 4
(2,722 Views)

Dear Mark,

 

Both function's functionally and behavior is complete different.

 

Using DSC module and creating the SVE (Shared Variable Engine) you can transfer the data or play with data on network.

 

Process:- Process is required to log or interact with data in Citadel database. This is like you create a process to link or identify your database or shared variable engine. So if you delete the process you are basically deleting the link of your real time data or database and removes all the associated variables in your SVE within that process.

 

Shared Variable:- Shared variable we use to get the access of real time data over the network. So we have to create library and for particular data define Tags and deploy this on your server or host PC so everyone can access it using your defined tags. Undeploy function will give you the facility to close one or multiple tags.

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
0 Kudos
Message 2 of 4
(2,715 Views)

I think the behavior is the same: the process MyProc is deleted, although they might return different error codes if the process does not exist.

 

Basically when libraries are deployed to Variable Engine, there are processes.  So undeploying a library equals deleting the process conceptually.  You can find more explain in the online help:

 

https://www.ni.com/docs/en-US/bundle/labview/page/using-libraries-in-labview-projects.html

0 Kudos
Message 3 of 4
(2,700 Views)

Interesting, Himanshu says the functions are completely different, although he doesn't clarify what the difference is in my scenario. Meanwhile "mdai" says that the behavior is the same. Any further speculations or, preferably, authoritative answers?

 

0 Kudos
Message 4 of 4
(2,683 Views)