Html report generation save to same VI folder

Hi all,
            Im creating a sample html report using labview6.1. my question is i want to save my report html file to the current directory where the vi is located instead of giving some path like " C:\Folder1\Folder2\..." etc . My intention is to put the VI in a zip file so that i can send it to my friend and when he runs it its easy to locate the report since VI and report are in same directory..
Any methods to do so??
Steve.
Solved!
Go to Solution.

Try this
Message Edited by Baji on 05-13-2009 11:08 AM
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better
Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
Attachments:
Get current dir path.JPG ‏9 KB

Similar Messages

  • How to make Excel 2010 save a HTML report as a file without a folder created

    We have a HTML report generated by Oracle Report with headers as below:
    <html xmlns:v="urn:schemas-microsoft-com:vml"
    xmlns:o="urn:schemas-microsoft-com:office:office"
    xmlns:x="urn:schemas-microsoft-com:office:excel"
    xmlns="http://www.w3.org/TR/REC-html40">
    In Excel 2010, after pressing the "save" button (not "save as"), it will by default save the report as web page format instead of xls, a folder "xxx.files" containing some css, xml and html files are created
    in it. If user deletes the folder carelessly, the excel report cannot be viewed at all.
    In Excel 2003, we can save it directly in its original format simply by pressing the "save" button, without creating a folder. May I know if there are any options in office 2010, macro or registries settings that can make
    Excel 2010 to do the same as Excel 2003 when pressing the "save" button? Thanks!

    Hi,
    According to your description, you want a workaround to avoid creating a new folder when saving a html file in Excel 2010.
    In my opinion, this issue is more related to the feature of HTML format or Excel 2010 application rather and I don't think we could resort to a macro or registry settings to avoid that. I suggest you posting it in
    Excel IT pro forum for more effective responses.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • HTML report generation

    How can I set permissions on an HTML / tab-delimited file such that only the creator can write to it and everyone else has read-only permissions?

    Check this out:
    http://zone.ni.com/reference/en-XX/help/lv/71/glang/Setting_Permissions/
    http://zone.ni.com/reference/en-XX/help/lv/71/glang/Access_Rights/

  • Scheduling a BI Publisher report and save the results in an external folder

    Hi ,
    I have a requirement like...i need to schedule a BI Publisher report and the saved results(downloaded file of the BI Publisher report) should save in an external folder automatically.
    My development instance is Windows and my Prod instance in Linux and i am running on OBIEE 10.1.3.4.2.
    Thanks in advance,
    Pramod.

    Hi ,
    I have a requirement like...i need to schedule a BI Publisher report and the saved results(downloaded file of the BI Publisher report) should save in an external folder automatically.
    My development instance is Windows and my Prod instance in Linux and i am running on OBIEE 10.1.3.4.2.
    Thanks in advance,
    Pramod.

  • Change the HTML Report format the same as TestStand 2010 SP1 in TestStand 2012

    I have a lot of test steps (~10K)  that gets executed and the indentations on HTML report format in TestStand 2012 gets too deep.  I have to slide the horizontal bar to the right to see the report when l'm in the middle.  I did not have this issue in TestStand 2010 SP1.  
    Is ther a way to change the HTML Report format (style) the same as TestStand 2010 SP1 in TestStand 2012? 

    dexrays:
    We are currently investigating this issue. In order to help us with the investigation could you post a sequence file and configuration that reproduce the problem? The configuration file is located in C:\ProgramData\National Instruments\TestStand 2012\Cfg\ModelPlugins\ResultProcessing.cfg for Windows Vista / Windows 7 or you can use the Cfg link in the TestStand 2012 installation directory. 
    You can use the Legacy Model Switcher (included in TestStand 2012) to use the legacy models instead of the new models. The legacy models are more backward compatible, however, this also means that you will not be able to use the improvements in the new models (for example, the new plug-in architecture). If this is acceptable then you can use the legacy model switcher to switch to the legacy models. The Legacy Model Switcher is located in the Start Menu under Programs->National Instruments->TestStand 2012->Tools->Compatibility. For more information on Legacy Model Switcher please read the online help.
    Thanks for your report and for your help with diagnosing this issue. 
    - Francisco

  • Report generation, Excel isn't closed in the Task manager (LV2010)

    Hello everybody,
    I attached a simple example, to explain my problem.
    I tried (with Report generation) save data to Excel. That works fine. My problem is: in the Task Manager I can see the Excel.exe.
    Does anybody have a idea or a solution, why Excel don't closed?
    If I open and close the saved Excel file, the Excel.exe disappear in the Task manager. But this should not the way.
    many thanks in advance
    zäpfle
    LV2010
    Solved!
    Go to Solution.
    Attachments:
    Example_Forum.vi ‏19 KB
    Example.xls ‏55 KB
    Auswertung_Example.xlt ‏51 KB

    Hello zäpfle,
    This is actually a known issue and already reported to NI R&D. As you mentioned, to solve this, you have to open and close the Excel report (with Word report everything seems to be fine). Since the task is closed just after the VI closes or open-and-close Excel, it seemed that not all references would close properly. The issue though isn't with properly closing the references, but rather deeper.  However, a possible workaround would be to programmatically end the process just after closing the reference to Excel.  Here is a link to a community example that demonstrates how to do just that:
    Kill a task in Windows using System Exec.vi
    https://decibel.ni.com/content/docs/DOC-9275
    Hope this helped. I am sorry for the inconvenience!
    Kind regards,
    Ioannis Karakatsanis
    Applications Engineering
    www.ni.com/support

  • HTML Report Problem

    Hello,Who can help me to check out the problem in my VI.The graph won't be shown after generate.
    Attachments:
    HTML Report Generation.vi ‏56 KB

    I had no problem running this VI.  Since I didn't have the VI you are using with Append Front Panel Image to Report (your VI is called X crossing3.vi), I used my own VI with a chart on its panel...when I generated the report, it came out fine.  Do you have the X crossing3.vi open when you run the HTML Report Generation.vi?  Since you are using the VI name as a string (as opposed to a path), the VI must be open when you run the report generation VI, otherwise no front panel will be appended.  If your X crossing3.vi is not open for whatever reason, you can wire a path to Append Front Panel Image to Report instead of a string.
    I hope this makes sense.  If you're still having trouble, please attach any additional VIs to your response that I would need to reproduce the problem.  Also, give me the exact steps to what you're doing, and the resulting problem you're seeing.
    Good luck,
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • How do I save a Report to file using Report Generation vi's?(not HTML)

    Hi,
    Sorry about re-stating the problem.   I am using the Report Generation vi's to create a report. There is an option to save HTML reports to file, however I must use Standard Report because I need to print in Landscape mode. HTML reports will not print in Landscape. One of the requirements is to save the report to file on the hard disk. I have tried to use the standard Open File and Write File vi's. A file is created, but the report is not saved into the file. How do I connect a report so that it will be saved in the file? I already tried simply wiring the report refnum into the data input of the Write File vi.
    I have attached an example of my code.
    I am using V7.1 Full Version.  I have V8 available if that is any help.
    Any ideas?
    Thanks,
    Chris
    Attachments:
    ReportExample.vi ‏52 KB

    I did find this KB: How to Save Standard Reports?
    Attached is an example of how to do this.  You will have to relink the subVI's or else you will have a broken arrow. One is in LV7 and the other is in LV8
    Message Edited by Sam R on 12-15-2005 02:25 PM
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~
    Attachments:
    Standard_to_HTML_LV70.zip ‏23 KB
    Standard_to_HTML_LV80.zip ‏29 KB

  • Report Generation Toolkit Print HTML Problem

    Hi,
    i have a problem printing a html Page at a Costumers PC with the Report Generation Toolkit.
    I use LV 2012 and the Report Generation Toolkit in 32Bit Mode.
    The Target is a Win7 64Bit Machine with IE10 of our Customer with very strong security rules.
    Our Programm generates a HTML Repor which is saved without any problem.
    When i then try to print it with Print Report.vi it doesent work and i get error1 out of the SubVi NI_ReportGenerationCore.lvlibrint HTML Report using IE.vi.
    This Sub.vi simply cant open the HTML Page with the IE.
    I think its the costumers Security Rules that cause the Problem.
    I saw a very strange behavior of the IE.
    When i double click the .html file the IE gets opened and displays the file properly.
    When i then hit the reload button it also gets reloaded.
    When i click in the browsers adress bar and hit enter (Which normaly does a reload) i get an error "Adress Bar, Adresse, access denied".
    And i think that happens in the Sub.vi.
    I talked to some friends an they sad it could be that double clicking and reloding is done with the local user an the clicking and hitting enter reload is maybe the systemuser.
    So i asume that the Sub.vi is also using the systemuser.
    How can i determin which user is used to execute a vi?
    Can i influence the user?
    Has anybody a solution and seen this problem?
    Regards,
    westgate

    If I understand your situation correctly, you are able to use the LabVIEW Report Generation Toolkit to create an HTML report, which you save as an HTML file.  Can you open it in a browser and print it using the browser's Print button?  I've use LabVIEW to generate HTML reports, but have never tried to print the Reports in LabVIEW -- I've always used the "browser route", myself.

  • Report generation vi's-save report to file.vi

    I am a new user of LabVIEW. I'm using the Report Generation Toolkit VI's to do some customized reports.
    1. how can I stop the report from popping up on the front panel when I initialize the report to be done. I know you can use "minimized" but that takes a few seconds to minimize and I would like to NOT see the report I'm generating pop-up at all.
    2. I want use this customized report and constantly be saving data when a reset button is pushed. That is save the time stamp, the change in data etc on a continuous basis in 1 folder. Right now when I use the "Save Report to File. Vi" it over writes the previous data saved and all that data is lost. I need to be constantly saving all the data generated to be able to look back at it.
    Thanks.

    Hi shaef,
    Which version of LV and Report Generation Toolkit are you using?
    Assuming you are using LV 8.5 and RGT 1.1.2, then the attached screenshot should offer some help.  Basically, you need to wire in the existing file as your template in order to not just overwrite the old data.  You also need to make use of the series of 'Append' VIs that are in the toolkit.
    Let us know if this works for you,
    David_B
    Applications Engineer
    National Instruments
    Attachments:
    2008-03-23_165242.png ‏5 KB

  • Getting "Save File" permission message related to Report Generation Toolkit

    I started having this problem about a month ago.  It does not affect the operation of my project but is a minor nuisance, but a nuisance none the less.  I opened a couple of Excel Specific VIs.  I did not nor did I attempt to make any changes, I was just curious as to their content (truth is I wanted to see how the active X controls were being used).  Ever since then I get the attached messages when saving my project and have not been able to get rid of it.  When OK is pressed, a Save As dialog box appears (see attached) pointing to the NI directory which contains the Excel VIs for the Report Generation Toolkit.  I press cancel and am able to save my project VIs just fine, but I would like to get to the bottom of this problem.
    I would not think that simply opening a VI would cause this behavior.  I should also mention, it not only attempts to save the VIs I opened, but every RGT VI that is a part of my project, which is even stranger.  I have not attempted a reinstall.  I was hoping for something a little less drastic, and that won't prevent this from happening again, unless I can kill my curiousity that is. Is there a setting somewhere which I am missing?  Thanks in advance for your assistance.
    Reese
    Reese, (former CLAD, future CLD)
    Some people call me the Space Cowboy!
    Some call me the gangster of love.
    Some people call me MoReese!
    ...I'm right here baby, right here, right here, right here at home
    Attachments:
    Save Message.JPG ‏249 KB
    Save As Dialog box.JPG ‏305 KB

    It did not work.  In fact, it called out four bad VIs (see attached).  But I think this is probably normal behavior.  All the VIs in question are broken due to an unwired input on the bundle.  The bundle is the only thing in these VIs.  Could you please verify that this is the case.  It said the mass compile was complete and I am assuming that it did compile the rest of the VIs, correct?  Unfortunately I am still getting the same message.  Do you have any other ideas?  Anyone?  Thanks again for your assistance.
    Reese, (former CLAD, future CLD)
    Some people call me the Space Cowboy!
    Some call me the gangster of love.
    Some people call me MoReese!
    ...I'm right here baby, right here, right here, right here at home
    Attachments:
    Mass Compile Dialog.JPG ‏338 KB

  • Difference in the appearance of HTML vs. Standard reports generated with the Report Generation VIs?

    When I generate a "Standard Report" (to a printer or PDF) with the attached code, the output looks like this:
    If I instead use the same code to generate an HTML report, the output looks like this:
    Can anyone explain why the HTML output has had the extra spaces stripped out of it?
    Is there anything I can do to prevent it from happening?
    VI is attached (LV v11.0.1f2) but this is what it looks like...
    Attachments:
    Print Test.vi ‏47 KB

    SteveBale wrote:
    If you look at your html source the spaces are there. The problem is the way html is rendered it removes the spaces. You will either need to add in <pre> </pre> tags to tell the browser to include those spaces, or insert the string &nbsp; which the browser interprets as a single space.
    Regards,
    Steve
    OK, thanks. I guess I'll end up living with it the way that it is because
    using either method seems to also have the side effect of causing the output to become double-spaced and
    the only reasonable place to implement the change (so that it did not also impact the "standard report" output) would be within the report generation VIs and I'd rather not be modifying them.

  • How to open and save pictures from 1 folder at the same time?

    Is there a way to open and save pictures from 1 folder at the same time?
    I'm creating a vi that resizes the picture but I want to do it with 1 folder at a time... Is this possible?
    greetings!

    Hi Kway,
    Here you are. I wrote a file a customer times ago & It did what you want!
    Just see the attachements and keep me inform.
    Regards,
    Julien Roland - District Sales Manager
    NI Belgium - Technical Support
    Don't forget to rate a good answer
    Attachments:
    Test existing Files.vi ‏23 KB
    Delete files from array of files (SubVI).vi ‏16 KB

  • Report generation same Logo in multiple pages

    hi all
    In NI report generation (word) , how can i generate same Logo(small image) in multiple pages.
    I can able to generate Logo in single page. but i am looking for generating same Logo in multiple pages.

    HI
    You can create the Word template file and place logo in header
    Then generate report using word template file (you can use MS office Report express VI)
    Hope this helps
    Regards
    Santosh

  • Path to save problem in report generation toolkit

    Hi,
    I am newbie in LabVIEW. I am using MS Office Report.VI from Report Generation Toolkit, and I want to let the user to choose the save location for the report. I tried to wire path control to "Path to Save Report" input on MS Office Report.VI . But It doesn't work, It seems like the destination choosen from path is overlapping with the base file destination on "Configure Save to file options".
    How do resolve this issue??
    Thanks

    You are using an express vi hence you are limited in options. Express vis are a good starting point but if you need to customise , you may need to use individual vis.
    Try searching for 'office' in example finder (Help >> Find Examples), you will find a lot of them, chose one that suits you.
    Hope this helps.
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

Maybe you are looking for