From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, 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: 

Array related questions

Hi Guys, can anyone explain what does the all the array Vis in the inner case structure represent in the attachment as attached? I am kind of confuse why do we initialize another array when we already have a set of data? 

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

It replaces column 11 of the original array with a new column of all 0s, except that the value is 1 at the minimum index from the for loop above. Since it replaces an entire column of the array, it is necessary to initialize a 1-D array of the correct length (the number of rows).

 

I may have rows and columns reversed in the above description.

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