Making a .exe In LabVIEW 8.2

I'm trying to make a stand alone executable from a vi created in Lab VIEW 8.2. I did not create the vi in a project, but I have moved It into one. I have been unable to make a exe that works on the none Lab VIEW computer. I have Three questions
1. Do I have to move all the sub .vis in to the project, or when I build the .exe will the builder go out and get them?
2. The computer I want to run the vi on already has the N.I 488 software on it because it is used by some third party software we run on the same machine. Do I need to include those drivers in the installer?
3. The computer is running Windows XP Pro. Do I have to make entries in the the registry be for the .exe will work? If so What? Were can I find information on this?
That's all for this project
TeBlues

Hi
Have a look at this document: http://zone.ni.com/devzone/cda/tut/p/id/3303
To answer your questions:
1. Yes and no. In general, the application builder will include the complete vi hierarchy of vis you created and which are static. If you call vis dynamically, you have to include them separately.
2. If the software is already there, is should not be necessary to reinstall it.
3. Generally you do not have to make entries in the registry.
Finally, you have to install the apropriate LV runtime engine. Otherwise your exe won't run.
Using LV8.0
Don't be afraid to rate a good answer...

Similar Messages

  • How to send a command from a vc++.exe to LABVIEW.exe in order to control the button on the LABVIEW.exe

    Hello, everyone. Using VC++, I have gotten the handle of a *.exe(built by Labview), but I cannot get the button handle. I want to get the button handle and post the message to control the button. How can I do that? When I use the SPY++, the *.exe(built by Labview) have not any child windows which is very different from the *.exe(built by VC++). In SPY++, what is the LVDChild class? How can I send the message to control the button on *.exe(built by Labview)???
    That is  to send a command from a vc++.exe to LABVIEW.exe in order to control the button on the LABVIEW.exe. How can I get it ?
    Thank you!

    hummingbird wrote:
    Thank you! But I dont kown how to use vi server to raise a value signalling event. Can we put vi server into the vc program? Can you give me some more information or some examples, hehe!
    hummingbird
    Checkout the LabVIEW ActiveX server interface in the User Manual in Chapter 20, Windows Connectivity and the VI Server Reference in Chapter 17, Programmatically Controlling VIs.
    There is a sample for Visual Basic under examples/comm/VBtoLV.frm, which should be quite simple to translate to Visual C as long as you can figure out the basics of ActiveX programming in VC (I have never done anything with ActiveX in VC). For those basics I would recommend some text book or MSDN.
    Rolf Kalbermatter 
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Pda execute other exe from Labview

    I'm looking for ways to execute an exe from Labview PDA that is stored on the PDA (another PDA application)... I'm running WM5.0 ... .any ideas ...
    Greycat

    Hey Greycat.
    That is a great question!  So as you noticed there is no equivalent to System Exec in LabVIEW PDA, so you cannot launch an application that way.  I would think that there would be a DLL that could be called on the PDA that will allow you to launch applications.  However, after several Google searches I was not able to come up with any specific code or DLLs.  Once you found that DLL hoewever, you shouldn't have problems launch an EXE.  I am assuming that these are not other LabVIEW PDA built EXEs, which is a shame since you might be able to open a VI reference to that VI. 
    Andy F.
    Message Edited by Andy F. on 04-25-2006 06:52 PM
    National Instruments

  • Control a LabVIEW GUI exe from LabVIEW

    I have a vendor supplied LabVIEW.exe application, it's used to control a device that's part of an automated manufacturing process.   At present we need to manually run the exe from the control PC , read data, make a decision, then input a few values, button clicks etc.   I'd like to automate this step.  Without having the source code for the application, what options do I have for controlling this application from LabVIEW?
    I tried using System Exec.vi, but I got beat when I needed to right-click on a graph indicator to retrieve data.  LabVIEW applications don't accept SHIFT+f10 for right-click.
    What other methods can I use to communicate with this application?

    Dennis_Knutson wrote:
    On the other hand, if the specifications that you provided to the software vendor did not include these requirements, then the vendor would be quite reasonable in asking for additional money to make the changes. You should also have required that the source code be provided.
    Of course, this is true. I was making an assumption, that since the OP has experience in LabVIEW, these sort of things had already been taken into consideration by the buyer.
    Would source code normally be provided when someone purchases an EXE? If there are proprietary pieces in there (algorithms, etc.), I thought it would be more common for the vendor to just provide hooks to the control and data functions.
    Cameron
    To err is human, but to really foul it up requires a computer.
    The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
    Profanity is the one language all programmers know best.
    An expert is someone who has made all the possible mistakes.
    To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
    LabVIEW Unit 1 - Getting Started
    Learn to Use LabVIEW with MyDAQ

  • Why is Building an exe in LabVIEW 8.6.1 so slow?

    I have a fairly large application (about 2000 VIs) that I am trying to convert from LV7.1.1 to LV8.6.1 and it is a very challenging process!
    I was able to load all of the VIs into LabVIEW 8.6.1 and correct all of the mislinked VIs (such as VI names that changed in the Report Generation toolkit and others), but when I try to create an exe it takes about 1 second per VI to build.  Why does it take so long?
    Also, when the exe is finished compiling, on the 2 computers I've tried it on, the exe doesn't load (it gives a windows crash!).  I tried creating the exe in a "clean" virtual environment and that worked which means I probably have version conflicts with the other 2 "real" computers (I have 4 versions of LabVIEW installed on the real computers).  I've also tried loading it into LabVIEW 8.5.1 and the creation of the exe is a lot faster but the exe still does not work.
    This is getting really confusing and frustrating!
    Thanks,
    Bruce

    It takes about 10 minutes to compile in LV851 and about 20 minutes to compile in LV861f1.  Both take about 5 minutes when the progress bar gets to the last VI.
    I was able to get my code to
    compile to an exe that is executable by uninstalling IMAQ 4.1 (Vision
    Acquisition Software 8.6) and installing IMAQ 3.8 (VAS 8.5). I avoid
    IMAQ 4.0 because the structure of the .iid (for instance img0.iid)
    files is messed up (see NI forum iid file structure in IMAQ 4.0 changed). This bug is fixed in IMAQ 4.1 but apparently there are other new bugs that were introduced.
    I'll try my luck with IMAQ 4.2 when it comes out, but until then I have work to do.
    Days
    lost, totally frustrating. Not a good LabVIEW/NI experience. And I'm
    stuck using old software versions to get things to work.
    Bruce
    P.S. I've been cross posting to lavag forums as well (exe built with LV crashes) about similar issues regarding my upgrading experience.
    Bruce

  • Problema al crear .exe en labview 10

    Mi inconveniente surge apenas pongo en la opción tools Build Application (EXE) from vi me tira el siguiente error:
    Error 7 occurred at Open VI Reference in AB_UI_Load_Page.vi->AB_UI_FRAMEWORK.vi->AB_Create_Build_Application.vi->EBUIP_Global_OnCommand.vi->EBUIP_Global_OnCommand.vi.ProxyCaller
    el VI que estoy probando hacer ejecutable es un programa simple de suma de dos números con el fin de lograr hacer el ejecutable solamente.
    Agradecería sus respuestas.

    Hola ignazoni
    Me gustaría confirmar con usted,
    - ¿Que paquete de LabVIEW tiene ? Si es LabVIEW Base, Full, Professional.
    - ¿Intentó crear el ejecutable desde el Build Specifications ? Anexo los pasos para hacer esto:
    http://zone.ni.com/reference/en-XX/help/371361J-01/lvhowto/building_a_stand_alone_app/
     Este problema esta relacionado con encontrar algún archivo que requiere la compilación. Al hacerlo desde el Build Specifications, cuando guarde su compilación y asigne el nombre del executable, procure no utilizar el mismo nombre en la compilación y el ejecutable, y procure no utilizar espacios en el nombre de los mismos. 
    Espero su respuesta. 
    Omar R.
    Applications Engineer

  • Error in making an .exe file

    hello..
       i just make a labview file  and tried to make an .exe file..
    i show error..   missing of  file path of an  Icon.. it is in NI Library file..
    Why it is not taking the path from thr..
     it also showing error that.it may be due to the moving or deleting the File..
    Please suggest a Solution to debugg this problem soon..
    TIJU
    Regards
    Tiju Thomas

    TIJU wrote:
    hello..
       it also showing error that.it may be due to the moving or deleting the File..
    Hai,
    Try to collect all the files in a single folder and try to build exe again.
    Hope this helps!
    Mathan
    Don't forget to rate a good answer.

  • What are the steps necessary to create an EXE using LabVIEW DSC ?

    I´m developing an application in LabVIEW 7.0 using the LabVIEW DSC 7.0 Toolkit. I´d like to know the steps I should take to cretae an EXE for this application.

    There is information regarding building a LVDSC .exe at
    http://zone.ni.com/devzone/conceptd.nsf/webmain/2f7cf918f3b412db86256a1c006af25f?OpenDocument
    It's from the time of LV6, but contains some useful info.
    =====================================================
    Fading out. " ... J. Arthur Rank on gong."

  • Font Size Difference between Exe and Labview IDE

    I'm stumped on the following issue and surprizinglycan't find any references that are similar on this forum.
    I've developed an application which, when built to an Exe, has different font sizes than when executed on the same computer in the Labview Integrated Development Environment.  In each instance the screen resolution is the same.  I've used the "Application Font".  I'm having trouble figuring why the font would render differently in each case.  Of possible signifigance is that I'm running the Exe by simply browsing to the folder where the build procedure drops it instead of building an installation.
    I've attached one of the most glaring examples that shows the rendering in each case.
    I'm hoping that someone can point me in the right direction to resolve this issue.
    Attachments:
    Font Differences1.zip ‏1704 KB

    Hi Doctor,
    two notes:
    for the font size differences: I would try to change the font settings
    to a more 'specific' font like Arial 14pt. The application font is set
    somewhere in an ini-file and the setting may change with the
    environment (IDE vs. exe-rt).
    for your attachment: please convert pictures to jpg or png. This will
    reduce size by orders of magnitude :-) And please crop them, unless you
    have a very (VERY) beautiful desktop background picture!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to call Exe from labview?

    Hello NI,
                        I want to call the exe from the labview.  presently i am using command.vi to open the exe. but it works only with source code. after creating the exe it doesnt work.
    I checked the path of exe.
    do you have any solution for this?  
    Regards,
    Balaji DP

    Working directory should be c:\windows\system32
    copy your winword.exe into that system32 folder and just try this
    Message Edited by mathan on 01-06-2009 03:24 AM
    Attachments:
    untitled.PNG ‏3 KB

  • How to launch an exe from LabVIEW VI

    Hi,
    I have made a few programs using LabVIEW and generated executables for each of these programs. I wish to generated a single launch program for these executables -- launch this wrapper program, select the (program) executable which you want to run and then finally run the executable.
    If this possible to do that using LabVIEW? How should this be done?
    Best Regards,
    Harpreet

    I would much rather call a subvi than call an exe.  But there might be a reason for using exe's instead of subvi's.  Anyway, create a loop with an event structure with an event case for each button.  In each event case, run the proper exe with SystemExec.
    - tbob
    Inventor of the WORM Global

  • Création d'installeur (setup.exe) sous Labview

    Bonjour à tous,
    Je suis nouveau dans ce forum et je viens de finir mes études aussi lol.
    J'ai réaliser un gros projet sous labview avec des centaines de VI.
    J'aimerai savoir comment créer un installeur afin que mon soft soit distribuable ?
    En gros, avoir une icone setup.exe qui permet d'installer mon soft sur n'importe quel PC même non équipé de l'IDE LabView...
    Merci d'avance.

    Bonjour,
    Il existe un forum supplémentaire si vous souhaitez publier en français.
    S'il vous plaît le trouver ici -> Discussions de produit de NI
    Christian

  • To run the exe on labview

    Hello NI,
    I want to run the (thirdparty) exe file using labiview command. but, the exe file should be visualize with in the vi like sub vi, not independently. is there any like a activex container to be execute ?
    Example, if i want to run the notpad.exe file, that should be visible on within the labview VI. like we creating subvi...
    Suggest me.
    Regards,
    Balaji DP

    Duplicate post

  • How to Launch a "setup.exe" with LabVIEW app? No luck with System Exec.vi

    I've got an application that I'm trying to update with a separate LabVIEW application (the "Updater"). It's the "Check for Updates" capability you see on other major apps.
    Here's the glitch: When the Updater tries to launch "setup.exe" using "System Exec.vi", The installer seems to catch the attempt and pops a dialog titled "Windws XP Setup" saying "Please go to the Control Panel to install and configure system components".  The install does not begin and the installer closes (if it was ever open!).
    Running the same installer by double-clicking the "setup.exe" file from windows runs just fine.
    Here's the question: "How can a LabView app launch an installer?" 

    Could you show the code.
    Look at the path where you want to run the code.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Call other exe in labview

    Hi all
    how to call an exe created in vc++ in labview...

    You can use system Exec function from Connectivity-->Libraries and Executables Palette. You can call your exe, the same way you invoke it from command prompt.
    Thanks 

Maybe you are looking for