03-20-2020 09:10 AM
I'm relatively new to Labview. I have a VI that builds a 2D array and outputs it through a terminal. I have a stop command that ends the subVI and the VI runs and shows the information on the Array indicator. When I call the SubVI it runs but probe readings from the output terminal show that it has not executed. Any help would help.
03-20-2020 09:20 AM - edited 03-20-2020 09:21 AM
We cannot help unless we see some code. Please attach a simplified version of callerVI and subVI.
(Dataflow dictates that the subVI only produces output once it completes, so does it? I am not sure what you mean by "stop command".)
03-20-2020 02:14 PM
This is a very basic set up of what I need to do. The test array build VI will function correctly but will not return the array. I'm assuming the VI completes however I may be missing something very basic.
03-20-2020 02:22 PM
What in the world ?
The STOP kills LabVIEW in its tracks. Off course it will not return anything if you are killing the program.
BTW. I have never had the need to use the STOP function in over 20 years of LabVIEW programming.... you might want to reconsider what you are trying to do.
03-20-2020 10:05 PM
Obviously, yuou have some misunderstandings how LabVIEW works, so I recommend to start with a few tutorials.
Here's all you really need. The subVI will return once it has completed all code.: