To download NI software, including the products shown below, visit ni.com/downloads.
Overview
Code that shows how to copy data from one array and insert it into another, using Event Structures and Arrays.
Description
This code demonstrates how you can use a 2D String Array with an event structure to copy data between two 2D String indicators. When we press the Copy Data button the data in the selected part of the Generated Data array is stored in the shift register. Then when we press the Paste Data button the data is copied from the shift register to the Copied Data indicator.
Requirements
LabVIEW 2012 or compatible
Steps to Implement or Execute Code
1. Run the VI.
2. Press the Generate Data button to populate the Generated Data indicator
3. Highlight the data you would like to copy from Generated Data
4. Press the Copy Selected Data button
5. Select the cell in Copied Data Where you would like to start pasting data
6. Press the Paste Data to New Location button
Additional Information or References
**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.