LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

No readout in array

I find myself stumbling over arrays (relatively new to programming labview). I am trying to build multiple deimension arrays, but get no read out of numbers in the array on the front panel. Code attached, (forum only). What am I missing ? Thank you.
0 Kudos
Message 1 of 5
(2,806 Views)
You aren't missing anything. Set the index display controls (the front panel array indicator controls w/ arrow tabs in the upper left of the array) to zero to see your array. Or right click on the index display controls, select Data Ops-> Empty array. What you've created is a 2 dimensional array, 4 rows (the outer for loop) by 6 columns (inner for loop). Remember that indexing starts at zero, so by setting the index display controls to 4 & 6, you are outside your numeric range. If you had a 5 X 7 array, you'd see the last value of the array with these settings.


2006 Ultimate LabVIEW G-eek.

Message 2 of 5
(2,806 Views)
Thank you so much. I mistakenly had the idea that I had to set the index display controls to equal the rows and columns I wanted.
0 Kudos
Message 3 of 5
(2,806 Views)
You seem to be confusing the array index display (upper left corner) with something that relates to the dimensions of the array.
The numbers in the index display are purely cosmetic and indicate the element visible in the upper left corner of the display. Set it to zeroes to have element (0,0) there. Set it to higher numbers to "scroll" through an array that is bigger than the display.
You scrolled outside the dimensions of your array and thus only see the greyed defaults.
Message 4 of 5
(2,806 Views)
Precisely where my confusion was. Thank you for your valuable input.
0 Kudos
Message 5 of 5
(2,806 Views)