Labview- .EXE file with excel template

How to create a .exe file from the .vi file with excel template. Since I am giving only .exe file, the client wont be having the excel templates. So please tell me how to build a .exe file with templates which will be invoked by mainfile.vi. Please let me know if U guys know. (Now in my mainfile.vi I am using local file location path to invoke)

Hi saamy,
I have tested it out at my PC and it is working.
I have tested with MS office report and put the template "Excel Template.xlt" under VI's folder (C:\temp) and make the exe file.
After the exe file has been moved to other place(C:\build) and has been executed, the exe file try to locate  "Excel Template.xlt" under both C:\temp and C:\build. As long as the template is the same folder with exe file, it is working.
Pls refer to attached file.
Hopefully it will help. Please let me know the result.
Thanks & Regards,
Steve
Attachments:
My Application.zip ‏4415 KB

Similar Messages

  • Run BI Publisher report (with Excel template) on Windows 7

    Hi, All.
    Sorry for my English :)
    I have some problem:
    I use BIP standalone for my reports. Some reports are in Excel (with Excel template). When I run it on PC with WinXP - all is OK. But, when I try to run it on PC with Win7, then Excel is opening and writing this "Native file format and file extension does not mismatch. Before open be sure of file does not damage" (this is my translation). If I try save file on the hard disk, then file is 0 kb. But if a report has RTF-template, then it opening normaly on Win7's PC.
    Have you any ideas?
    Thanks!

    option1:
    The query should be same @ detail level, only the template has to be different for summary and details.
    @runtime, user can choose to see the detail/summary
    Disadvantage, if the data is huge,
    advantage , only one report.
    option2:
    create two separate reports summary and details
    and create diff data and diff layout and keep it as different report
    Advantage, query will perform based on the user run report, summary/detail, so that you can write efficient query.
    Dis advantage , two reports query/template to be maintained.

  • Loading new labview exe files from a running vi

    Hi! Me again
    I've been thinking about another way to reset my running application (some data doesn't get reset due to it being in a case structure...(see   http://forums.ni.com/ni/board/message?board.id=170&message.id=145525&requireLogin=False    for details   ).
    What I would like to do is to be able to open a simple menu labview exe file, while closing the main file.  This would enable the user to quit labview at the click of a button, or reload the main exe, freshened up , and then the menu closes.  I can get vi's to open and close but an exe file would be supurb, as it can be used from the start, without needing a run button.
    I've been fiddling with invoke method : open fp and loading a vi rather than an exe file.  I'm sure it can be done.  Bear in mind I'm a chemist, not a programmer, so some terminology may be lost on me, but examples are not

    Hi Fios,
    Why don't you just use the system exec.vi, found at All Functions >> communications >> system exec.vi
    then you just put the full path to the executable in "command line" and set "Wait until completion?" to False
    This will open your LV exe and then you can use VI server as you described in your post.
    Regards
    JamesC
    NIUK

  • Want attach the XML data file with layout template in Oracle 10g

    Hi All,
    I need a help from you genius guys.
    I am genrating reports in BI with xml the procedure which I am following is as below.
    1. generating XML from the RDF
    2. creating a template in .rtf format
    3.after that loading the xml to the template then getting the required report.
    This all is doing through the given buttons
    But now my requirement is to create the gui from user can select the report and get the desire output file so how we would be able to attach the XML data file with layout template in Oracle 10g.
    If you require more detail please let me knnow.
    Thanks,
    Harry

    I am not using Oracle apps.
    I am using oracle 10g reports and I get something in it like one patch I downloded and one java code is having which creates the batch file ...still I am working on it ..
    If you will get some please share so that it will be helpful.
    Thanks,
    Harry

  • How To Run An External .exe File With Command Line Arguments

    Hiya, could anyone tell me how I can run an external .exe file with command line arguments in Java, and if possible catch any printouts the external .exe file prints to the command line.
    Thanks.

    Using the Runtime.exec() command. And read this:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • How to execute one .exe file with as3 in air ?

    Hi
    How to execute one .exe file with as3 in air?
    I want do this work without fscommand .
    plize help me .

    itsdhanasaraa wrote:
    But as this a web application ... By using Runtime i'm getting some probs ..
    Let me guess, you want your web application to run a program on the client and to your surprise that's not working?
    Ain't gonna happen.
    its taking more time to execute .... that's y is there any other option to execute .exe file other than Runtime.getRuntime().exec("filename");Write proper English and you may be taken more seriously.
    1) it's not "taking more time to execute", whatever that's supposed to mean.
    2) there's no other way to execute something. Not that you should every use even that way anyway
    3) whenever you start thinking of executing external programs from Java, start thinking of not using Java in the first place.

  • Viewing .exe file with video

    I am trying to extract an exe file with client video that is theirs. Is there a way to extract this? All efforts have failed.

    Any file that comes into your Mac without a proper suffix or extension can appear to the OS to be a .exe. Try changing the extension to .mov, .flv, or .wmv and see what happens.
    fi that does not work, your client must provide you with a proper media file.
    bogiesan

  • How to create a .exe file with eclipse 3.1

    Hello every body. I want to know how create a .exe file with eclipse 3.1. A friend tell me it's possible but he forgot how ! So I ask my question ay you, how can I do that? I think it's like in Dev-C++, when he compiling the programme he create
    a .exe file but in eclipse, i don't know how do that. Please help me, I have finish some programs but I don't know how create .exe file for give their at my friend.
    Thank's.
    P.S : I'm a young french so maybe there are some mistake on my post. I hope you understand it.

    There might be a plugin in eclipse to do this, but I don't know what it is.
    The normal way to deploy a program is to create an executable jar file. This will be a .jar not a .exe.
    Or you can try ggogle.
    http://www.google.co.uk/search?q=java+exe

  • How to open TXT file with excel 2007

    With Excel 2003  if we right click the txt source file name, there will be an option to open the file Excel, but with Excel 2007, then we right  click txt fiel name , there is no option of open the file with excel, is this mean that we have to copy the txt file to excel file to manipulate the source file? Any idea how to do this?

    just find out that we can use the browser to find the excel and open the file, next time the excel option will be there.

  • Is it possible to create a vi-file in an .exe file with labview 6.1i? and how to create it?

    Hello,
    I want to create a vi-file into an exe-file but don't know how to do it with labview 6.1i.
    Maybe somebody here can give me hints to do it!
    thank you very much!

    To build EXEs you need the application builder. To see if you have it, open the tools menu. If you have an option named "Build application or shared library", you're OK. Just open it and you can set up your app there. To run this application, a computer would have to have the LV run-time engine, which can be downloaded from the NI site. For the first time you deploy the app, you should use the app builder to create an installer, which will install the run-time engine as well as your app.
    If you don't have it you can purchase it seperately from NI.Message Edited by tst on 03-17-2005 10:42 AM
    Try to take over the world!

  • Issue in generating "XSL" file from excel template

    Hi,
    I am trying to genreate "XSL" file using ExcelProcessor class using below code snippet.
    FileInputStream fIs = new FileInputStream("D:\\Test.XLS"); //input excel template
    FileOutputStream fOs = new FileOutputStream("D:\\Test_OUT.XSL"); // output xsl
    ExcelProcessor excelProcessor = new ExcelProcessor();
    excelProcessor.setTemplate(fIs);
    excelProcessor.setOutput(fOs);
    excelProcessor.process();
    I am getting the below exception.
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
         at oracle.xdo.template.excel.object.SheetObject.addComponent(SheetObject.java:155)
         at oracle.xdo.template.excel.object.BookManager.collectAllNameObjects(BookManager.java:249)
         at oracle.xdo.template.excel.object.BookManager.process(BookManager.java:147)
         at oracle.xdo.template.excel.ExcelController.parseExcelTemplate(ExcelController.java:304)
         at oracle.xdo.template.excel.ExcelController.generateXSL(ExcelController.java:259)
         at oracle.xdo.template.excel.ExcelController.process(ExcelController.java:237)
         at oracle.xdo.template.ExcelProcessor.process(ExcelProcessor.java:244)
         at com.ofs.reveleus.rrs.services.GenerateRReportExcel.main(GenerateRReportExcel.java:159)
    Can someone please help me out with this.?
    Thanks,

    .xsb is not allowed to be uploaded in oracle EBS R12
    I registered the template definition of type 'XSL-FO',It allows me to upload only .xsl file.
    The import command for .xsl file mentioned does not work in Oracle apps R12,Program still completes with warning.
    Please advice on this.
    Thanks in advance
    Shwetha

  • How to run .exe files with DAQ on a target PC?

    Hi,
    I want to run LabVIEW executable files on a target PC, where there is no LabVIEW installed. These files are used to do measurement using DAQ devices.
    In order to run these .exe file, I guess that I should install both LabVIEW Runtime Engine and NI-DAQmx on the target PC. Is it right?
    I'm wondering if it is mantatory to install NI-DAQmx on the target PC. I tried running .exe files without NI-DAQmx installed, but there was an error: nilvaiu.dll couldn't be found. Shouldn't this file be included automatically when building the executable files?
    Thanks,
    Qifu

    No, none of the hardware drivers are included in the LabVIEW exe that you build. You have to install DAQmx. With LabVIEW 8.x, you can include the DAQmx driver with the installer that you create. You also have the option to install different versions of DAQmx. These different versions are smaller than the full DAQmx install (i.e. you may choose to install documentation, MAX. etc.). When you create the installer, you also inclue the LabVIEW run-time and you should also choose to install the hardware configureation that is in MAX.

  • I have Labview 5.0 and I can't run a program it gives me a runrime error C++ relating to the Labview exe file. Do you know where to start to fix this?

    I've had this version for quite a long time and haven't had any problems with it. When I start Labview normally it seems to work fine I can look at individual Vi's and such but when I go to start a Vi program or even the tutorial it gives me a "Runtime error message C++ 
    C:\Program File\National Instruments\LabView\LabView.exe  abnmormal program termination." I'm not sure if it is a computer problem DAQ card (PCI 6023E) problem or a software glich. If you have any ideas of where to start tracking this down please let me know ASAP. It is a work stoppage situation.
    Thanks for your consideration
    Maurice Massey
    UES,Inc

    Have you tried doing a repair or reinstalling?

  • Can run .exe but cannot use .exe file with 64 bit operating system

    I built an application in labview (32 bit) in xp. The exe file generated from the labview 2009 is able to function well in windows vista (32 bit). For this i installed run time engine and since my application requires vision tools so i also installed the vision run time engine 2009. The application reads values of a device (from microcontroller) from the virtual com port (through USB).
    Now the problem is the .exe cannot response in Windows 7 (64 bit). For this i installed Run Time engine 2009 (for 32 bit) and also vision run time engine. The exe runs but does not read any value from the COM port and does not response any thing.
    This is somehow related to 64 bit operating system. 
    Further to mention, the control input for 'VISA resource name' input of 'Visa Configure Serial Port' block generally detects the COM Port where the device is connected (e.g. COM1, COM2 etc)  and used to display the choices (on drop down menu) but with 64 bit operating system this is not happening.
    What could be the possible problem? I would be happy to know if someone has come across this problem or if someone can help me to solve this problem.
    Simply i would like to run an .exe application build in 32 bit to run in an operating system of 64 bit. This application has VISA and Vision motion tools.

    NI VISA is a software abstraction layer for different physical interfaces (e.g. RS232).
    I understood that your application is working with this in order to select and communicate with COM interfaces.
    MAX (Measurement & Automation Explorer) is the tool to configure and test NI drivers, in this case VISA.
    So if no COM shows up in MAX, you have a malfunction (or missing) installation of VISA.
    Norbert 
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How can I create a exe file with a tab control on it that work´s ?

    I have a VI with many controls and indicators,these are spread on a tab control.This tab control works with out any problems but if i create a exe file then the tab control is fixed. How can I create a exe file so that the tab control on it work´s ?

    I have made a new Posting with the same question but this time I added a screenshot of the VI.
    Attachments:
    project7.1.jpg ‏129 KB

Maybe you are looking for

  • Problem after updating to iTunes 10.5 on Windows Vista.. I can no longer access the iTunes store..

    Hi After updating to iTunes 10.5 on Windows Vista I have found that I can no longer access the iTunes store... I am left with a blank iTunes screen with the loading bar stuck at halfway.. All other features seem to work... only opening  the iTunes st

  • I have iPhoto 11, can I easily find and delete duplicate photos?

    Is there an easy way (without going through thousands of photos and deleting them manually) to find and delete duplicate photos that are in my iPhoto library?

  • Show size of rounded corners in Appearance palette

    Hi, I often use the Rounded Corners effect on objects, and I think it would be useful to see the size of the rounded corners in the Appearance palette. That is, it would be nice to see it automatically, without having to click on "Round Corners" to o

  • Selecting multiple rows using column header with checkbox in it.

    Dear All., I am trying to select multiple rows with checkbox in column header but it doesnot works... Following is my codel <af:table value="#{bindings.xx.collectionModel}"                       var="row"                       rows="#{bindings.xx.ran

  • Premiere Pro Slow

    I'm running Premiere Pro CC on a 5K iMac, 4GHx Intel i7, 32 GB Ram, AMD Radeon R9 M295X 4096MB VRam.  And it is really sluggish. For example, I have a project shot on the BMPCC in ProRes HQ, and 4K files shot on the FZ1000 in mp4 codec.  I multicam a