09-01-2016 08:19 AM
Hello,
i had Labview 2015 installed and created all my VIs. Then after it worked i uninstalled everything with labview and installed only the Runtime.
But now i miss some subvis. For example NI_AALBase.lvlib:Std Deviation and Variance"
This is not longer on my harddisk.
So the question is: How do i have to save my VIs that also the Subvis are availabe after running in Runtime?
Or what do i have to install additional to the Runtime that i have all NI-Subvis?
I tried to copy the NI_AALBase.lvlib into the path of my VIs but this is not working (I am calling my SubVi in TestStand.)
Thx
Solved! Go to Solution.
09-01-2016 08:27 AM
09-01-2016 08:29 AM
I'm confused by your question.
If you install LabVIEW, you are going to have all the VI's, library files that it comes with which is all source code. You'll have all the VI's you create in your project directories.
When you create an .exe application, all the VI's will be compiled into an .exe. Some VI's that might be part of LabVIEW would have their compiled code within parts of the runtime engine. At the end of the day, you don't need any of the source code VI's (either yours or LabVIEW built-ins) because the compiled code all exists in either the .exe or the LabVIEW run-times.
So when you uninstalled LabVIEW and reinstalled just he run-time, your .exe should work fine. Why do you think you would need VI files, or library of VI files? That is source code and is only usable to the LabVIEW development environment.
I don't understand the scenario you are trying to describe where you have a combination of executable and run-times, but also VI's, on a computer system that only requires the executable and run-times.
09-01-2016 08:32 AM
I dont have an exe file. In NI TestStand you use simply direct the vi-file.
So i have a directory with my custum VIs. Each vi is a teststep for teststand.
And these VIs are using subvis from the vi.lib which is not available any more after uninstalling Labview.
Do i simply have to copy the vi.lib-directory from another pc into the pc that has only the runtime?
09-01-2016 08:33 AM - edited 09-01-2016 08:40 AM
Hello OnlyOne,
normally the deployment utillity from TS should be used the utility make a source distribution behind. You can do this manually under the build specifications in a LabVIEW project, uncheck the exclude files from the vi.lib.
I recommend the deployment utility
09-01-2016 08:41 AM
Ok,
i have now a new project of type SourceDistribution.
How can i add my vis to this project?
In Properties + SourceFiles is in Project Files only a monitow icon "My Computer" but it is not clickable?
09-01-2016 08:45 AM
09-01-2016 08:46 AM
Hello OnlyOne,
with drag and drop to my computer or you can add the folder.
I still recommend to use the deployment utility.
09-01-2016 08:47 AM
DragAndDrop worked.
Now i run built and have a *.lvproj file.
But this filetype cannot be accessed from TestStand. Whats wrong?
09-01-2016 08:56 AM
Ok. Everything worked. The built creates a separate directory that contains all vis needed. (also my missing Std Deviation and Variance.vi).