let me ask you regarding the following.
I am working on project provider tool (which should be called from Tools menu), which should be used for generating VIs by scripting, and adding those VIs to library in the project.
When I test this tool directly from LabVIEW (not from Tools menu), everything works. But as soon as I call my scripting VI from Tools menu, VIs are not added to library immediately. It acts as the following: VI is generated, but I do not see it in the project's tree. I can generate many VIs, but they are not shown in the project's tree. But when I close scripting VI, project's tree is updated and all the generated VIs are shown there.
I have prepared minimal reproducible example VI, which creates empty VI, creates virtual folder in the library, and adds VI to that virtual folder. And, it also does not update library/project tree "immediately". On first generation, it adds virtual folder (which becomes visible immediately) and VI, and then there are no generated VIs visible.
Let me ask you for help - could you check this example, and just guide me what could be wrong?
Project is done in LabVIEW 2015. In order to call it from Tools menu:
On "Test Scripter" menu select:
I believe that I am missing some tiny detail, but it drives me crazy to fix it, and I ran out of the ideas what could be wrong...
Thank you very much in advance,
Solved! Go to Solution.
thanks a lot for trying out.
Just to be sure - did you install it to LabVIEW Tools Menu? Because I've tried it right now in LabVIEW 2019, and it does not work.
When I run this generator directly from this test project, everything works fine. But when I call that scripting VI from Tools -> Test Scripter, then I see just 1st generated VI. The 2nd and further VIs are not visible.
Yes, VIs are in library - when I open lvlib file in text editor, I see that it is updated immediately.