LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data Flow not working in LabView !!!!!!!

>Another strange thing:
>As someone wrote in this discussion - the code inside loop is not executed when you use 0 iterations. Try to add to constant any number in that loop, and it is executed !!


Most compilers are smart enough to optimize the code in loops and execute only once the computations that have a constant result for each loop. This constant result here seems to be output for 0 iteration, which is an undefined value as good as any other. Once it is stated in documentation that the result is undefined, developpers are free to optimize the code the way they want and ignore the result for 0 iteration.


LabVIEW, C'est LabVIEW

0 Kudos
Message 11 of 11
(586 Views)