Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

why a formula doesn't change output values everytime we run the program

Hi,

I am comparing 25 output and selecting the best match. I have created a formula node with if statements. If I open the program and run it the first time it works, however if I run it a second time it does not. If I delete the output and then wire everything back it works. Does anyone know a way to make it output the correct data everytime it has run.

Thank you
Jennifer
0 Kudos
Message 1 of 2
(2,790 Views)
Jennifer,

I'm not able to reproduce the behavior you describe. Would it be possible for you to post some simplified code that illustrates the trouble you are having? Most likely, there is something else going on, so be sure to check other circumstances (such as loop dependencies) that could lead to failed indicator updating.

Regards,
E. Sulzer
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,780 Views)