09-14-2016 03:54 PM
I'm not going to just list all the things that you should do 1 by 1, but try this as a starting point for learning how to do it yourself:
1. Delete ALL of the local variables you're using now.
2. As replacements for them, either use the control or indicator wired directly in, instead of leaving them all outside of the loop doing nothing, or just use a wire. Remember that you can split a wire into as many different input terminals as you need, but it can only hook up to one output terminal.
3. If there's a value you want to set at the beginning, either use a constant on the block diagram, or wire a control to it. To set the value of a control, either input it in manually before running the VI or set the value you want it to always start as the default value (find the control on the front panel, right click, data operations, make current value default)
09-14-2016 05:08 PM
Wow. This is quite an ambitious "first attempt at LabVIEW" project. While it can be a "good thing" to have a task in mind when learning a new Programming Language, this particular task, and for this particular language, might not be an optimal pairing.
You've already been given good advice about learning the idea and nature of Data Flow, and that Local Variables (in LabVIEW) are generally the wrong way to do many things (shift registers are better ways of handling "local" data, usually). You also need to learn to think in terms of "larger concepts" (which you can encapsulate into sub-VIs).
I think your first order of business, assuming you really want to do this ambitious project yourself (as opposed to hiring someone to do it for you) is to spend a few hours watching as many "Introduction to LabVIEW" Tutorials that you can find (there are quite a few on the Web).
Some specific things I noticed on your latest code effort (besides the fact that it sprawled over a lot of screen real-estate, and had no sub-VIs), include:
Bob Schor