LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

save 2d array to disc

I am trying to save 2d  collected data in array indicator to file on a button click , and resetting it  .

I can see values filled in Array indicator , but when i save it to file .

only three rows are beeing saved. what i am doing wrong ?

Thanks in advance. 

 

0 Kudos
Message 1 of 2
(2,009 Views)

If you attached a VI rather than a picture, we might be able to help figure that out.

 

Why are you using a local variable of the array in the inner most case structure rather than the array wire that is right there?  It is possible you have a race condition where the value in the Array variable is read before the latest data is written to the Array terminal.

 

Are you sure you have more than 3 rows going to the Write to Spreadsheet File?  Have you tried running with probes?  Put extra indicators in there to see what the dimensions of the 2-D array actually are?

0 Kudos
Message 2 of 2
(1,991 Views)