From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Efficiency of Cartesian to Spherical coordinate conversion

Solved!
Go to solution

When debugging is disabled, most likely all you see is constant folding due to use of diagram constants (the result never changes so the compiler calculates it only once). You should also wire some output to prevent "dead code elimination". If the result is not used anywhere, all code leading to it is eliminated by the compiler.

 

(If you come to NI week, come to my talk in room 15. :D)

0 Kudos
Message 11 of 11
(628 Views)