01-23-2015 01:15 PM
LabWindows CVI 2013 compiler complained about the use of global "index" variable, even though LabWindows 2010 is OK with that. The error is a redefined error because LabWindows 2013 confused with an old C library string index function.
Is there any simple solution for that, instead of rename my "index" global variable into some other name?
Solved! Go to Solution.
01-26-2015
02:10 AM
- last edited on
11-18-2024
12:02 PM
by
Content Cleaner
Hello nhd973!
The behaviour you are experiencing is unfortunately a known issue in CVI 2013 (see incompatibilities section):
The easiest way around this is to rename your global variable.
However, there is a backdoor that you can use, which forces the LabWindows/CVI compiler to ignore builtins. You may modify the following configuration registry key to these built-ins:
HKEY_CURRENT_USER\Software\National Instruments\CVI\13.0\Environment\DisableBuiltIns
By default, this key value is False
. Setting its value to True
makes the LabWindows/CVI compiler ignore builtins, so you shouldn't see the error again.
Best regards!
- Johannes
01-26-2015 09:25 AM
Thanks for your quick response. My question is answered.