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 IDFixed IssueAdditional Information
323750Using 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. 
360314The 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. 
361054Attribute not valid error when auto-declaring a variableThe 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.
361327The CNVGetScalarDataValue function expects a char* only and not a char[ ] as described in the function help. 
362403Saving 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.
362404The 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.
363456Compiler 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.
364220Welcome 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.
365244An 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.
366249The 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
368271When 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"
369355Applications 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.
370519The LabWindows/CVI environment crashes when setting a string in the Array Display window to hexadecimal format while debugging a LabWindows/CVI application. 
371022The LabWindows/CVI environment crashes when entering a path instead of an IP address in the New Remote Debugging Target dialog box. 
371295Starting 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.
371665Selecting 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. 
371711Side-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."
372694A 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.
372773User 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.
373262The 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.
375719Retrieving 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. 
379345The 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.
379530Opening 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.
379767UIR 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.
380010The 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.
383001The PlotText function does not place the text at the specified y-position. 
383629The 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).