Example Code

Screenshot of Front Panel Using Report Generation Toolkit Using LabVIEW

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 Report Generation Toolkit
  • LabVIEW

Code and Documents

Attachment

Overview

This VI will get a screenshot of the Front Panel and add it to a Microsoft Word Document created every time you select "Take a Screenshot."

 

Description

In this VI we are usng the Report Generation Toolkit to take a capture of the Front Panel and send it to a word document.  A new Word document with an image of the Front Panel at that time is created whenever you hit the Boolean "Take Screenshot." In order to display data in this example we are generating random data and displaying it to a Waveform Chart.

 

Requirements

Software

LabVIEW 2013 (or compatible)

Report Generation Toolkit

 

Steps to Implement or Execute Code

  1. Open Screenshot of FP Report Generation.vi
  2. Run the VI
  3. Click "Take a screenshot" to capture the image of the Front Panel
  4. An "Untitled" Microsoft Word Document will open with an image of the Front Panel
  5. Continue to take as many screenshots as desired
  6. Hit the Stop Button to stop collecting data

Additional Information or Reference

ditional Images or Video

 1-379 BD.png

 

**This document has been updated to meet the current required format for the NI Code Exchange.**

 

Regards,

M. Whitaker
ni.com/support

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