06-15-2016 04:21 AM
Hi,
I've a problem to build my Packed Library when I use a subVI from NI addons from "NI_PID_autopid.lvlib".
C:\Program Files\National Instruments\LabVIEW 2015\vi.lib\addons\control\pid
I have a lvlib with 1 VI where only 1 subVI is inside (the VI from NI_PID_autopid.lvlib).
When I build this simple example the build is unsuccessful with message "LabVIEW: Adding this item would cause a conflict with another item."
Does anyone have an idea how to solve it?
I use Labview 2015 64 bit.
A screenshot and the full project is zipped and attached.
Thanks
Hans
Solved! Go to Solution.
06-22-2016 04:35 AM
Hi Hans78,
do you get this error with other VI's of the PID palette, for example PID_Advanced.vi or PID_Autotuning(Temperatur).vi as well?
Kind regards
Thomas
06-22-2016 04:58 AM
Hi Thomas,
thanks for your reply.
I've found out that VIs from NI_PID_pid.lvlib (PID Advanced.vi , e.g.) don't make problems building the Packed Lib.
But when I add a VI from NI_PID_autopid.lvlib (PID Autotuning (Temperature).vi, e.g.) then the Packed Lib build fails. But the Dll and Application build of this VI works fine!
Best regards
Hans
07-13-2016 02:41 AM - edited 07-13-2016 02:43 AM
It seems like, there is currently no possibility to use some of the VI's in the NI_autopid.lvlib library in a packed library.
I'm still looking for a workaround, but is it neccesary for you to use this in a packed library?
07-14-2016 03:45 AM
Here is a possibility to get around this problem.
Follow these steps:
1) Build a Packed Library from the NI_PID_autopid.lvlib (the lvlib that contains PID Advanced Autotuning)
1a) Add the NI_PID_autopid.lvlib to your project (right click compute » add file..) the file is located at: C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\addons\control\pid\autopid.llb
1b) Create a Packed Library of this NI_PID_autopid.lvlib (right click Build Specifications » New » Packed Library) Add the NI_PID_autopid.lvlib as the Top-level Library under source files
2) Use this Packed Library to access the PID Advanced Autotuning VI
2a) Either in a new project or in a new project, add the Packed Library created in step 1) to the project.
2b) Create a Library in this project.
2c) Create a VI within this Library.
2d) Move the PID Advanced Autotuning VI from the Packed Library created in step 1) to this VI
2e) Create a Packed Library from this new Library.
This should allow the PID Advanced Autotuning VI to be built into a Packed Library
Kind regards
07-19-2016 09:19 AM
Thanks for your detailed description.
Now I've solved it by make the main Autotuning.vi new (at my own with same connectors) and disconnect some typedefinitions. Now it has no problems to build the packed lib.
Thanks