12-19-2006 01:18 PM
12-21-2006 06:24 AM
Before deploy a library the service checks if it had already been deployed, so you don’t need to make sure if it is already done. But if you really need this information the shared variables are stored in Project Libraries once deployed it becomes a process in Shared Variable Engine, using the DSC Module you can check if a process (deployed library) exists and the run state. To do this you will use the following functions on DSC Module / Engine Control:
Get Process List.vi
Get Process Run State.vi
Get Shared Variable List.vi
The Get Process Run State.vi returns if a process with the specified name exists in the Shared Variable Engine. If the process exists in the Shared Variable Engine, this VI returns the run state of the process.
If the process exist in the Shared Variable Engine means that the library had already been deployed and all the Shared Variables have the same status of the process that it belongs.
You can see all this information in the Variable Manager software.