LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programatically know which index the user has selected of an array of clusters

Solved!
Go to solution

Exactly as Anand said, you are hijacking an old thread that is already marked as solved with a new problem. please start a new thread instead. And please, when attaching a VI, at least give it a unique and recognizable name. Untitled 2.vi is just plain lazy.

 

You code make very little sense. If you want to read every row one by one, you would simply autoindex the 2D array on the left boundary of a FOR loop and place a delay and indicator inside the FOR loop..

 

Why are you building a new array? If the read and write indices always match, you would just end up with a second copy of the original array, something you could do with no code at all. Since the arrays are the same, what's the point of keeping a second copy in memory?

Message 21 of 22
(365 Views)

If you want to incrementally build a new 2D array, one row at a time, you would do something as follows:

 

 

0 Kudos
Message 22 of 22
(364 Views)