From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Storing Different Data from Single Input Function

Solved!
Go to solution

Hi all,

 

I am looking for a way to store the data selected on the front panel (The "selected array"), then repeat the process and insert the next set of information below the previous in "Master Array". 

 

The purpose of the project is to be able to select "N" many channels you intend to use, then fill out channel information "N" times, where the "Master Array" contains the data of all channel information inputted. Currently, I cannot add multiple rows of channel information, it only replaces the first row. I've tried messing around with Insert into Array and Build Array but haven't found success. 

 

If you have a solution to how to store the multiple rows of channel information from using the same set of front panel controls, it would be greatly appreciated. 

0 Kudos
Message 1 of 2
(592 Views)
Solution
Accepted by topic author RyanShorette

Simply use a shift register to add a row to your 2D array at each iteration of the for loop.

Message 2 of 2
(552 Views)