ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array 2D

Solved!
Go to solution

Hi I have a 2D array (in the VI this is an example of 2D array). I want that for each column I read the first element of each columns and to subtract the first elements to all the elements of the relative column. For example I read the first element of the first column and I subtract its to all the other elements of the first column, then I read the first element of the second column and I subtract its to all the elements of the second column. This is a prove VI that I have created but I have no idea on how to obtain the new 2D array with all the new columns that I create with the subtraction of the first elements.

0 Kudos
Message 1 of 6
(3,697 Views)

I hope I have understood your problem, try this solution.

 

Let me know.

0 Kudos
Message 2 of 6
(3,669 Views)

Dear Ayanez, thanks for your reply. Can you give me an image or a VI with 2011 version. I don't have the last version of LabVIEW and so I can't see your VI. Sorry!

0 Kudos
Message 3 of 6
(3,625 Views)
Solution
Accepted by Mark87

Try something like this.

 

 

Download All
0 Kudos
Message 4 of 6
(3,600 Views)

Thank you for your reply! You are a great person! I would like to Know LabVIEW as you! 😄

0 Kudos
Message 5 of 6
(3,589 Views)

Of course there are always several ways to do something. Here's a slight variation that might be even simpler.

 

 

Download All
0 Kudos
Message 6 of 6
(3,572 Views)