LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX control could not be loaded

Hi,

 

I have LV 2014 32-bit and 64-bit installed on my system. When I try to add a CWGraph 3D control in activex container in LV 2014 32-bit I see in the insert activex object list but I do not see the same control in LV 2014 64-bit version. I re-installed LV 2014 64-bit but the activex controls are still missing. I tried repairing LV runtime engine but I still have the same issue.

When I create the vi in 32-bit with activex control and open it in 64-bit version, the activex container says "Control could not be loaded".

 

How do I resolve this issue?

0 Kudos
Message 1 of 5
(5,271 Views)

@LVCoder wrote:

 

 

How do I resolve this issue?


If it works in 32-bit LabVIEW, but fails in 64-bit LabVIEW, run 32-bit LabVIEW.  [Are you doing something that requires prodigious amounts of memory?]

 

Bob Schor

0 Kudos
Message 2 of 5
(5,243 Views)

@Bob_Schor wrote:


[Are you doing something that requires prodigious amounts of memory?]

 


Yes, my application is 64-bit because of the tremendous amount of data that is generated during the acquisition and the all the post processing that is done on the fly. I like to keep everything in the RAM because they are fast and cheap. I did some plotting tests on 32- vs 64-bit versions when I started building the app. It would take ~5 times more time to plot the data if I have to fetch it from the disk vs RAM and it wasn't worth it. I will have to change the whole storage structure of the application if I have to support my app on 32-bit computer.

 

Back to my problem: is it possible to support cwgraphs on 64-bit machines?

0 Kudos
Message 3 of 5
(5,216 Views)

ActiveX controls are implemented as compiled binary modules. For a 64-bit application to use an ActiveX control, this needs to be compiled as 64-bit module. I'm not sure about the state of support for NI Component Works controls for 64-bit but there is a good change that it is not supported.

From a quick cursory look on the NI site it does seem like Component Works isn't sold anymore as a separate product, but gets installed by the Measurement Studio and also the LabWindows CVI package. Accordingly you would have to install the according 64-bit package to get support for 64-bit Component Works components. Measurement Studio claims to support 64-bit application development with UI control support since version 2009.

LabVIEW itself does AFAIK not come with any Component Works installation, since it does not use ActiveX for its own controls, but implements them natively as built in controls.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 4 of 5
(5,214 Views)

I couldn't find the 64-bit version of LabWindows or Measurement Studio. But the good thing is that I do not have to use the CW 3d graphs any more. I am able to do the same thing in the LVOOP 3d graphs.

 

Thanks!

0 Kudos
Message 5 of 5
(5,188 Views)