Is there a simple way to control the order of execution of sub-VIs in a program without using the sequential frames? I am trying to clean up some software that someone else wrote, and it's very very difficult to see what is going on in the program because everything is hidden in a frame.
For example, the program as it exists has a 3-sequence frame at the beginning. The first frame initializes the serial port, the second frame sends an intialization command to a stepper-motor controller, and the third frame sends the "move" command to the same motor. Now in any other language, each step would be in order in the program, but I noticed that LabVIEW seems to arbitrarily execute each step in some random order if each is not in its own frame.
I suppose I'm missing something, but I'm coming from a c++ background and the whole picture-programming thing is a bit strange.
flow control
in Hardware
Posted
Is there a simple way to control the order of execution of sub-VIs in a program without using the sequential frames? I am trying to clean up some software that someone else wrote, and it's very very difficult to see what is going on in the program because everything is hidden in a frame.
For example, the program as it exists has a 3-sequence frame at the beginning. The first frame initializes the serial port, the second frame sends an intialization command to a stepper-motor controller, and the third frame sends the "move" command to the same motor. Now in any other language, each step would be in order in the program, but I noticed that LabVIEW seems to arbitrarily execute each step in some random order if each is not in its own frame.
I suppose I'm missing something, but I'm coming from a c++ background and the whole picture-programming thing is a bit strange.
Thanks