01-21-2020 02:44 PM
Hello,
I'm a little new to LabVIEW and programming in general.
I've written my first LabVIEW program ( single VI-Lab View 2015) controlling instrumentation.
I now want to be able to run this single .vi as an executable.
After I do this -be able to run this program on an independent computer that only has national instruments max Explorer with the driver GPIB-USB-HS?
So if the answer to the previous question is yes, then could somebody give me the step-by-step procedure to convert my single VI to the executable?
Thank you
01-21-2020 02:56 PM
You need to do this.
You will be prompted to make a project. Don't forget you will need the runtime engine to run this exe on a different computer. That is an additional program for NI Max.
01-21-2020 03:31 PM
Note, the application builder is a separate purchase from just the core LabVIEW; follow this link if you don't have it installed.
https://www.ni.com/en-us/shop/select/labview-application-builder-module
Also, after you build an executable, i'd recommend you build an installer. This will allow you to include the drivers with the executable.
01-23-2020 02:57 PM
thank you very much for the reply,
I'd like to ask one or two more basic questions because I'm still a little bit confused..
I was under the hopeful impression that I could convert a LabVIEW VI into an executable run only standalone program,
without purchasing the LabVIEW runtime engine?
Any clarification of this would be very helpful, thank you.
01-23-2020 03:18 PM
@chrlum47 wrote:
thank you very much for the reply,
I'd like to ask one or two more basic questions because I'm still a little bit confused..
I was under the hopeful impression that I could convert a LabVIEW VI into an executable run only standalone program,
without purchasing the LabVIEW runtime engine?
Any clarification of this would be very helpful, thank you.
You need to purchase (or have) the Application Builder Addon to make an exe and installer. The LabVIEW Runtime Engine is free to distribute, but somewhat useless without a LabVIEW app.
mcduff
01-23-2020 03:21 PM
okay.. I get it now thank you very much for your help
01-23-2020 03:27 PM - edited 01-23-2020 03:27 PM
Your development machine already has the run-time engine installed, so if you build an installer from your exe, you can include both the run-time engine and the drivers you need (simplifies putting your app on new machines). You can also include other things, like documentation to go with your app.
01-23-2020 04:32 PM
thank you
01-31-2020 10:47 AM
Once again thank you for your help,
Next line of questioning- so I'm able to create a run time version of my program and I am able to download and install the 2015 LabVIEW runtime engine. This is all going on on the same computer that I have the developmental version of LabVIEW.
What I haven't been able to clearly see is how to do this on the run time only program with a computer that doesn't have the developmental version of LabVIEW on it?
On the second computer I have installed a couple versions of the runtime engine in order to match the executable version that I'm trying to run.
I
I get the error can't find the runtime engine when I tried to click on the executable.
So a little more detail on exactly how to run an executable from a computer that doesn't have LabVIEW developmental version.
Thank you
Chris
01-31-2020 10:55 AM
as previously mentioned you should build an installer for your application. In the "additional installers" section, make sure the run-time engine is selected. If your deployment machine still gives you errors after you run the installer, there is a chance one of the other run-time engine has a corrupted file. clean the computer of all NI software and re-run your installer.