01-12-2012 03:49 PM
I am looking for a very simple method to stop a VI execution when the preset condition is met (ex: I use a "for" loop in a "Formula Node" to read the number from an arrary, I compare the data with a constant each time the data is read, then I want to VI execution to stop when the condition is true.
Thanks.
01-13-2012 01:14 PM
Hi Iywillc!
Please take a look to the code I've attached. It includes a for loop with a stop condition. This can be created by right clicking on the loop and activating the conditional terminal.
I hope this helps!
Kind Regards
Carlos O
Applications Engineer
National Instruments
01-13-2012 01:34 PM
This is not exactly what I was lookng for. I use a"Formula Node" in my appication. A small C program (for loop to read a 1-D array) is written to compare the data in the array. If the condition is met then the execution will stop.
Thanks.
01-13-2012 02:08 PM
Update of my VI model.
01-13-2012 02:17 PM
I think I got it work.
05-16-2012 06:55 AM
Hi,
Iam using LV2009.So I can't view this example.Can anybody please convert it for me?
Thanks.
05-17-2012 03:48 PM
Hi!
There you go! The attached file is saved for LabVIEW 2009.