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

Similar Messages

  • Problem with NIReport.llb\Print HTML Report using IE.vi on different machines

    We have 5 machines here in our workgroup which have the same state regarding security patches and other system updates. We recently found out that there is a problem with the NIReport.llb\Print HTML Report using IE.vi on the different machines.
    If I would open the VI on MachineA the control could be loaded. If I would open the VI on MachineB the control could be loaded. If I would copy the VI from MachineB to MachineA and open the VI the control could not be loaded. If I would copy the VI from MachineA to MachineB and open the VI on MachineB the control could be loaded. MachineB could load the version from MachineA and MachineB but on MachineA only the own version will load. I have seen that both versions have the same GUID for the Microsoft Webbrowser but are different in some other aereas.
    Since printing HTML Reports is part of the application which will be distributed as application I want to know if someone else have seen such a behaviour or has got problems distributing an application.
    Also I want to know which additional information is stored in an Active-X container about the control beside the GUID.
    We have Win XP Prof SP2 with MS IE 6.0.2900.2180 on all machines in the workgroup.
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

    Hi Tom,
    this is the VI <vi.lib>\Utillitiy\NIReport.llb\Print HTML Report using IE.vi copied from a machine that can load and run the VI and it will print. On this machine the control in the VI is white.
    This VI will give the "Control could not be loaded" message on my machine.
    The file shdocvw.dll is 2006-10-23 16:18 size 1.460 KB and I verifyed that both machines have the same version of this file.
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions
    Attachments:
    Print HTML Report using IE.png ‏11 KB

  • Print HTML Report.vi doesn't scale properly.

    LV 8.5.1, Report Generation Toolkit, XP.  Our application uses the Print HTML Report.vi to print an HTML report.
    We found that on some installations the resulting page does not scale properly.  Instead of being one page wide,
    the printout is about 1.5 pages wide (and proportionately longer), leading to our report being truncated.
    Tried different printers, different print drivers, no difference.
    Finally we noticed that the affected computers all had Internet Explorer 6 installed.  Updating to Internet
    Explorer 7 fixed the problem.  Don't know about IE8, I expect that will work as well.
    Hopefully this will help someone else who runs across this problem.  I couldn't find any reference to
    an IE > 6 dependency in the Report Generation Toolkit readme system requirement.
    Matt

    Hi Charlie,
    The layout option is not wired to anything in the Standard, HTML, Excel and Word Report, but it is used in the Quick Print default case.  The Help document for this VI mentions that the layout option is ignored on Standard and HTML Reports but does not mention the Excel or Word Reports.
    This was discovered a little while ago in this discussion forum.  And a report has be filed to R&D by Ben.
    Justin Parker
    National Instruments
    Product Support Engineer

  • Correct URL path for images on HTML reports

    We are using Reports Server 6.0 and rwcgi60.exe to display HTML reports on the web. A number of our reports have embedded charts in them which get converted into gifs when the HTML report gets generated.
    The problem is that the HTML report has a <base href="http://machinename/cache/xyz.html"> at the top of the report. In our case, the machinename is the name of the web-server. However, when folks go to our website, they actually see our domain name rather than the internal machine name of the web-server. Hence, the images do not show up as the URL associated with the image is not accessible by folks coming from outside the web-server.
    Is there some setting that will help us set the base href associated with generated reports? Or is there some other way to get the reports to show up with images on the web?
    Thanks

    You can't change the base tag - but I'm not sure I understand the problem. If machinename.domain is the full name of the machine running the webserver, and this is what was used when calling the CGI, then this is what the base tag will have. Does your machine have 2 names or something - and only 1 gets resolved to some folks?
    Regards
    The Oracle Reports Team http://technet.oracle.com

  • Difference between pdf and html report format

    Why HTML report printouts truncate from the right-end side, compare to the pdf report format ?, do i need to change anything
    while running report through HTML format

    The printing from html output is majorly affected by browser settings. Once you try to change the left and right margins in page setup before printing, I solved this problem in this way , it may work for you. Let me know if it works or if you overcome it by other ways.
    with regards
    wara

  • Animated gif to html report

    Hello All
    Is it possible to save an animated GIF to a html report (for publishing to web and still maintain animation)
    Regards
    Ray

    Mike
    Firstly, thanks for showing an interest in my problem.
    I've done some searching here on the forum using keywords like html, animated gif, report etc, but haven't seen anything close to what I want to do.
    I csn save FPs as a whole into a html report, but am unsure where to even begin for an embedded item such as the gif.
    The animated gif was placed on the FP by simply cut and paste and I'm not sure how to go about saving just the gif (sans rest of the FP) to a html report and still maintain the animation properties.
    Regards
    Ray

  • HTML Report Viewer: No Print Button

    Greetings,
    I am using the HTML Report Viewer in an Asp.net Web Form.
    My problem is there is no print button, even though
    ShowPrintButton="True"
    Any help would be greatly appreciated.
    Many thanks,
    Todd
    <rsweb:ReportViewer ID="MainReportViewer" runat="server"
    ProcessingMode="Remote"
    Width="100%"
    Height="100%"
    ShowExportControls="True"
    ShowFindControls="True"
    ShowParameterPrompts="True"
    ShowPromptAreaButton="False"
    ShowRefreshButton="False"
    ShowPrintButton="True"
    ShowZoomControl="True"
    ZoomMode="Percent"
    BackColor="White" >
    <ServerReport DisplayName="MainReport" />
    </rsweb:ReportViewer>
    Best, CM+

    Hi CM+,
    In your scenario, which browser are you using? In Reporting Services, the ReportViewer control is used to embed report functionality in an ASP.NET Web application. Not all report functionality is supported by all browsers. Print button is hidden in any browser
    that is not IE because ReportViewer uses ActiveX for client printing which means no other browser other than IE can handle it. You can try the following approaches as workaround for this issue.
    Cross-Browser Printing with Asp.Net ReportViewer
    Hope this helps.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • Cannot choose printer when printing HTML report

    Hello,
    I have lost many many hours trying to print correctly a report that is composed only of a JPEG image.
    After a conversation in the forum, I concluded that the LabVIEW has a bug printing Standard Reports, as it cannot manipulate correctly the margins and the scale of the image. But, when using Standard Reports I could choose which printer to use.
    So, I use HTML Reports that print the report smoothly, but the choise of the printer has a problem. No matter which printer is chosen by a Ring Menu, it prints to same printer all the time.
    Could you please give me any hint to solve this problem?
    I attach the corresponding code:
    Solved!
    Go to Solution.

    Hey guys, this is Paul with National Instruments.
    Being employed at NI I am obligated to provide a big disclaimer about the information I am about to provide:
    MANUALLY CHANGING YOUR WINDOWS REGISTRY CAN CAUSE CORRUPTION AND ERRORS IF YOU ARE NOT CAREFUL.  DO SO AT YOUR OWN RISK.
    With that being said, nikosfs was on the right track by editing his Windows Registry to perform this action.  Please see the following steps, and see if it helps further explain what you need to do:
    Open the Registry Editor. To do this, click Start >> Run and type "regedit", then press OK.
    Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows.   In this key there should be an entry called Device with values that should match up with your default printer.
    Right click on the Windows key, choose "Export" from the menu that pops up, and save the Registration File as printer1.reg.
    Leaving the Registry Editor open, change your default printer. To do this, go to Start >> Settings >> Printers and Faxes. Right click on the printer that you want your report to print to, and choose the option "Set as Default Printer".
    Go back to the Registry Editor, it should be noted that the value of the Device entry has changed to the new default printer. Right click on the Windows key again, choose "Export" from the menu that pops up, and save the Registration File as printer2.reg
    These two files may now be used to manipulate your default printer settings in conjunction with the System Exec.vi. The figures below show how to use the registry files and the System Exec.vi. 
    → The "/s" in the text field makes sure that this vi will run without interrupting regular user interaction.
    → The path constant is set to "c:\" because the Registration Files were saved directly in the C drive. Change according to location of Registration Files.
    Make sure that this operation is called before the Print Report.vi is called, as it will print just to the default printer.
    Paul Davidson
    Sound and Vibration Software Staff Product Support Engineer
    National Instruments

  • Printer Setup for HTML reports (Landscape)

    I'm trying to print an HTML report in Landscape, the Report Orientation VI only works with Standard Reports, and I can't find anything that will let me modify the "Printer Setup"
    Anyone done this?

    Jeff,
    To print an HTML report it first has to be rendered. To render HTML, you need a browser. For example, you can render HTML in either Internet Explorer or Firefox or Opera, and all three might render the same data slightly differently. To simplify the situation let's say that you're using IE. Once IE renders the HTML, you then have to get it to send the rendered output to the printer. So you can see why it isn't time or cost-effective for NI to try and necessarily support these functions. For the end user however, I'd guess that quite a few people have had this problem.
    I have had to do a lot of digging around to get HTML reports to print right. My solution has been to use an ActiveX container with an IWebBrowser2 object (Internet Explorer). This will let you load and print HTML reports programatically however (glancing back over some old code) I don't see immediately how you can print a report in Landscape. With an ActiveX container however you can call the IE print preview function which will let you (the user) modify the report printing to Landscape. It's not a programmatic solution since you have to interact with the GUI but it works. Also, once you set the setting to Landscape, everything printed afterwards using your ActiveX container will also print in Landscape.
    Something else which may not apply to you (but maybe--I'll at least mention it) is printing a landscape single image... that's usually why I needed to print landscape... to print out a full page screenshot of a graph or something. I do this in portrait mode by just attaching the control image but rotating it first and adding the HTML code to make it 100% of the vertical page.
    Last but not least, if you are 100% set on using a programmatic implementation to print a landscaped report (no user interaction), the best thing to do would be to build on an ActiveX implementation so that your report is being loaded and printed from an embedded IWebBrowser2 object. With the IWebBrowser2 object there is an option for using a pre-defined print template. This option is NOT for the faint of heart and requires you basically to re-program the whole IE print-preview functionality. However, it's not impossible either, it just takes the time of learning basically how the IE print preview interface works and then adapting it to your application (in this case, landscaped printouts). This is also the ONLY way to change HTML report headers and footers. The print preview interface in IE is written entirely in javascript--you can get details on msdn (search for "print preview templates"). However, there isn't really enough info there to do things with any ease. So....
    If you get to the point where you get an ActiveX container working and want to fool with the IE print preview javascript templates, let me know. I have extracted the entire template and associated images from the windows DLL it is stored in so I could adapt it and change the headers and footers for my reports and things of that nature.
    Now that I mention it, I believe that is the only way also to actually set landscape or portrait--by programmatically changing the printing margins (so it prints 11x8.5 instead of vice versa).
    Anyway, hope that helps...

  • Error according printing html report

    I bulid a vi to print HTML report but I have problem printing this report .
    I try ever to used some example which national Instrument bulid , such as Report Generation > Text
    Report, but ever in this example I couldn't print the file (HTML).

    Wisam,
    Could you tell us what procedure are you following to run that example? and also what version of LabVIEW you have?
    The way you have to run that example (Text Report.vi) is that when you open it, in the control that reads: "Report Type" you select HTML, and also in the control that reads "HTML Save Path" you set the path like for example "C:\test1.htm", now run it and you should have now the HTML format type report. I believe that you also have in that same directory of examples another one called : Example HTML Report Report, that one also shows how to print a report to an HTML file. Try the example you mention setting up the controls that I wrote above and it should work. If not please contact us and we can try to send you an original example and see if i
    t works. You can do it by this same means or by direct contact ( www.ni.com/ask ).
    Good luck!...
    Nestor Sanchez
    Applications Engineer
    National Instruments
    Nestor
    National Instruments

  • How to print an html report?

    In a Test UUT's execution, the process model generates and saves a html report. How can add steps to the process model to print the report each time? I'm thinking maybe somehow using an ActiveX call to open IE and then print (1 step or 2?), but I'm a newbie to ActiveX and don't know what server/class/method to use.
    ==============================================
    David Kaufman
    LabVIEW Certified Developer
    ==============================================

    Using Microsoft Word could be a good solution if you actually have it installed in the computer. In some cases, you may not want to have that application installed in the production floor for any reason (licenses, memory space...).
    I am attaching an example that shows how to print the report automatically after testing a UUT using ActiveX to communicate with Internet Explorer. It is more likely that any machine would have this application installed since it occupies a lot less memory space and it ships with any Windows OS. Furthermore, there are just 3 steps that do the trick!
    The attached zip file contains a modified sequential model. The entry points ("Single Step" and “Test UUTs”) have one new step that calls the "Print Report" sequence (also added to the sequential model). This new sequence has ActiveX steps that call two methods of the “Internet Explorer (IwebBrowser2)”object class exported by the “Microsoft Internet Controls” automation server. These two methods are:
    1) Navigate. Allows you to select the html file to load.
    2) ExecWB with the first parameter (cmdid) set to "OLECMDID_PRINT" (prints the loaded file) and the second parameter (cmdexecopt) set to OLECMDEXECOPT_DONTPROMPTUSER" (don’t show the print dialog).
    (For more information about these methods, please refer to the MSDN Library)
    The example will print the report after each UUT is tested. The "Print Report" step is set to run just if the Report Generation is not disabled (see its preconditions).
    This is what you need to do to run the example:
    1) Copy the contents of the zip file to: \Components\User\Models\TestStandModels
    2) Make sure that the “User Components Directoty” is checked in the Search Directories.
    3) Run any sequence using Single Pass or Test UUTs.
    WARNING: There is a known issue when using the printing capabilities of the Internet Explorer. This is what is explained in the MSDN library:
    "... Internet Explorer prints in the background. This means that the print processing is actually completed asynchronously in a separate thread.Upon return from ExecWB, the print processing may continue for several seconds or even up to a minute or two based on various factors such as the size of the content and how busy your system is currently. The problem is that if you start a print job and then destroy the WebBrowser or close your application before the background thread finishes processing, the thread will abandon its work and the page may not be completely printed..."
    There are 2 approaches to work around this problem:
    1) Use a delay before destroying the WebBrowser reference (which is done in the cleanup step group of the "Print Report" sequence in the example). This is the approached used in the example. The third step in the “Print Report” sequence is a Wait step. The step is currently set to wait for 3 seconds which has worked for me for almost any report sizes.
    2)In Internet Explorer 5 you can work around this problem by sinking the OnAfterPrint event. If you have started a print job, then you should wait to release the WebBrowser until after this event has been received. If you choose this approach you could use the ActiveX events capabilities of Labview or Visual Basic to create a small program detecting this event. There's a simple sample code provided in the MSDN library for VB.
    Enjoy!
    Attachments:
    SequentialModel.seq ‏169 KB

  • Firefox browser taking so long to print html report

    I am using Firefox 18.+ version on Windows XP machine. My application is reporting tool. Whenever I try to print the html report, the firefox browser is taking close to 4min to start printing the page. The same report getting printed in Crome browser within few seconds. IE browser is taking close to 30 seconds. I tried followed the steps provided by the Mozilla support team
    (https://support.mozilla.org/en-US/kb/fix-printing-problems-firefox?esab=a&s=slow+printing&r=0&as=s ).
    But there is no improvement. I verified that the printer has no issues, only in Firefox its taking very long time to send the document to printer.
    Thanks for your help.

    I'm not sure we can investigate this properly without access to the report, which I assume is not readily available to the public...
    Could you test in a "clean" Firefox profile and see whether you can replicate the problem there? To do that, use the profile manager:
    * Exit Firefox
    * Start > Run > firefox.exe -P {ENTER}
    * Create a new profile with the default location setting
    * Start Firefox in the new profile and try to print
    Any difference?
    To switch back to your normal profile, exit Firefox, restart the profile manager and start up in your regular profile. You can return to your previous point using History > Restore Previous Session (assuming it was not a private session).

  • After writing an html report on a floppy disk and removing it, labview shows an error message window: disk not present

    after writing an html report on a floppy disk and removing it, labview shows an error message window: disk not present.
    My pc is based on asus motherboard. Labview 7 and Windows 2000 sp4 installed.
    The error message continue also if i stop the application that generated report on a: .
    I've got this problem only on a pc: on other machines i don't have this problem (Labview only continues to access floppy but it doesn't show any window).
    Find below an example: first press the button to create a report on a: then remove the floppy, after 30-35 sec i've got the error message
    Attachments:
    prova.vi ‏55 KB

    Hi,
    I tried your vi: I don't get any error message after removing the disk but LV7 keeps on accessing the drive at regular intervals even if you stop the vi and close it!!! This is not supposed to happen.
    The only way to stop it is exit LV7.
    If you don't use the file dialog and you wire a full path, you don't get any problem.
    I also created a very simple vi that conditionally writes a text file on a: and I got the same behaviour.
    This problem occurs only with LV7, I tried the same examples in LV6.1 and everything was fine.
    If anybody wants to try I attach this simple example,
    Alberto
    Attachments:
    salva_testo1.vi ‏22 KB

  • HTML report refuses to be opened

    When I'm under "User" or "Guest" login
    on WinXP sp2 (FAT32), HTML report refuses to be opened with "Open HTML Report in browser.vi" in IE (the same story with the OPERA, forinst).
    When I'm under "Administrator", it's OK.
    How can I work it out?
    Thanks.

    Hello,
    Have you tried sharing the National Instruments folder under Program Files?  The Open HTML Report in browser.vi uses a core function whose block diagram cannot be viewd (it is password protected), but it probably calls a dll which non-administrators don't have access to.  If this doesn't work, I'll play more on my machine as well, but I am having problems creating new users at the moment so I can't try this before posting   Let me know the results, and we'll keep searching for an answer!
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear

  • Report Problems

    Hi,
    I have some problems with the report for my VI...
    therefore I have attached the important part of my VI. To explain in short what it does : The "4.2 Avi Analyse.vi" plays an AVI file and does some measurements which should be reported. The report should just contain the frontpanel image and the html-reportname should contain the timestamp information.
    The left part is just initialization so it's not interesting for my questions, but on the right I would like to change the following:
    1.)  Is it somehow possible to automatize the time stamp? Right now the user has to determine the current time/date, but I would like the programm to do it automatically. So if someone starts the AviAnalyse.VI and does a measurement there should be the time information when he starts to measure!
    I want this later as the name of the html-report, so it's very important for me and would be more comfortable to do it automatically!
    2.) The "Append Front Panel Image to Report.VI" saves the jpg with a somehow random name like "LVtemp0802479283". I would like to change this name! I have read something about this issue in the NI forum, but this wasn't helpful for me!
    3.) I have an x-y-graph in my VI with a scrollbar for the x-axis. Now I want report the whole graph and not just the visible part of my graph... Is this possible?
    Thanks for your effort
    Message Edited by Portisblaed on 02-05-2008 08:05 AM
    Attachments:
    Report.vi ‏22 KB

    "1.)  Is it somehow possible to automatize the time stamp? Right now the user has to determine the current time/date, but I would like the programm to do it automatically. So if someone starts the AviAnalyse.VI and does a measurement there should be the time information when he starts to measure!
    I want this later as the name of the html-report, so it's very important for me and would be more comfortable to do it automatically!"
    You can use the get date/time string function:
    Tom
    Message Edited by Tom Haggerty on 02-05-2008 09:48 AM
    Attachments:
    datetime.PNG ‏13 KB

Maybe you are looking for