To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example VI shows two methods of displaying Multiple Waveform using Clusters and Arrays, as well as how to access and modify the properties of the Waveform Graphs. This example also highlights the differences between Arrays and Clusters of Waveform Graphs.
Description
This VI demonstrates how to access and modify the properties of a Waveform Graph within a Cluster as well as all Waveform Graphs within an array. This can be helpful for when users wish to display many similar Waveform Graphs within one GUI. Since clusters can have multiple element types, this allows for programmatically changing each element individually. Consequently, we need to access each element and use a Refnum for each specific element to alter that specific class (Waveform Graph). However, within an array any programmatic changes are automatically applied to all elements. Thus, this reduces the amount of code needed, but also limits the flexibility.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram
**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.