Example Code

Create a Graph in a Report From a Script in DIAdem

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

  • Diadem

Code and Documents

Attachment

Download All

Overview

This script highlights an older way of creating a graph in the Report panel.

 

Description

The script creates a graph and free text and places it on the Report. This way you can create or alter reports from a script. With DIAdem 2012 and later you can use the Report object to do the same.

 

Requirements

  • DIAdem 2012 Professional Edition (or compatible)

 

Steps to Implement or Execute Code

  1. Run the script
  2. Observe how the script generates a report with the graph and text label

Additional Information or References 

 Capture.JPG

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

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