01-19-2016 11:30 PM
Hi I have fixed up my codes now based on your last comment it is working. THankyou very much.
I have a side question: why do FOR loops generate 1D arrays when you take a wire out of them even if the inputs are numbers? I googled this and saw nothing so thought I would ask here if you might now.
01-20-2016 10:45 AM
For loops automatically generate 1-D arrays because the Tunnel Mode is set to 'indexing' by default. Most For loops change something each iteration, so it's assumed that you want to keep every value that is output by the loop. You can change this functionality so only put out the last value generated. I've included a link below with more information on Tunnel Modes for For loops.
Auto-Indexing For Loops
http://digital.ni.com/public.nsf/allkb/B85025233861378A86256CE700491E34
Hope this helps!
-aprillest