Stand alone application with VISA

Hello,
 I build a stand alone installer application from my VI using LV 7.1 VI which contains some VISA serial communications with a standard RS232 port.  In build application wizard settings I checked the Serial Port Suport in Advanced settings in Installer .When I installed this stand-alone app on a new PC without LV installed the communication didn´t work: Error -1073807298 - Could not perform operation because of I/O error.
I don't know if I have to install something else on the target machine. I have seen some topics in discussion forum about the VISA run machine. I imagined it would be included in the installation I had created. If someone could help me I would thank.
Celia

Hi Celia,
You might check to make sure that the VISA Resource Name you are providing in your application is the same as the name the new machine is using.  If you build the application and it is looking for a specific resource that does not exist on the new machine, you might see an error similar to this one.
Donovan

Similar Messages

  • 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 with LabView 7.0 getting error can't find DAQmx clear task.vi

    I have attempted to create a stand alone vi with the Build Application or Shared Library(dll) in LabVeiw 7.0
    When I put it on another PC to test it I get the error "can't find DAQmx clear task.vi"
    the other PC has Labview 7.0 and DAQmx 8.1 also.
    I believe my problem is in the source tab where you are supposed to add support and dynamic vi's I have search the forums and Ni's data base and have not found a solution.
    Solved!
    Go to Solution.

    Hi LabTech09,
    When you run the executable on the other computer is when you get this error?  Do you have the exact same versions of LabVIEW and DAQmx on both computers?  Does the dialog allow you to navigate to the DAQmx clear task.vi?  If so, you can find these VIs in C:\Program Files\National Instruments\LabVIEW 7.0\vi.lib\DAQmx\configure\task.llb.  Does the executable work on the development machine (the machine it was compiled on)?
    Regards,
    Jim Schwartz

  • Error 1935 while trying to use installer to install stand alone app with VISA

    I am trying to create my first installer for LV 8 and it is pretty different from LV 7.  I am creating an installer to bundle my Vi and the Run time engine in one package.  In my program I use VISA read/write so I also selected NI-VISA Config. Support  version 3.4.1.   When I try to install the application on a computer that does not have LV or the runtime engine I get error 1935 saying that it cannot install the VISA config.  Then when I try to run my program LV doesn't try to take over the COM port because VISA is not installed.  Any one have any ideas?  Thanks

    Hi,
    Here is a link that describes a possible solution to what you are seeing. I would also install the latest version of NI-VISA, linked here. Please let me know if you are still running into problems after trying these suggestions. Have a great day!
    Regards,
    Missy S.
    Calibration Engineer
    National Instruments

  • 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

  • AIRHelp stand-alone application takes a while to launch

    Hello,
    An AIRHelp stand-alone application with about 50 topics is taking about 20 seconds to launch and sometimes the navigation from one topic to another is delayed.  I removed videos and external links and it runs faster and there are no broken links in the RoboHelp files; however, this sped the output application a bit, but it is still slow.  Does anyone have any suggestions on how this can be made faster? Are there any formatting issues that would slow an AIRHelp application down when generated?
    Thanks,
    Jason

    Have you optimized youe graphics? Meaning .jpg at perhaps 50% compression. PNGs are 10X .jpg size on average.

  • 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 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

  • 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

  • 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

  • Windows Media Player ActiveX not playing image, but WMP stand alone application does. Why?

    I use my Windows Media Player v11 with additional codec to play mp4 files (mp4 are not supported by default with WMP 11, so I had to install a codec). It works fine in the stand alone application, but when I use the ActiveX control in NI, it does not use the codec and I get only the sound... no image. I thought the ActiveX was simply an interface to the same core application used by NI and the stand alone media player. And if it is the same core, it should use the same codec. What am I missing?
    Solved!
    Go to Solution.

    I have a tip for you. If you download Quicktime 7(QT), you may select the QT activex player(see picture). It plays mp4 and looks better. And QT is free so it should not any problem. Try and see if it do you any good
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)
    Attachments:
    sample.PNG ‏114 KB

  • 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?

  • 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

  • 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

  • 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

Maybe you are looking for