LabWindows™/CVI Variable Works in Debug Mode but Not in Final Package .EXE

Updated Jul 12, 2018

Reported In

Software

  • LabWindows/CVI

Issue Details

On of my variables in my .exe does not work in my final package of my LabWindows/CVI application. The variable in the GUI appears to be a zero.  It works fine in debug mode. 

Solution

Be sure you are using the correct optimization mode when creating your executable. First check if "No Optimizations" fixes the variable in your Build Options. Then look at the document LabWindows™/CVI™ Compiler Optimization Levels to choose which is the best optimization for your application. 


WAS THIS ARTICLE HELPFUL?

Not Helpful