06-20-2013 02:59 AM
Hello,
we've got a power supply driver supporting different models, let's say PS_A and PS_B.
The driver is able to determine automatically which model is connected, but it can handle only one device at a time.
We compiled this driver into a packed project library.
Is it now possible to create copies of this PPL to control multiple power supplies at the same time with multiple instances of the same PPL?
So can we just copy and paste PS.lvlibp to PS_A.lvlibp and PS_B.lvlibp and use them independantly or will that cause any problems?
Are there any articles on that topic?
Thanks,
Dietmar
06-26-2013 06:04 AM
Hi Dietmar,
I haven't found any articles on that topic, but I suppose it should not be a problem, as long as you adress the right power supplies correctly. Since the two VIs run independently, and adress their own hardware, they sould not interact in any way.
Did you find out something about that topic in the meantime?
Oliver
06-26-2013 06:46 AM
Dietmar,
from the PPL part, i also dont see an issue with duplicating the PPL with different names. Technically. As the PPL-name is used for name spacing, all subVIs should have unique names, so it works.
What could create headaches is: Are there sources called by the PPL VIs which are not "duplicable"?
I think of DLLs which are not thread safe and alike.
So you have to test it out yourself as nobody on this forum can tell you if you got incompatible elements within the PPL (and its callstack) which could make things running rampart.
Norbert
07-18-2013 05:15 AM
I figured out you can't use copies of PPLibs.
What you can do is create a copy of your library build specification in your project to create a duplicate of your library with a different name.