jihn wrote:
What I want to do is to get the co-ordinates of the elements of the third array from the either the first or second array.
Sorry, I don't understand what you mean. What are coordinates in this context?
If you for example want to get an array of all elements from the first array corresponding to the list of indices in the "locations" array, just add another FOR loop as shown.
Your VI has a major flaw! You need to reverse the order of "Add array elements" and "to I32". The "to I32" needs to come first! (see image). If you "add" first, you'll run into problems if you have more that 32k different elements because of overflow in the I16 integer.
Message Edited by altenbach on
02-21-2008 05:22 PM