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 14
(427 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 14
(406 Views)

Thank you Altenbach!

I really appreciate all your comments and would like to apologise for my behaviour, although I still believe this forum would be better off with less arrogance.
That said, I had thought about using a 2D array... much simpler, cleaner and more elegant; however, as I’ve already mentioned, I’m not an expert in LabVIEW and I have deadlines to meet. Later on, when I have more time, I’ll practise!
In the meantime, I’d like to take advantage of your kindness and ask if you know of a resource where I can learn a bit about dataflow that isn’t https://www.ni.com/docs/ (not much info there).

 

0 Kudos
Message 13 of 14
(286 Views)

@gcambie88 wrote:

Thank you Altenbach!

I really appreciate all your comments and would like to apologise for my behaviour, although I still believe this forum would be better off with less arrogance.
That said, I had thought about using a 2D array... much simpler, cleaner and more elegant; however, as I’ve already mentioned, I’m not an expert in LabVIEW and I have deadlines to meet. Later on, when I have more time, I’ll practise!
In the meantime, I’d like to take advantage of your kindness and ask if you know of a resource where I can learn a bit about dataflow that isn’t https://www.ni.com/docs/ (not much info there).

 


This forum has made people verge on tears (and that was me a few decades ago), but I realized that if you can get past that, there's a lot of knowledge to be had. It's just noise, and underneath there are people with truly generous hearts here.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 14 of 14
(250 Views)