LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

infinite loop

Solved!
Go to solution

This VI is part of a bigger setup but when i run the single step option it gets stuck here and does not give a final value. The bigger picture is that my setup is working correctly but when i press the stop button it is not stopping which means that there is a sub VI running continuously and not giving out any value to the next step and when I checked it step by step it was the only subVI to not give out any output. Can you please help me to know why it is not giving an output value ? + my knowledge is limited in LabView but I need to fix this problem to run my experiments.
Thank you in advance

0 Kudos
Message 1 of 6
(1,067 Views)
Solution
Accepted by topic author Antoine339784

I could say a lot about that code, but to try and focus: use the Highlight Execution to see where the code is stuck.

 

Then ditch the sequence structure and learn to properly use serial communcation: https://www.youtube.com/watch?v=J8zw0sS6i1c

 

And learn some LabVIEW. See resources at the top: https://forums.ni.com/t5/LabVIEW/bd-p/170

 

Certified LabVIEW Architect
Message 2 of 6
(1,059 Views)
Solution
Accepted by topic author Antoine339784

This video VIWeek 2020/Proper way to communicate over serial along with going through some of the tutorials will help you a lot.

 

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 6
(1,006 Views)

@thols wrote:

I could say a lot about that code, but to try and focus: use the Highlight Execution to see where the code is stuck.

 

Then ditch the sequence structure and learn to properly use serial communcation: https://www.youtube.com/watch?v=J8zw0sS6i1c

 

And learn some LabVIEW. See resources at the top: https://forums.ni.com/t5/LabVIEW/bd-p/170

 


I salute your ability to peer into a sequence structure with 25 frames.

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 4 of 6
(999 Views)

Ok thank you for your help ! much appreciated

0 Kudos
Message 5 of 6
(856 Views)

I will surely check them, thank you 

0 Kudos
Message 6 of 6
(852 Views)