LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Conditionally add value to array

Solved!
Go to solution

Hello all, 

 

I have two 2D arrays of string data in my VI (taken from an .mdb file using ADO & SQL). The "window list" array on the left is what I want to append values to. The "glass list" array on the right contains values that I want to add to the main table depending on the values of other cells.

 

For instance:

 

Window 1's Pane ID's are 2191 and 2001. Under Pane 1/Pane 2 thickness in the "window list" table, I would like to add the appropriate thickness for Pane ID 2191 and 2001 from the "glass list" table.


Below is a snip of the two tables in question.

 

This should be quite simple, but as I'm a LV rookie I'm not quite sure how to do it.

 

Many thanks,

Laura

 


window-glass lv.JPG

0 Kudos
Message 1 of 3
(2,774 Views)
Solution
Accepted by topic author lauraalkhoury

Attached should be what you want.  Let me know if you have more questions.

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
Download All
Message 2 of 3
(2,758 Views)

Absolutely perfect! Thank you so much.

0 Kudos
Message 3 of 3
(2,753 Views)