04-27-2016 12:22 PM
Hi all,
I am using Labwindows CVI 2015 (v 15.0.0) and I faced a problem where the symptoms where:
This was happening with only one of my project. After investigation this was happening because I was initializing some global variables (before main function) using NAN constant or NotANumber function.
Once I replaced NaNs by a finite value and initialized the global variables in the main or in any other functions both previously mentioned symptoms disapeared.
I have no idea if this is an expected behaviour but I though it would worth share the information as I found nothing else about these symptoms on Internet.
I Hope that will help others.
Solved! Go to Solution.
04-27-2016 12:35 PM - edited 04-27-2016 12:43 PM
Hello,
after your report I have tried this scenario and I observed the same - closing CVI results in a 'not responding' message....
To add some more data: I used existing code of mine and just changed one line, the initialization of a double from 0.0 to NAN; then I compiled and ran the code without problem (this variable was not used in this run). I quit my software, returning to the IDE and then tried to exit CVI - when asked I discarded the changes, all open tabs disappeared, and the above mentioned message appeared...
04-29-2016 02:37 AM
Hello,
This is another aspect of this bug.
Although it's another case, the cause is the same. We are planning to fix this in an upcoming release.
The workaround for this case is to do the initialization in a function(e.g at the beginning of main()) instead of global scope.
Constantin.
04-29-2016 02:51 AM - last edited on 11-18-2024 01:58 PM by Content Cleaner
Hello Constantin,
Thank you for your feedback! It is good to read that it is going to be fixed Despite the 'stability release 2015' there are still soo many known issues...