03-13-2015 12:07 PM
Hello,
I do not understand how to use the OpenG undex Array with a 2D array input. I have attached the contest help window, The help says that
"For 2D arrays, wire both the indices 0 and indices 1 inputs to specify the desired elements".
So what does that really mean? I have wired the vi as requested and the vi always puts out a 1D array. So are the two array index inputs rows and columns or what?
Solved! Go to Solution.
03-13-2015 12:14 PM
What exactly are you trying to do with this VI?
The OpenG Index Array accepts arrays of indicies and returns the elements at those indicies. If you did into the VI, you will find a FOR loop with an Index Array inside.
03-13-2015 12:29 PM
I'm pretty sure you send in your array of row indices and array of column indices and get out your 1-D array of elements.
(i.e. row array [1,5,7] and column array [4,8,10] gives you a 1-D array of the elements at (1,4),(5,8),(7,10) )
03-16-2015 07:01 AM
Hello,
Thanks that makes sense. I had this "pre-conceived" woring idea that that output of the index was supposed to be a 2d array. After playing around wiht the
inputs and looking at the block diagram it makes sense.