|
Labview SubVI help
Hello Chief Delphi,
I am currently running LabView for NXT Mindstorms.
I have a program that makes the robot turn left, then track parallel white lines on a road before coming to a stop at a red line.
I am trying to run this specific program twice in a row. To keep my program simple looking, I placed it in a subVI. Wiring two instances of the subVI together, however, does not make the program run twice. The robot ends up finishing one subVI, however does not move on the next subVI. Manually copying and pasting the program twice onto one VI and then wiring them together does however allow the robot to complete both programs in sequence. How can I have the two subVIs wired together to work properly?
Attached are images of the main VI and the subVI's front and back diagram.
Any help about subVIs in general would be greatly appreciated as well.
|