09-30-2009 03:54 PM
I have 3D array diamension as a 9x2000x5 array. I have this array filled with data and when I attempt to read a single data point out of the array the Index Array function always reads zero. I have place a probe on the input 3D array and when I set the probe indexes to the same data point the probe shows the value stored in the array. I also have an indicator displaying the 3D array data and it shows data in all the locations. For example if I attempt to read location 0, 144,0 in the 3D array it alway returns zero. Yet I know the value in that element is 6.8616E-5. Every element I attempt to retreave from the array yields zero.
Has anyone seen the Index Array exhibit this kind of behavior?
Solved! Go to Solution.
09-30-2009 05:45 PM
No, and that's not likely to be the source of the problem. Without actually having a VI in hand, I'd guess the problem is with the indicator that displays the element you're retrieving. If I had to guess, you probably have the wrong representation for the indicator (like an integer instead of a float), or you have the digits of precision too low.
If you attach your VI we can provide a more definitive answer.
09-30-2009 07:47 PM
here is an example of indexing from a 3D array:
10-01-2009 09:16 AM