07-28-2014 11:49 AM
You are only reading off the first row. You need to get the entire 2D array. And then you need to index the Columns. You are indexing the rows. There is no need for the WHILE loop at all.
07-28-2014 11:53 AM
can you please attach the vi so as i get the clear idea..?
07-28-2014 11:59 AM
@Gurmohit wrote:
can you please attach the vi so as i get the clear idea..?
Those comments were based on your VI.
07-28-2014 12:03 PM
to be true, i am new to labview, so i dont know much of it.
How do i index columns??
so just asked if you could either attach vi or a snip.
07-28-2014 12:06 PM - edited 07-28-2014 12:08 PM
Are all values guaranteed to be integers? If not, and depending on the situation, I would probably use threshold/interpolate array to return interpolated values if there is no exact match.
07-28-2014 12:10 PM
@Gurmohit wrote:
to be true, i am new to labview, so i dont know much of it.
How do i index columns??
so just asked if you could either attach vi or a snip.
I did post a snippet earlier where I indexed the columns. When you wire a 2D array to an Index Array, you will see two inputs for the index. The first one is for the row and the second one is for the column. Just wire up the second one and you got the column.
The Index Array is also expandable so you can index multiple items at once. This is how I got the two columns into their own 1D arrays.
07-28-2014 12:16 PM
i tried the same, but i coudnt any result.
07-28-2014 12:26 PM