06-22-2022 04:52 AM
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
Solved! Go to Solution.
06-22-2022 05:06 AM
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
06-22-2022 09:09 AM
This video VIWeek 2020/Proper way to communicate over serial along with going through some of the tutorials will help you a lot.
06-22-2022 09:18 AM
@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.
07-04-2022 03:56 AM
Ok thank you for your help ! much appreciated
07-04-2022 03:59 AM
I will surely check them, thank you