LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Appending a 1D array (from switch) to a 2D array

Greetings,
 
I would like to append a 1D column array ("Good/Bad Array") to a 2D Array ("Exisiting Array") read from a *.csv file.  I am using the "Insert Into Array" VI, but I am not getting it to work. 
 
I simply want the 1D column array ("Good/Bad Array") appended to the last column of the 2D Array ("Exisiting Array").  I don't know what I am doing wrong, but nothing is being displayed.
 
I know this is easy, but I can't figure out why it won't work for me.  I am attaching my VI and *.csv file.
 
Thanks!  🙂
Amal Patel
Download All
0 Kudos
Message 1 of 2
(2,571 Views)

I can't view your vI but the csv file you attached is not a csv file. It is an Excel file. Are you trying to read it with the Read From Spreadsheet File function? Your VI should look something like this picture though the icons will be a little different. After the Read From Spreadsheet, there is an Array size function to get the number of columns and determine where to do the insert and then there is the Insert Into Array with a constant I created.

Message Edited by Dennis Knutson on 11-13-2006 01:49 PM

Message 2 of 2
(2,547 Views)