07-09-2021 07:38 AM
@paul_cardinale wrote:
- Throw that entire hideous mess into the trash
- Take the LabVIEW tutorials
- Start over
@AeroSoul wrote:
Jesus christ, how do you even read this thing?
EDIT:
Why is there an empty loop, why are there 5 loops, just one big why?
Also let me guess, you end the program by pressing "Abort execution" right? Since all the Loop conditions are wired as "Continue if true".
I agree. You need to take the tutorials and start over.
1. The Stop sign on the toolbar is NOT a Stop button, it is an abort button. You need to write your program with a proper shutdown routine.
2. Your array management is atrocious. Did you know that you can expand the Index Array to get additional indices? No need for all of those on there.
3. This is not dinner, so there's no need for spaghetti. Make it easy to follow the wires. A diagram cleanup made your code better.
4. I'm assuming that the empty loop was intended for something else.
@AMMART wrote:
If I had to guess, the issue lies within getting the true false logic across the border of the panel.
I don't even understand what you mean by this. What is the "border of the panel" that you're referring to? If I had to guess, the issue lies with you having the logic wrong.
07-09-2021 07:59 AM
Among the many possible practical suggestions, I would add the following: check the Compound arithmetic in the Boolean palette: this function enables you to reduce the number of logic function: you have 14 AND blocks in your block diagram, very often chained together. See the snippet below.
The Compound arithmetic function can be configured to combine the basic arithmetic or logic operations.