LabWindows™/CVI™ 2012 SP1 Bug Fixes


The following items are changes from LabWindows/CVI 2012 to LabWindows/CVI 2012 SP1. If you have a Bug ID, you can search this list to validate that the issue has been fixed.

Bug Fixes

Bug ID Fixed Issue Additional Information
323750 Using the Attach to Process command to debug multiple LabWindows/CVI DLLs in a single process at the same time may result in the debugger being disconnected while code is still running in one of the DLLs.  
360314 The LabWindows/CVI environment crashes when showing a time_t variable in the Watch or Variables window while debugging a 64-bit application with extended debugging enabled.  
361054 Attribute not valid error when auto-declaring a variable The error occurs only when auto-declaring in some function panel controls or within a function call in the source editor. The error can be ignored.
361327 The CNVGetScalarDataValue function expects a char* only and not a char[ ] as described in the function help.  
362403 Saving a copy of the UIR as an older version causes the currently loaded copy to switch to that version. Using the Save Copy of UIR As option will create a copy of the UIR in the specified version. However, the currently loaded UIR also changes to the specified version. If the UIR is then saved, it is saved as the earlier version.
362404 The LabWindows/CVI Run-Time Engine displays incorrectly in LabVIEW Application Builder and TestStand Deployment Utility. The Run-Time Engine will appear as "NI LabWindows/CVI Run-Time Engine @package.release.year@" instead of "NI LabWindows/CVI Run-Time Engine 2012". The incorrect text will appear in the LabVIEW Application Builder and TestStand Deployment Utility, but will appear correctly in the LabWindows/CVI Edit Installer dialog box.
363456 Compiler warning when using __int64 in switch statement expression in a 32-bit configuration. "Warning: Conversion from '__int64' to 'long' might lose data" can occur if the switch expression is of type __int64 and all of the case expressions are of type int or long. The conversion does not actually occur and the warning can be ignored.
364220 Welcome Page PDF links do not work unless you are using Adobe Acrobat. Most of the links in the What's New in LabWindows/CVI section of the Welcome Page do not work as expected. The link to See All Feature Descriptions works correctly.
365244 An internal error is reported when switching control types in the Select Attribute Constant dialog box when the filter does not match any items in the new control type's tree. The error reports that "There are no items in the list control." However, you can ignore the error.
366249 The help text for the DirSelectPopupEx function lists the incorrect values for the Selection Status return value. The correct values are as follows: VAL_NO_DIRECTORY_SELECTED 0 VAL_DIRECTORY_SELECTED 1
368271 When using an external optimizing compiler, compiler defines that are defined to strings with escaped quotations are not passed to the external compiler as strings. For example, adding the following define to the Compiler Defines section in the Build Options dialog box: /DMYDEFINE="\"abc def\"" sends the following define to the third-party compiler: /DMYDEFINE="abc def"
369355 Applications that use the DIAdem Connectivity Library that are installed using a distribution built in LabWindows/CVI might generate run-time errors related to the Microsoft Visual C++ 2005 run-time not being installed. This issue occurs with distributions that include the DIAdem Connectivity Library support by selecting the NI USI component in the Edit Installers dialog box, but do not include the full LabWindows/CVI Run-Time Engine.
370519 The LabWindows/CVI environment crashes when setting a string in the Array Display window to hexadecimal format while debugging a LabWindows/CVI application.  
371022 The LabWindows/CVI environment crashes when entering a path instead of an IP address in the New Remote Debugging Target dialog box.  
371295 Starting a drag and drop copy operation on a file in one LabWindows/CVI project and ending it as a drag and drop operation in another project leaves both projects in a bad state. If you start the drag and drop operation on a file with the <Ctrl> key pressed, but release the <Ctrl> key before dropping the file while moving the file to another project, both projects will be in a bad state.
371665 Selecting to Generate Custom Control Code for the NI Vision Image Control Custom Control results in a Redeclaration of 'Rect' error when compiling the source file.  
371711 Side-by-side error message may be displayed when including header files in the Interactive Execution window. The following error message may be reported by the Interactive Execution window: "SXS: RtlQueryInformationActivationContext() - Caller asked to use activation context from hmodule but passed NULL."
372694 A static library created in LabWindows/CVI may contain undefined debug symbols from cvistart.lib under certain conditions. If a project that is in a Debug configuration has its Target Type switched to Static Library, the configuration does not automatically switch to Release, even though static libraries can only be built in a release configuration. If the static library is built while still in a Debug configuration, the library will contain undefined debug symbols.
372773 User interfaces that use the NI Dialog font with a size other than 11 point may have text positioned incorrectly when upgraded to LabWindows/CVI 2012. This is a side effect of fixing an issue where the Microsoft Font Substitution registry key was ignored.
373262 The Ini_WriteToRegistry and Ini_ReadFromRegistry function panels incorrectly list OS compatibility as Windows 9x/NT/2000. Both functions are available in Windows XP and later.
375719 Retrieving debug info with a tooltip or opening the Variables window for arrays with more than INT_MAX elements causes the LabWindows/CVI environment to crash.  
379345 The options in the Control Settings section of the Edit Numeric dialog box for integers are always displayed as decimal values. If the format of the control is changed to a format other than decimal (e.g. hexadecimal), then the options in the Control Settings section are still displayed as decimal.
379530 Opening a UIR file containing a tab control attached to a splitter control that is saved in LabWindows/CVI 7.1 causes an "Invalid control ID" error. The example project events.prj contains events.uir, which will cause this error if saved in LabWindows/CVI 7.1.
379767 UIR files saved in LabWindows/CVI 8.1 and earlier that contain a knob, dial, gauge, or meter can corrupt the environment memory when opened in LabWindows/CVI 8.5 or later. The memory corruption may cause the LabWindows/CVI environment to crash.
380010 The Recessed Menu Ring control does not display the correct character set when there are enough entries to cause it to display a popup instead of a drop-down menu. This issue occurs for some non-English character sets when the Windows Language for non-Unicode programs option is not set to the correct Locale.
383001 The PlotText function does not place the text at the specified y-position.  
383629 The PlotText function does not display text with the background color specified by the Background Color parameter. The background color is always transparent.

Glossary of Terms


  • Bug ID - When an issue is reported to NI, you may be given this ID or find it on  You may also find IDs posted by NI on the discussion forums or in KnowledgeBase articles.
  • Legacy ID – An older issue ID that refers to the same issue.  You may instead find this issue ID in older known issues documents.
  • Description - A few sentences which describe the problem. The brief description given does not necessarily describe the problem in full detail.
  • Workaround - Possible ways to work around the problem.
  • Reported Version - The earliest version in which the issue was reported.
  • Resolved Version - Version in which the issue was resolved or was no longer applicable. "N/A" indicates that the issue has not been resolved.
  • Date Added - The date the issue was added to the document (not the reported date).