Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
2 ratings:
 3 out of 5     Rate this Document

Control Could Not Be Loaded Error When Placing ActiveX Control on Front Panel

Hardware: PXI/CompactPCI>>Controllers

Problem:
When I try to place an ActiveX object from the ActiveX palette on the front panel I get the message Control could not be loaded. How can I fix this?



Solution:
The ActiveX palette item is not properly linked to the ActiveX control, so LabVIEW is unable to find the correct path to the ActiveX control on disk.

To fix this issue it may be necessary to repair the LabVIEW run-time engine:

  1. Control Panel » Add/Remove Programs »National Instruments Software 
  2. Select the appropriate NI LabVIEW Run-Time Engine and click Repair.
  3. Restart PC


Note: These steps are viable for LabVIEW Run-Time Engine 7.1.1 or lower.  Versions 8.0 and above of the run-time engine do not appear under National Instruments Software in Add/Remove Programs.  The version of LabVIEW Run-Time Engine installed can be seen in Measurement and Automation Explorer.

In addition, older versions of the LabVIEW run-time engine have been known to occasionally cause this error when the ActiveX control is installed to a directory that is not on the Windows path. Ensure that you have upgraded to the latest version of the run-time engine to solve this problem.

This message can also occur if the ActiveX control uses the .NET Framework and this framework is not installed on the PC.  In addition, it may happen if incompatible versions of the framework are being used when going from a development to target machine.  For .NET, versions 2.0 and higher are backward compatible.  For example, if the .NET Framework 3.5 is installed, aspects of the .NET Framework 2.0 can be used.



Related Links:
Drivers and Updates: LabVIEW Run-Time Engine

Attachments:
image1.JPGimage2.JPG




Report Date: 08/31/2007
Last Updated: 01/28/2009
Document ID: 4CUCEA21

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