Hello jw81,
sorry, but I can't answer your questions... It really depends on your programming problem.
For "Array Subset": Do you only need one element at a time or more? Do you need them one after the other or in a special order?
For While vs. For: Do you want to process all array elements (-> For-Loop)? Do you want to have the possibility to abort the loop before all elements are processed (or to abort on an event independent of your data array) (-> While-Loop)?
Hope this helps,
GerdW
Best regards,
GerdW

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019