The picture of the code you posted in your first message looks nothing like the code shown in the tutorial you posted in your second message. Can you please attach the code you used, either attaching the VI itself, or a ZIP file containing the VI, or a Snippet (which, admittedly, looks like a .PNG file, but can be dragged into a Block Diagram to magically become LabVIEW code). This will allow us to "experiment" with what you've done, and possibly try out fixes (or watch your code execute and see where it goes astray).
Bob Schor