Once you set the input value for step to a nonzero value, the error will no longer occur.
(A step zero will cause an infinite number of loop iterations and you run out of memory).
There are still quite a few weird constructs, here are a few comments. Their meaning will become more clear once you have more experience with LabVIEW.
- STOP, is to stop the VI, not to stop a FOR loop. A FOR loop will run a predetermined number of times, if you need to stop the loop according to some condition, you need to use a while loop.
- It is not clear why you use a built array node inside the loops. Just remove it and you'll create a 1D array at the loop boundary. No need to slice it out later.
- You have the same code 4 times. You can write it once and put it inside another FOR loop that runs four times. You could even turn it into a subVI.
- There is no need to use a stacked sequence. It only clutters up the diagram and makes it less clear.
See how far you get. Good luck and happy wiring! 😄