12-01-2008 09:35 AM
Hi
I have a software which was created using labview. it is basically a sofware to control a laser machine used for material deposition. i also i have the source code for the software. I want to make some modifications to the program. When i make some changes in the source code. i see that there is no change in the actual software which is an exe file. so how can i overcome this problem? I guess once i make the changes to the source code I need to create a new excecutable file from all the VI's. So I want to know how can i make a new exe file from the changed VIs.
I want to know what is the difference between the following
.vi file
.llb file
.lvllb file
Thanks in advance
Vikas
Solved! Go to Solution.
12-01-2008 09:49 AM
Vikas,
when working in LV, you have an edit time compiler, compiling you source code (the block diagram) into executable code. Still, you need the developement system to start the execution of this code.
Therefore, you will create a *.exe file out of your application when finishing all changes in order to execute the application without the need of the developement system (still you need the LV Runtime Engine).
VIs are the modules in LV and they consist of three parts stored on disk:
a) Frontpanel, the interface (IO or user interface)
b) Block Diagram, uncompiled sourcecode
c) compiled sourcecode
LLBs are the old version of LV libraries:
+ free naming (obsolete since break up of 8.3 naming convention)
+- VIs contained in the LLB are slightly packed
+-single file (good for deployment, bad for SCC)
lvlibs are new LV libraries:
+ lvlib-file is XML based "filehandler"
+ namespacing allows same VI names in memory (still bad idea for disk!)
+ VIs know about "their" lvlib
- Under certain circumstances maybe a little confusing for deployment
hope this helps,
Norbert
12-01-2008 09:51 AM
Not to be too blunt, but it should also be mentioned that you should spend some time opening and reading the Help file. All of your questions are answered in there.
To learn more about LabVIEW it is recommended that you go through the tutorial(s) and look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.
12-01-2008 12:23 PM
Shab wrote:So I want to know how can i make a new exe file from the changed VIs.
You did not tell us what LabVIEW version you are using, because creating an executable has changed a bit over the years.
First, you need to see if you actually have the application builder. By default, it is only included in LabVIEW professional and higher. If you only have LabVIEW base or full, you might not have it unless you bought it seperately.
There is nothing wrong running your project in the development environment if it is just on a local computer that already has LabVIEW installed. The application builder is more important once you want to distribute the program. Do you know who wrote the original software? Was this internal to your company?
12-02-2008 10:15 AM
Hi
I was able to solve my problem using the build executable command in the tools menubar.
Thank you