LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem closing a while loop - Boolean switch stuck

Solved!
Go to solution

Oh my... you're so right! And what makes you think I haven't thought about this or don't know how to handle it?

 

Could it have been this?:

 

First of all, I wanted to apologize for my lack of knowledge, but I'm new to LabVIEW.

 

Chill out dude.

0 Kudos
Message 11 of 12
(70 Views)

@gcambie88 wrote:

So I don't have time, neither the will, to start learning a lot about LabView dataflow, 


Thanks for the clarification. This explain a lot! 😄

 

(Typically, the quality of the answers depend on the quality of the question and showing blurry pictures and ambiguous descriptions do not help. We want clear technical information, not paragraphs of perceived grievances. We are willing to help but the information flow needs to be bidirectional. Even words like "collaudo" are not well known outside certain European countries.)

 

 


@gcambie88 wrote:

 

gcambie88_0-1779261687690.png


 

If you would show some interest in the basics of dataflow, you would notice that all your code islands in the left will execute in parallel to the rest of the code and there is no guarantee that this happens before some of their locals get read in one of the structures on the right. Classic race condition. Your blatant overuse of local variables also blurs the distinction between control and indicator. There are excellent code architecture templates and this is not one of them.

 

Instead of your 15 (!) 1D array shift registers, a single 2D array shift register would simplify the code 15x, offering 15x fewer places for bugs to hide.

Message 12 of 12
(49 Views)