How to include dll into a stand-alone application

Hi, I wrote a vi to process images from my camera, and I want to build a stand-alone application(exe), so I can share the application with my friends. I just do as wht's in  the Labview help, but when I run the exe file in other PC, it  tells me I haven't nivision.dll etc. My question is how to find out the dll files in my vi and include these files in the stand-alone application?  

To be honest I am not sure. Its been a while since have used the vision run-time engine. Before I installed it on the target computer. I ddn't include it with my application build.
Take a look at this http://digital.ni.com/public.nsf/allkb/1A9A18AA574ABEDF86256F780062C240 it might help. Also look at the documentation supplied with the vision deployment license.
David

Similar Messages

  • How to use Preloader with stand-alone application in Eclipse? Thank you.

    My IDE is eclipse and my project is a stand-alone application(pure CS architecture with OSGI framework).
    How to use Preloader thus the preloader would be started before my main Application and hid later?
    I found some code in http://docs.oracle.com/javafx/2/deployment/preloaders.htm#BABGGDJG
    but I still don't know how to deploy the Preloader with my startup Application in OSGI framework.
    I give some code of my startup application below:
    public class MyPrjMain extends Application
        private static Stage primaryStage;
         public void start(final Stage stage)
            throws BusinessException
            primaryStage = stage;
            init(primaryStage);
            primaryStage.show();
    }Thanks very much, everybody.
    Edited by: Slash Wang on 2013-2-27 下午5:36

    Your question has already been answered on StackOverflow:
    http://stackoverflow.com/questions/15126210/how-to-use-javafx-preloader-with-stand-alone-application-in-eclipse/15148611

  • Stand-Alone Application including ocx, dll and Word template folder

    Hi,
    I try to create an Stand-Alone Application with labview 2011. My problem is how i can include ocx and dll file in my executable to be run by others computers (the other computer don't have the dll and the ocx using in the application). My program use Word template who is in a folder. How i can integrated this Template folder in my executable folder.
    This is the first time I create an executable, so please help me -_-.
    Nki
    Solved!
    Go to Solution.

    Hi nki,
    To include the ocx and dll files you will need to build an executable for your VI and then create an installer for the additional files. I have linked 2 documents that will explain each of these steps. If you have any questions with this let me know.
    http://zone.ni.com/reference/en-XX/help/371361E-01/lvhowto/exe_ex/
    http://digital.ni.com/public.nsf/allkb/E09BA0E2F31D304F86256A640070058E?OpenDocument
    Patrick H | National Instruments | Software Engineer

  • How to use matlab codes in a stand alone application without matlab license?

    Hi,
    I am not an expert in programming and i don't know about C++, i have a program using matlab codes and now i want to transfer it to a computer without matlab license. I've read something about using DLL, but i think i have to know C++ programming  to wrtie "WRAPPER" and add some lines to the program, now transformed in C++.
    I just would llike to know that really isn't any other way to integrate matlab for a stand-alone application? i read somethings in Matlab help about using COM (Common Object Model ) but i am not sure that labview works with it, and also about runtime engine and "mglinstaller.exe".
    my labview version is 8, matlab is 2006, and the real problem is using matlab codes in another computer without matlab license.
    Thanks
    Amir

    Hello Amir,
    There is a MatLab script node in the LabVIEW function palette (see screenshot of the help topic) but as you can see this structure is not in the "Base LabVIEW", you might need to purchase the FDS (Full Developpment System) or the PDS (Professionnal Developpment System) of LabVIEW...
    Do you know which one you have ?
    Hope this helps
    Message Edité par TiTou le 11-24-2006 06:38 PM
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
    Attachments:
    mlab.png ‏71 KB

  • How do you create a stand alone application using DAQmx when your application SCXI hardware isn't on the computer I am using to create the application?

    How do you create a stand alone application using DAQmx when your application SCXI hardware isn't on the computer I am using to create the application? The DAQmx assitant won't allow me to create a task with hardware that isn't in my system.

    You will need to have at least the DAQ device in your computer to add the chassis. When you add the chassis, don't auto detect the modules. You will have to add the terminal blocks and tell MAX which SCXI module will be connected to the DAQ device. Just make sure you don't test the chassis, when its not there.
    I hope this helps.
    Joshua

  • How build stand alone application without labview

    I have main vi and contain the sub vi i need build stand alone application without labview
    how build stand alone application without labview?
    thank and regard

    I assume that the poster means to run this on a computer without the development environment installed.  That is what the app builder is for. Review Altenbach's post.  This being said, there will need to be a runtime engine installed on the target PC. You can 'bundle' that with your build application and install it together, although I usually prefer Not to do that, and make that a seperate step because it is rather large, and if the target already has it, then it is wasted space.  Speaking of run time engine, I have seen negative reactions to it by my customers, but after sitting down and explaining that, with few exceptions, every application requires a run time engine. It is just that some are bundled with windows, or installed through windows update.  Once explained, it usually quiets the opposition. [Paul steps off soap box now]
    Paul <--Always Learning!!!
    sense and simplicity.
    Browse my sample VIs?

  • Stand-alone application generates error with function 'Ramp Pattern' (bug in application builder?)

    Hello,
    in my program a main.vi links to a sub-VI via 'open VI reference' and 'invoke node'. In this sub-VI the function 'Ramp Pattern' is used. The program itself runs normally, but if I build a stand-alone application using application builder I get an error message 'error 1003 occurred ..'. I believe this error is directly related to the build specifications which are as follows: the main.vi is referenced in a main build specification, the sub-VI in its own specification where the target is a LLB.
    I appended an example-program that exhibits the error (when executing 'Application.exe' and pressing 'calculate ramp'). The error does not occur when disabling the 'ramp pattern' function and rebuilding the application.
    I would rate this to be a bug in the application builder and would appreciate any help on how to solve this problem. However, due to the structure of the whole program the sub-VI has to remain in its own LLB.
    Attachments:
    RampPattern.zip ‏198 KB

    There can be reasons why a VI might appear broken when loaded from an executable. For example, if you have different versions of the same VI or enum that differ in such a way as to break the calling VI, that can cause a broken arrow when loaded from the executable. If you have DLLs being called and the runtime engine can't find the DLL, that can cause a broken arrow that you might not see otherwise. Finally, there is a bug related to a VI appearing broken when its not.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Problems building a stand alone application with LV 8.6.1.

    I'm having problems building  a stand alone application with LV8.6.1. I'm using a USB- 6008 DAQ and USB-6501 Digital device in the application. I already have an simple executable on the machine so the Run time Engine is already installed.  For the USB DAQ device, I assume I need to include the DAQmx8.8 as one of the installers. When I attempt to build the application, I'm prompted for several disk, one being a distribuition disk 1. I have the installation disk for the developer package. I did not  see a distribuiton disk as one of the installation disks. When I insert disk 1 I get an error that another application is trying to run. Could someone tell me which installers I need to include and where do I find the "distributor" disk.
    Thank you,

    are you building installer for the first time on this PC?...It usually asks for the drivers CDs and some toolkits if required.
    you just need to use drivers CDs (comes with LabVIEW) from which you installed on this PC. If you have ever upgraded drivers, then you have to use the latest CDs only.......
    another issue may be ...when u insert the driver disk, it has autorun, it will launch drivers installation wizard....close that and then try to build distribution......... 
    Message Edited by Anil Reddy on 09-25-2009 01:22 PM
    Anil Punnam
    CLD
    LV 2012, TestStand 4.2..........

  • Stand alone application(.exe) : Error 7 occurred at Open File+.vi: Open File (error: L'erreur 7 s'est produite à : Open File+.vi:Open File)

    Dear group members - as i am trying to build a stand alone application , i ran into this problem : "Error 7 occurred at Open File+.vi: Open File" (L'erreur 7 s'est produite à : Open File+.vipen File)
    when i select continue i get this error message: "Error 7 occurred at open/create/replace file in Write spreadsheet string.vi->Write To Spreadsheet File (I64).vi->Mono Com Write ini.vi->mainVI2.vi""   (  "L'erreur 7 s'est produite à : Ouvrir/Créer/Remplacer un fichier dans Write Spreadsheet String.vi->Write To Spreadsheet File (I64).vi->Mono Com Write ini.vi->mainVI2.vi" )
    i didn't get what's the problem with this vi, i have no problem running my VIs  
    Can any one here help me out ? 
    here is the project : 
     

    Neither can I.  When I opened your Project, there were no VIs present on the top level.  The Build Spec refers to a Mainv12, which I finally found buried in the folder Interface 2, but when I tried to open it, there were multiple missing VIs.  I notice you have an Interface 2.llb -- is this the same as the VIs in the Interface 2 folder?  If so, try getting rid of the .llb (at least for the purpose of sharing your code in the Forum) and re-post your code.  As it stands, when I open your Project, virtually every entry is marked "Warning: has been deleted, etc."  The fact that so much is "missing" means that I can't easily see/understand MainV12, hence can't guess where the File Not Found error is arising.  Sorry.
    Bob Schor

  • I have trouble in building stand-alone application, "you must intall Labview run-time engine on any computer on which you want to run this application"

    I have installed the LabVIEW 7.0 run time engine and checked all in the advanced setup on the installer setup slide. but I still get such a message saying that the target computer needs to have LabVIEW 7.0 run-time engine. What I want is a real stand-alone application even without having labview ... I used to think that's due to my program contains MATLAB nodes. But this is not true, since even without Matlab, it's still wrong. Please help, thanks!!!

    As was stated elsewhere, you have the option of building the runtime engine into your application when you build it. However, you can also create a "runtime engine application" by simply opening the application builder and doing a build without adding any source code files. The result is a small program (named lvrt.exe) that can run any LabVIEW code--whether or not its built into an executable.
    Such an application can be helpful if you are wanting to install several LV-based applications on the same computer in that it reduces the amount of redundant code on disk. All you have to do is make sure that Windows on the target computer associates the llb and vi file extensions with the runtime engine program.
    It can also be helpful during testing to run test code that isn't built into an executable.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Setting Current Values as Default in Stand-Alone Application ?

    Hi
    I have a stand-alone application using LabVIEW run-time and I want the user to be able to make the choice if he wants to retain the default values or modify them ? I know you can't use the invoke node and set the current values to default because that works only in EDIT mode. I saw some postings where there was a talk about using configuration VIs. I am not sure how to use them. Also is there some other way I can accomplish this ?
    Thanks
    Sridhar
    P.S: I use LabVIEW 7.0
    Kudos always welcome for helpful posts

    I would use a configuration file to hold default values for my controls. When the vi starts, prompt the user to select default values or to modify. You can use a two button dialog to do this. Wire the output to a case structure. If the user selects default, read the config file and use the values to set your controls values. If the user selects modify, call a subvi that gives the user an interface to modify the values. You can start with the old default values. This subvi would have a loop, waiting for the user to press either a cancel button or a change button. If the user makes changes and presses the change button, exit the loop and write these new values to the config file. If cancel is selected, exit the loop and do not write to the config file. Upon returning to the main, read the config file and set the control values accordingly. You can even go a step further and create a "factory default" file. This file would be read only. The user can be given a choice to select this file in case he made changes and saved them to the config file, and the new changes were all screwed up.
    Config files are nothing more than a file containing keys which represents controls, and the data values for those controls. There are examples located at \examples\file\config.llb.
    - tbob
    Inventor of the WORM Global

  • T's possible to use the jsp to develop stand-alone application?????

    Hello everybody, I would like to know your considerations about this topics: It's possible to use jsp to develop stand-alone application that will be not run on the server but on the local machine?There are some negative aspects on make this? Thank you for your reply

    i don't think you could ever protect the jsp code and it wouldn't do you much good to bother anyway, since anyone with a browser can just "View Source" and see all the HTML on the page anyway.
    the only thing you would want to protect is your java source. you don't have to distribute the .java files with your application, just the .class's. you could try and obfuscate the .class files, but a determined person will always be able to reverse it back to a .java program and read it. it would take a bit of work and knowhow though, so figure out how smart the consumer is going to be and if they will be able to figure out how to reverse .class files back to .java

  • Is it possible to have a user interface in a stand alone application without having LV

    Hi!
    I want to know if it's possible to build a stand-alone application in order to avoid purchasing LV and at the same time having a user interface to display data?
    I really want to know what are the advantages of the stand-alone applications and what are their limits of use?
    Thank u

    If you have the application builder (included in LabVIEW professional and above) you can make a LabVIEW application that can be distributed and run on machines that don't have LabVIEW installed. If you only have LabVIEW full, you can purchase it seperately.
    The target machine requires the LabVIEW runtime, which is freely downloadable from NI, or can be included with the installer of your application.
    Please have a look at the datasheet: http://www.ni.com/pdf/products/us/4msw55.pdf
    If still have more specific questions not mentioned in the above link, please ask.  
    Message Edited by altenbach on 10-01-2007 01:01 AM
    LabVIEW Champion . Do more with less code and in less time .

  • Displaying an image in a stand alone application

    I know that this is a simple process, but I do not know how to display an image in a stand alone application.

    public class MyFrame extends Frame {
    Image image;
    MyFrame() {
    image = getToolkit().getImage(pathToImage);
    setSize(800,600); //for example
    show();
    public void paint(Graphics g) {
    super.paint(g);
    if(image != null)
    g.drawImage(image,0,0,this);
    }

  • Deploying Java stand alone application in Weblogic server

    Hi All,
    We have an java stand alone application which our client uses. Suddenly they came up with a requirement of using this application from web logic server.We have following directory structure for our application
    myapp
    - config -> contains all configuration files
    - logs -> contains log files
    - ssl -> ssl related files
    - samples ->contians stub's
    - myapp.jar
    How to deploy our standalone application in to weblogic server?.
    We tried putting whole myapp folder in WEB-INF folder , and from the servlet we are able to invoke an method in an class file( in myapp.jar say Test.getInstance()) but it couldnt find configuration files (in config folder ) and it is throwing an error. We have a class called Test in myapp.jar and when we call getInstance of the class it loads all config files - config file location is hardcoded as /config/myconfig.xml , and we are facing problem here because it couldnt find myconfig.xml.
    We also tried packaging whole myapp folder in to jar , but with that also we faced the same problem
    Please let us know are we proceeding in the right way and how to deploy our application in weblogic server.We dont prefer making changes to our code at this point of time.
    Any info on this will be very helpful to us.
    Regards,
    Suresh

    Hi René van Wijk,
    Thanks for quick reply. Link you mentioned gave a basic idea of application structure , but still i couldnt get deployment process.
    Am very much new to weblogic.Can you please let me know how to deploy our standalone application in to weblogic, with out making any changes to the code.
    Below is folder structure of my java stand alone application *( not webapplication)*
    myapp
    - config -> contains all configuration files , for ex:- myconfig.xml
    - logs -> contains log files
    - ssl -> ssl related files
    - samples ->contians stub's
    - myapp.jar
    We have logic to load configuration file (config/myconfig.xml) , in an class and we are not allowed to make any changes to this code, so we cant use Thread.currentThread().getContextClassLoader().getResource(...) .
    Regards,
    Suresh

Maybe you are looking for

  • Error in Calling a Webservice from ABAP: Consumer

    Hi We are reaching a webservice within the same network Zone and have have done the configuration in SOAMANAGER - WebService URL, Port, Operations are defined and the service is active. The logical port is define and an automatic SM59 destination is

  • Wireless printing to Sharp printer via windows network

    I finally convinced my mother to buy a Macbook Pro, and most things have been great. Except this: she can't print at her office, mega issue! I don't know anything about the network or really about the printer. Her office manager had to type the MBPs

  • Solaris 10 NFS performance on Linux running ws3 update 3

    Hope someone can help me sort out this problem. Dear Support. We are having a Solaris/Sparc file server running Solaris 10. The Solaris machine act as a NFS file server. We encounter very poor NFS performance when copying files to and from a filesyst

  • Cannot enter to SAP Entitlement System.

    I cannot enter to SAP Entitlement System. I installed BOBJ XI 3.1 SP2 and SAP Integration Kit XI 3.1 SP2 in Windows 2003 64bits Now when I try to enter in CMC u2013 Authentication u2013 SAP, It does not open anything, and it did not allow me to see E

  • Labview exe in web browser

    hi i want to open or run labview exe or vi on web browser by calling html page link . i created the html page of  vi  which is statup vi  of my application but this required application already in running condition, and i want to open and run vi by c