Duplicating or Printing Graph Controls in NI LabWindows™/CVI™ 2009 May Cause Memory Corruption

Updated May 14, 2018

Reported In

Software

  • LabWindows/CVI Base
  • LabWindows/CVI Full

Issue Details

In LabWindows™/CVI 2009, programmatically duplicating or printing graph controls containing plots may cause memory corruption and eventually lead to a crash in my program. How can I resolve this issue?
 

Solution

This issue affects users whose version of the LabWindows/CVI Run-Time Engine, cvirte.dll, is 9.1.0.427. This issue is caused by any functions that print or duplicate panels that contain graphs with plots, or print or duplicate graph controls that contain plots. Other functions that can cause this issue when used in conjunction with graphs with plots are:
  • GetScaledPanelDisplayBitmap
  • GetScaledCtrlDisplayBitmap
  • CopyTabPage
  • InsertPanelAsTabPage
You can resolve this issue by installing the patched version of the LabWindows/CVI 2009 Run-Time Engine found here. This patch will update the LabWindows/CVI Run-Time Engine to include a fix for this issue.
 

Additional Information

Note: You may receive a message about this patch under Product Notifications when installing National Instruments software. The message below appears if any of the components you have selected to install are dependent on the LabWindows/CVI 2009 Run-Time Engine. For example, the LabWindows/CVI Execution Profiler 1.0 installed with the NI Developer Suite.



Note: If you are installing a version of LabWindows/CVI later than 2009, you can safely ignore this message. The components built with the 2009 run-time engine can run on a later version of the run-time engine, and this patch is included in all versions of the run-time engine released after the patch.
 

WAS THIS ARTICLE HELPFUL?

Not Helpful