LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Stop Sub VI Without Stopping Main VI

If you are interested in that kind of parallelism, check here:

http://www.notatamelion.com/2015/05/04/expandable-data-processing/

And the post following. But again note that this approach only works for kinds of processing that incorporate natural dead time in which the CPU is waiting for something else to happen.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 11 of 13
(1,252 Views)

Altenbach,

    The optimization of my model is a whole seperate beast, I'm simply just trying to stop the 'Simplex.VI' early if I don't want to wait for the next iteration.  The reason I'm iterating the 'Simplex.vi' is becuase the solution is ill-formed and to arrive at the best possible solution, I take the outputs of each fitting and then feed them back in as initial guesses until the output doesn't change anymore.

0 Kudos
Message 12 of 13
(1,248 Views)

@DrNO23 wrote:

... becuase the solution is ill-formed and to arrive at the best possible solution, I take the outputs of each fitting and then feed them back in as initial guesses until the output doesn't change anymore.


That does not guarantee any "best possible solution" and is pretty pointless. All you get is a new simplex if size=1 from the new starting point, which might be a poor choice to begin with. Maybe you want to start form several grid points instead, to see where it converges to. How many adjustable parameters do you have?

0 Kudos
Message 13 of 13
(1,235 Views)