LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

constrained non linear optimization - ignore non-convergence

Solved!
Go to solution

Gooooooood afternoon Gurus,

 

I am running a constrained non-linear optimization vi multiple times in a for loop in some code. Occasionally, the code does not converge, which is to be expected for what I am doing. Is there anyway to tell Labview to just accept and continue automatically? Currently I am sat watching it run and clicking continue when it cant converge and sends up the error message.

 

Mucho ta-ness.

 

Paul

"When I read about the horrors of drinking, I gave up reading"
0 Kudos
Message 1 of 3
(552 Views)
Solution
Accepted by topic author MancPablo

You probably have automatic error handling enabled and the error out not connected, meaning LabVIEW will display an error popup. All you need to do is handle the error (i.e. connect something to the error out) and handle it as desired.

 

(If this does not solve your problem, feel free to provide more detail or even attach some simplified code.)

0 Kudos
Message 2 of 3
(520 Views)

Ah, basic Labview 101!

 

Sorted the problem, many thanks.

 

Paul

"When I read about the horrors of drinking, I gave up reading"
0 Kudos
Message 3 of 3
(498 Views)