Example Code

Create and add a Table to a Word Document using Report Generation Toolkit

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview

Create and add a table to a Word document using the Report Generation Toolkit.

 

Description

This example shows how to create a word document using the report generation toolkit. It then shows how to create a table and embed it into the word document. Lastly, it shows how to query availble printers and print the document to the default printer.

 

Requirements

LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code
1. Configure the header that you would like to insert.
2. Configure the data that you would like to use.
3. Select if you would like to print the table.
4. Run the VI.

 

Additional Information or References

Snippet.png

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ben Sisney
FlexRIO V&V Engineer
National Instruments
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.