How to save to data into another file in the Report Generation Toolkit

I read a doc template and wirte many data and bmp into it. I want to create a new doc file with my own name,
But in my test, data will be writen into my template. If user don't notice it, my template will be overriden. Can
I save to a new file in my program? please help me about it.
Thanks.
br

HI, NIhuyu
thank your answer.
I will try it.
Can you tell me the meaning of star out and end out of vi?
I am not clear about it.
Thank your very much.
br

Similar Messages

  • Is it possible to insert data into two Excel worksheets using Report Generation Toolkit?

    I'm using the toolkit to insert data into two separate worksheets in Excel using named cells. The problem is that it tends to favor one sheet or the other. In other words, one sheet will have data and the other no data and vice versa. (Sometimes I get data in both sheets.) Is there something I can do to clear this up or is what I'm trying to do unreasonable? I would like to use two worksheets so one sheet receives text and data. The other sheet is used to format the data into a printable report. (i.e. using Excel's CONCATENATE function) The second (report) sheet is also used to receive plots (JPEG files) from LabVIEW. I'd send the plot images to the first sheet, but I can
    not see a way to automatically transfer images from sheet to sheet. I'm using LV 7.1, Win2000 and Toolkit v.1.0.1

    Hi,
    You can use the "Excel Get Worksheet.vi" under All Functions >> Report Generation >> Excel Specific >> Excel General to specify a particular worksheet as the current worksheet. Then, you can specify which worksheet you want to write to in your VI.
    Let me know if you have any further questions and good luck!
    Kileen C.
    NI

  • File Dialog and Report Generation Toolkit

    Hi,
    I designed a VI for an electrometer calibration and it works quite well The only problem I have is the following:
    I used the Report Generation Toolkit to put the measurement data in an Excel file. When I run the VI I'd like a window to pop up to define the location and name of the Excel report file. If these two things are done LabVIEW should create the specified Excel file and run the rest of the code.
    So i tried this with the "File Dialog" Vi and all the needed low-level File I/O VIs and it worked.
    But when i connect the "File Dialog" VI with the "New Report" VI of the Report Generation Toolkit I get an error message.
    Is there any solution to get this file dialog pop up window with the Report Generation VIs?
    thx for any help...!
    Message Edited by Flea on 12-15-2005 03:58 AM

    Wow, thanks for your fast and very helpful reply devchander!
    I already tried this and it works fine
    thx!

  • How to use the Report Generation Toolkit to get a list of bookmarks in a Word Template

    I am working on a project where I will need to use the Report Generation Toolkit to fill out a fairly long Word Template. The MS Office Report Express VI can only have inputs for a maximum of 17 bookmarks which is not nearly enough for what I am needing to do.
    I'm wondering if there is some way to use the lower level report generation VIs to read the word template and return a list of the bookmark names as a 1d array of string. The dialog box that you use to set up the Express VI has this capability but I'm not finding a way to scan the document programatically.
    I'm sure I can't be the first person to run into this issue and I'm hoping that someone out there has found a good solution.
    Solved!
    Go to Solution.

    Wordsub.llb should be somewhere in your Labview folder on your local drive. The path to it in my install is: C:\Program Files\National Instruments\LabVIEW 8.6\vi.lib\addons\_office\_wordsub.llb
    Also what specific problem are you referring to about 17 bookmarks? Is that the limit on the express style VI for filling them in from LV? If so what you will need to do is to use the lower level function 'Word Insert Field' under Word Advanced VIs. You will need to supply the VI the name of the bookmark and the text you want to insert.

  • How can I create a Report with the Report Generation Toolkit?

    Hi,
    I have installed Labview Report Gerneration Tool for Microsoft Office Version 1.1 and now I want to use MS Office Report Express VI but it need the VI "Dflt Data Dir.vi". I don't have this on my computer, why? Where can I get this VI? Can somebody help me?
    thanks Labprog

    Hello Labprog
    This VI should be located in the file.llb in the folder
    ..\vi.lib\utility. Thus, it is not part of the report generation
    toolkit but of LabVIEW. I am not sure why you are missing that file on
    your PC, maybe you just did not find it because it is hidden in a LLB.
    Maybe this LLB is not part of your LabVIEW package (Base, FDS, PDS).
    Anyway, I'll attatch that little VI, hoping that this is the only one missing.
    Ingo Schumacher
    Systems Engineer Sound&VibrationNational Instruments Germany
    Attachments:
    Dflt Data Dir.vi ‏11 KB

  • Inserting an image into a Word Table with the Report Generation Toolkit.

    I was wondering if it was possibe to use the Report Generation Toolkit to place an image into the cell of a table in a Word document?
    Solved!
    Go to Solution.

    Hi,
    Yes, you can do this by using the Word Edit Cell VI under Report Generation>>Word Specific>>Word Tables in your block diagram functions pallette.  After creating a table, you can edit specific cells and send the file path of the image saved on your computer to that specific cell.  I put together an example that I've attached here as well to help you out with this.
    Regards,
    Austin S.
    National Instruments
    Academic Field Engineer
    Attachments:
    RGTWordImageInTable.vi ‏14 KB

  • How do I use page numbering and a text block in a footer in Word with the Report Generation Toolkit?

    I am creating a Word document with the Report Generation Toolkit, and LabVIEW 8.2.1. In the report I am using a template that has page numbering enabled in the center. When I try to add a text block to the left side footer, it eliminates the page numbering and adds my text on the left side. I found "Set Report Footer Text" and "Word Set Page Numbering" vi's that may be the clue to this. When I use these two vi's I either get Page 1 of 456789-001 on the left side, or if I reverse the order I get only 456789-001(text) in the left side with nothing in the center. What I would like to achieve is 456789-001(text) on the left footer, and Page 1 of 2 in the center. Is this possible and if it is, then how can I do it?

    Hi SciManStev,
    I have attached a vi where you can see how they can be made to work together. You have to design it such that one follows the other. If you don't design it that way, it results in a race condition and only one of them get executed.
    Good Luck!
    Warm regards,
    Karunya R
    National Instruments
    Applications Engineer
    Attachments:
    SciMan1.vi ‏14 KB

  • How do I put data into a template using the Labview report generation toolkit for Microsoft Office?

    I am running Lookout 5.0 and have recently purchased the Labview Report Generation Toolkit for Microsoft Office to create reports from my Lookout logged data. Since I have never used Labview I am having my problems. I tried following the tutorials but they do not seem to be examples of what I want to do.
    I log rainfall totals (1 spreadsheet)in Lookout from 40 different sites in 5 minute increments. I copy these totals and paste them into another spreadsheet which sums them up to give me hourly totals and then paste those totals into a spreadsheet for distribution.
    In Labview I create a new report and use the distribution sheet as my template, but how do I complete
    the steps of loading the raw 5 minute data into labview and then paste it into the hourly total spreadsheet and then transfer those totals into the distribution template?
    I have been trying to figure this out for over a week, and I am getting nowhere.
    Any response would be appreciated.
    Thanks
    Jason P
    Jason Phillips

    Lookout saves the files in .csv form which can be opened in Excel. I did make some progress by using the "append table to report" vi which allowed me to put values into an array and then those values were entered into my template on my report vi.
    Where I am stuck now is I want to be able to put values into my template from a .csv file, not from an array I have to manually put numbers in.
    Once those values are in my template I want to pull summed values from the template and place them into a final excel file for printing.
    I have attached examples of the files I am working with to help you better understand what I am trying to do.
    I hope that makes sense.
    Jason Phillips
    Attachments:
    HourlyTotalsTemplate.xls ‏120 KB
    eb_rain_gauge_ss.csv ‏23 KB
    EastBankHourlyRainReport.xls ‏28 KB

  • How do I add a new worksheet to an excell file utilizing a template with the report generation toolkit?

    Hello,
    My vi is gathering data from a piece of machinery. At varrious points durring the process, my vi must create printable reports. I am using the report generation tool kit to do this. What I want to do is for every report generated durring the run, add it as a new worksheet in an Excell workbook. My excell template works fine for the initial master report and I can add new data to new worksheets. What I am having a problem figuring out is how do I add the new data to a new worksheet using an excel template? I have 5 different reports that need to be generated at different times with some more often than others. I would like all these reports to be in the
    same master excel file. Thanks in advance
    -Greg
    Gregory Osenbach, CLA
    Fluke

    Hi Greg,
    There is no built-in support in LabVIEW to add a new worksheet to an existing Excel report simply because this functionality does not exist in the Excel application itself.
    My suggestion would be to open up the template you wish to use for the new worksheet. Copy the cells from the template and paste them into your new worksheet that you've created. Then close the original template and you have another copy of the template in which you can populate with data values.
    I have attached an example program of how to Copy and Paste a Cell in Microsoft 97 Using ActiveX in LabVIEW to this post. Hope this helps!
    Kileen C.
    Applications Engineer
    National Instruments
    Attachments:
    XL_cell_copy_and_paste.llb ‏76 KB

  • Open an existing Excel file created by Report Generation Toolkit

    How would I open an existing Excel file that has been created by the LabVIEW Report Generation Toolkit?
    Let me explain my application. I have made a test program to collect data on a device. Each time I run the program I want it to append a new row onto an existing data file. Since the tests I do are sometimes over a period of days, I cannot keep the program open and running continuously. So I have to open an existing file and append the new data to it. In technical terms, what I need is to get the 'report out' reference to the existing Excel data file without losing the data that is already there.

    For info on accessing Excel do a search in the examples for the word "Excel" you will get an example that shows how to open a spreadsheet and manipulate the data. This should get you started.
    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 create a working link anchor in an EXCEL document with the report generation toolkit?

    I am using the latest report generation toolkit and want to add links on the first worksheet pointing to the other worksheets in the same document.
    I am using the "Append Hypertext Link Anchor to Report" VI. The links are created, but don't work when clicking them.
    Question now is: How does a link to a cell on a different worksheet needs to look like?
    It can not be that complicated but all variations I tried did not work and I could not find any information about this problem. So any help is appreciated!
    Thanks and Regards,
    Ingo
    Solved!
    Go to Solution.

    Thanks, Brian, for your support! - It's working.
    It's hard to understand why NI did not pass this parameter to the top of the call chain...
    I also needed some time to understand the syntax of the string passed to the subaddress node:
    The name of the worksheet needs to be framed by single quotation marks and the following cell address must preceeded by an exclamation point (!).
    A working link pointing to cell "A1" of "Worksheet 1" looks like:
    'Worksheet 1'!A1
    Maybe also of interest: If you want to point the link to a worksheet inside the document itself, the parameter "address" (URL of link - href) can be left empty.
    Thanks and Regards,
    Ingo

  • How to save LabView data into diadem format ?

    I have a project that needed me to save in Diadem format.
    Is it the correct way to save in Diadem format ?
    Why the length of the data is only limited to 10000 and then will create another tab ? And how to edit the header name ( what I want is Time,Channel0,Channel1,etc) ?
    Attachments:
    TDMS.vi ‏493 KB
    TDMS.zip ‏774 KB

    Your question makes no sense since that VI does not have any TDMS file functions. You are also creating a header in the text file but not according to what you say you want the column names to be.

  • How to export waveform data into text file

    Hi..
        I am trying to export my waveform graph data into write spreadsheet file. When running the proram, I am getting graph values (values in a matrix) when checking with the probe. But once I save it to a text file, the values recorded are just zeros. I have attached the text file along with this. Could anyone please tell me why the graph data is not recorded in the spreadsheet? I have extracted the Y component of the graph and then wired it to the write to spreadsheet function. It seems like the labview is getting the data.. but now the problem is how to get the data out of labview?

    Please find the attched image of the whole program. I tried running the program after removing the array to matrix but still I am not able to export the graph values to spreadsheet. The program as a whole is working as I am able to display the oscilloscope graph into the waveform graph but I am not able to export the values. When I tried using probes, I am getting differnet matrix values till the end of the connection given to 'write to spreadsheet' but not able to export the values. The second image shows the write to spreadsheet file inside the while loop as i thought it will reduce the memory.. but it is still not working...
    Attachments:
    Scanner complete program.jpg ‏713 KB
    full scanner program 2.jpg ‏664 KB

  • How to extract Oracle data into Excel file?

    For a small automation project I have to extract data from a table/
    tables and append it to the existing excel file and feed that excel
    file to a command that will load data into some other environment. I
    am totally new to this. So to get started I wanted to know,
    1) How to extract data from sample table Foo which has columns A,B,C
    and append these values as new columns to an existing excel say
    fooresults.csv ?
    2) Can I achieve this in pl/sql script or do I need to write unix or
    perl script or some other programing language, please advise?

    The "extract data from a table" part is easy, you could do that with VB/ADO, or .NET/ODP.NET. It's then a matter of taking that data and appending it to a spreadsheet that might be the hard part, and how you'd do that exactly is really more of a Microsoft question than an Oracle one.
    If you want to be able to do this from the database itself and your database is on Windows, you could use either [.NET Stored Procedures|http://www.oracle.com/technology/tech/dotnet/ode/index.html] if you can manipulate the spreadsheet in .net code, or you could also use Oracle's [COM Automation Feature|http://www.oracle.com/technology/tech/windows/com_auto/index.html] if you're handy with the COM object model for Excel.
    How you'd do that exactly via either .net or com or vb is the crux of the problem and is something you'd need to know before it turns into an Oracle question, but if you already know how to do that and now just need to figure out a way to do that from Oracle, either of the above might help.
    Hope it helps,
    Greg

  • How to save ALV data into DB after Editing values in WDA

    Hi All,
    I have created a WD application with and able to successfully make columns editable in ALV. But I failed when trying to save the edited data in database.
    I use ON_CELL_ACTION event but its not working as of now. I go through few blocks but ultimately i got confused. Please guide me in correct way.

    Hi Sanjib,
    ON_DATA_CHECK  event is triggered every time when you change the data in table
    For this event, you have to implement an Event Handler method in which the logic is written.
    There is already a thread where this question has been answered:
    ALV Edit how to save changes to DB??
    I would suggest that you search more on scn before starting a discussion
    Regards,
    Ashvin

Maybe you are looking for

  • Apple Mail Setup (change the way the view is on my end)

    I need to hire someone about 13 on retainer, just to answer what I THINK should be easily answered questions. I have looked for about 15 minutes, searching for suggestions, others with similar issues, and at the end of the day, I F I N A L L Y found

  • Picklist in Advanced Search View

    Hi everybody, I've got a problem using dropdown list in an advanced search view in the WEB CLIENT UI CRM 7.0 in a Z component , here's the thing: I have 5 search criteria, and I need to make them dependent from each other, I mean, if the first field

  • External webcam - mac mini

    Hi I'm going to buy a Mac Mini. I'll use my TV for screen.. I want know which one webcam will work with mac mini?  logitech c920? or there have other model?

  • Cannot pair my magic keyboard through Bluetooth.

    Hello, My Magic Keyboard does not pair with my Mac. I'm running Mavericks (OS X 10.9).It's detecting my keyboard but won't let me enter the password number or freezes halfway through the finalisation process. I've trashed the plist.com.apple bluetoot

  • Can I copy font attributes to many titles at once?

    Hi, I really like that CC has introduced the ability to create copies of a title on the timeline... but once you have many, many titles on the timeline is it possible to copy and paste font attributes from one title to all the others? I need to chang