06-23-2011 08:27 AM
Probably really dumb question, but how do you use lab view project files?
I downloaded an Omron example for NI site, in the form of a Omron E5EK.lvproj.
I had anticipated that when i clicked on it, it would open the top level Vi,...but it doesn’t!
I wanted to view the code to see if i could reuse it. How does one go about this?
Many thanks
06-23-2011 08:40 AM
@labnoob wrote:
Probably really dumb question, but how do you use lab view project files?
Not to provide a dumb answer, but did you read the LabVIEW Help? No, really. I'm serious here. A project is a way to group VIs (as well as non-LabVIEW files, such as configuration files). It also provides the way to define build specifications, such as executables and installers. It's a one-stop-shop for what your code. The project should have VIs listed there, but it may not have all of the VIs that are in the driver. When you expand "My Computer" you should see either folders or VIs. Did you?
06-23-2011 08:44 AM
I did read it as it happens, but when i chose to open certain Vis. it kept complaining of not being able to find some of its sub vis....I wondered if i had done something wrong.
06-23-2011 08:53 AM
This this is not a problem with the project file, but rather the linking for the VI. The same thing would happen if you double-clicked the VI from the file system. What files is it looking for? Is it looking for files in the instr.lib folder? If so, the most likely cause is that whatever you downloaded was setup so that you place it into the instr.lib folder.