Overview
This example VI demonstrates the use of Event Structure to copy and paste array elements.
Description
This example is intended for applications where an array of clusters is used. Sometimes it can be beneficial to set up one cluster in the array and then copy and paste the values from that cluster into separate elements. This code uses a combination of custom run time engines for copy and paste along with position calculation to determine the array index. Next the element is pulled out and placed in a shift register. Once paste is pressed the code determines the new element and replaces the values of most controls with the copied cluster.
Requirements
- LabVIEW 2012 (or compatible)
Steps to Implement or Execute Code
- Download the attached folder to your computer
- Open the VI " Copy and Paste Array Elements 2012 NIVerified.vi"
- Run the program
- Set one cluster's values to something other than default
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**