Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
22 ratings:
 4.18 out of 5   

LabVIEW 2011 Fails to Launch on Computer with AMD FX Bulldozer CPUs



Primary Software: LabVIEW Development Systems>>LabVIEW Base Development System
Primary Software Version: 2011
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Development Systems>>LabVIEW Full Development System, LabVIEW Development Systems>>LabVIEW Professional Development System

Problem:
LabVIEW fails to start. It may eventually close with an out of memory error. It may show up in the task manager under processes but not applications.   What can I do?

Solution:
Early in the LabVIEW load process, LabVIEW calls a DLL (niCPUlib.dll) that queries the CPU for low level information (e.g. # of cores and cache size). This DLL call will encounter an issue when querying the status of AMD FX Series CPU's.

The niCPUlib.dll included with LabVIEW 2011 causes an infinite loop when executed on a computer that contains these processors. This infinite loop allocates memory, so LabVIEW eventually crashes with an out of memory error.

No errors occur during the install process and other programs such as Measurement & Automation Explorer will run properly. 

This issue has been resolved with the LabVIEW 2012 release and with the LabVIEW 2011 SP1 f1 patch.  If upgrading LabVIEW 2012 or LabVIEW 2011 SP1 f1 is not an option, a temporary fix is described below:

On 32-bit operating systems:
Navigate to the following places, delete the niCPULib.dll, and replace it with the niCPULib.dll in the attached CPU Patch LabVIEW 2011 32bit.zip.
  • <LabVIEW 2011>\resource\
  • <Program Files>\National Instruments\Shared\LabVIEW Run-Time\2011\

On 64-bit operating systems with 32-bit LabVIEW:
Navigate to the following places, delete the niCPULib.dll, and replace it with the niCPULib.dll in the attached CPU Patch LabVIEW 2011 32bit.zip.
  • <LabVIEW 2011>\resource\
  • <Program Files (x86)>\National Instruments\Shared\LabVIEW Run-Time\2011\
On 64-bit operating systems with 64-bit LabVIEW:
Navigate to the following places,  delete the niCPULib.dll,and replace it with the niCPULib.dll in the attached CPU Patch LabVIEW 2011 64bit.zip
  • <LabVIEW 2011>\resource\
  • <Program Files>\National Instruments\Shared\LabVIEW Run-Time\2011\

This issue is documented within LabVIEW R&D as CAR #333463.



Related Links:


Developer Zone Community: LabVIEW 2012 Bug Fixes
KnowledgeBase 5W2ENQYS: LabVIEW 2011 SP1 f1 Patch Details
NI Discussion Forums: LabVIEW 2011 SP1 installer problem with AMD FX processor
Developer Zone Community: LabVIEW 2011 and 2011 SP1 Known Issues by Date



Attachments:
CPU Patch LabVIEW 2011 32bit
CPU Patch LabVIEW 2011 64bit




Report Date: 02/03/2012
Last Updated: 05/30/2013
Document ID: 5U2H8PYJ

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit