LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help with an array function

I'm using the array index function and i would like to be able to control what elements go out on it.  For example, if i wanted only the first element to go out, i don't want the second element to send out zero.  Is there any way i can control what elements leave the array index function.  I also don't understand what the index inputs do on that function either.  If anyone has any advice on the application or can modify it in any way, please help.
0 Kudos
Message 1 of 3
(2,410 Views)

The index inputs determine what elements are retrieved. For example of you would wire a 10 and a 20 to your two index inputs, you would bet element #10 and element #20 of your array. You can resize it to get any desired number of elements.

If you don't wire the index inputs, you'll get the first two elements.

If you only wire the top index input (e.g a 10), you'll get element #10 and #11.

0 Kudos
Message 2 of 3
(2,398 Views)
Thanks for your help, i now know what the index function part of it does.  You are the true labview champion.
0 Kudos
Message 3 of 3
(2,392 Views)