From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
12-02-2019 05:10 PM
Hello,
I created a packed Library in my LabVIEW project through moving all my VIs in the created project library.After that, I can find a .lvlibp file in builds folder. But when I tried to open it with 'Class Member call', I can only see the .lvlibp file in the window. but I can't open it . What is the problem?What is the right manner to create a PPL , in oder to use the VIs in TestSTAND?Thank you for answering.
12-02-2019 07:37 PM
I don't have TestStand installed to check this, but the image you attached shows you browsing the lvproj file, which contains the lvlib file.
You'll need to instead open the lvlibp file. Maybe you already tried this, but the picture doesn't show it.
It's certainly possible based on other threads like the following: https://forums.ni.com/t5/NI-TestStand/Using-LVLIBP-with-DLLs-in-TestStand/td-p/3878633 (they had a different and likely more complicated problem with DLL searching, but they used a PPL in TestStand).
12-03-2019 06:00 AM
Hello,
sorry, I used a wrong picture. But it looked the same when I call the .lvlibp. I will read the link. thanks.
Another question. Before I built my LabVIEW project and Packed Library, I have copied my VI Folder and created the project and PPL with the VIs in copy folder. But after that, my old VIs in another folder works differently as before. When I open the VI ,there comes always a window asking for the project library. Is this because, the VIs in both folders have the same name? and the the directory of involved VIs has changed?
I have read that, the VIs in project library will have new names beginning with project lib name. But it didn't work this way with my VI. Could you pls maybe tell me what was wrong?
12-03-2019 09:19 AM
I'll try break your message up into a few pieces, maybe you can clarify if I misunderstood...
12-03-2019 09:43 AM
Hello,
maybe I haven't described it clearly. I think you have understood it correctly with the following point:
'Your VIs expected to find other VIs at a specific location, but instead found them somewhere else. This produces a warning and will change the source files, but doesn't cause an error in general. It often is an indication something isn't as you expected though.' But there was errors.
I had a folder of all my VIs of this project(only VIs, no project library of packed library), we call it 'x'. Because I want to try the PPL building in another folder,then I copied 'x' and created a new folder 'x copy'.All the VIs in 'x copy' are the same as in 'x'.
Then I built project with VIs in 'x copy', created project library(called y) with all VIs in 'x copy', and then PPL. All these are in 'x copy' saved.
After that, I tried to open my VIs in 'x' folder, the window appears always asking for the project library(which was created with VIs in 'x copy'). If I click cancle,the VIs is opened with errors, that other VIs are not excutable.
12-03-2019 10:24 AM
So I just tried to reproduce what you found and had no issues, so I guess it requires something a bit more complicated than my very simple test.
Let me just describe what I did and you can tell me if you do anything different:
So I'm not sure what happened for you. I suspect some sort of cross-linking, but I don't know how or why. Do you depend on some other already existing PPLs? Changing the relative path can cause a problem if so.
12-03-2019 10:33 AM
Make sure you actually made the library with the VIs in x_copy. It is sounding a lot like you accidentally used x instead.
12-10-2019 08:29 AM
thanks. I did it another way ,but have retried this and don't have this problem any more. For the PPL , i must try it again.
12-10-2019 08:33 AM
yes, you are right. I find that, the VIs were called from another directory instead. I did it all within x copy. But the VIs in X are sometimes opened from the directory in x copy. And it seems it's not always the same.