|
Re: "Wait" pauses all robot code?
Without looking at your code, I'm having to guess a bit, but it sounds like your tele is calling a subVI that takes its time to execute. On a LV diagram, a simple subVI call is synchronous, meaning that they are synchronized, and the caller will not complete until the subVI returns.
To have code run in parallel, move it into a parallel loop. Then come up with a way for the tele code to tell the parallel loop what to do. You could use fancier things, but a simple approach is to put the parallel loop into Periodic tasks, and use a global or two to let tele start things and let Periodic finish them.
Greg McKaskle
|