HTML Program - Unit 8
HTML Program - Unit 8
Overview
Technology is moving at a rapid pace and constant innovation is imperative for a company to survive and remain competitive. With
each new advance, numerous tests must be performed to benchmark the product and ensure a quality experience for the end
customer. These tests produce a lot of data that often must be presented to a team so that knowledgeable data driven decisions
can be made and fed into the product development lifecycle. To drive consensus among a group, the best way to present data is
through reports. Reports can highlight anomalies and help you dig into the details of why a change didnt perform as expected.
Reports can also verify that a change did impact a product positively, such as a performance improvement over the last iteration of
a product. National Instruments provides a few options for generating reports. Each method has its advantages and disadvantages
and understanding these is critical for choosing the right method for your application.
Table of Contents
1. Report Express VI
2. Report Generation VI
3. NI LabVIEW Report Generation Toolkit for Microsoft Office
4. Using DIAdem for Reporting
5. Comparison of Reporting Options
1. Report Express VI
There is an Express VI that can generate a preformatted report which contains only VI documentation, the data the VI returns, and
report properties, such as the author, company, and number of pages. When you use the Report Express VI, a Configure Report
dialog box will appear. You can set all of the report properties, testing notes and select how you would like the data displayed. You
can have two signals wired up to the Report Express VI and you can display the data as a graph and/or a table. The last item you
set is how you would like the report to be saved. You can choose to print the report without saving a soft copy to your computer,
generate HTML for a web page or save it as a Word document or Excel spreadsheet.
1/5 www.ni.com
Figure 2 An example report with one signal displayed as a graph and table
2. Report Generation VI
If you want to customize the look of your report and do not want to invest in additional software, then you can use the Report
Generations VIs. These are VIs that you wire up together to format the report however you want with as many pages or elements
as you want. You can create two types of reports, an HTML report which you can save to file or a standard report which is printed
to your connected default printer. You can save a standard report to file, but it is not a default option. To do this you must follow
some additional steps outlined in the KnowledgeBase How to Save Standard Reports (
http://digital.ni.com/public.nsf/allkb/3CC73776E6CB21A886256C380060B547). Also, if you want to add a graph to the report, you
must create a control reference of the front panel object you want to include and wire it to the Append Control Image to Report.VI
2/5 www.ni.com
Figure 4 An example HTML Report created from Report Generation VIs
The NI LabVIEW Report Generation Toolkit for Microsoft Office (http://sine.ni.com/nips/cds/view/p/lang/en/nid/209050) provides
tools for creating and editing professional, consistent reports in Microsoft Word and Excel. It extends standard report generation VI
functionality to support Word and Excel formats and the toolkit contains more than 70 additional Word-specific and Excel-specific
VIs for customizing these types of reports. You can use templates created in Word and Excel to ensure a consistent appearance
in multiple reports by specifying placeholders for text, tables, graphics and images. This toolkit is also customizable. For any
functionality that is not inherently included, you can run Microsoft Visual Basic for Applications (VBA) macros or develop your own
to add custom features.
3/5 www.ni.com
Figure 6 Report Generation Toolkit for Microsoft Office Example Report for Word
Figure 7 DIAdem Report Express VI and the Configuration Dialog Box with a report preview
5. Comparison of Reporting Options
Here is a chart comparing the different reporting options for LabVIEW Data. You can use this to make the most informed decision
for your application needs.
4/5 www.ni.com
1
2
requires the NI LabVIEW Report Generation Toolkit for Microsoft Office (http://sine.ni.com/nips/cds/view/p/lang/en/nid/209050)
requires NI DIAdem (http://www.ni.com/diadem/)
MISSION
NI equips engineers and scientists with systems that accelerate productivity, innovation, and discovery.
(http://www.youtube.com/nationalinstruments)
Contact Us (http://www.ni.com/contact-us/)
(http://privacy.truste.com/privacy-seal/National-Instruments-Corporation/validation?rid=bc6daa8f-7051-4eea-b7b5-fb24dcd96d95)
5/5 www.ni.com