LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2147221164 error code ("Class not registered")

Solved!
Go to solution

 

Dear All,
 
I just installed the complete version of LabVIEW 9.0 f3 (64 bit).  I am currently using Windows 7, 64 bit OS. When I opened my own made program which was written in older version of labview, I got this error: Error - 2147221164 occurred at Class not registered in Acquisition Initialize.vi->Main New.vi
 
 I have looked around in the forums but no clear solution to this problem. On one forum thread it says refer to the website below and follow the instructions as directed.
 
 
I tried the following methods and instructions but was not able to execute it on my computer

 


 
Can anybody help me with that? I would really appreciate it!
 

 


Regards.

 

Jonathan Lam

0 Kudos
Message 1 of 17
(28,880 Views)
Have you logged in as administrator? Have you registered all activex components that you are using? Have you installed all the required tool kits?
Message 2 of 17
(28,856 Views)
Solution
Accepted by topic author jlam

And I go maybe a bit out on my limb here, but are you sure you have all the ActiveX components used in your LabVIEW program installed as 64 Bit ActiveX controls, and they are using the same registry name as their 32 Bit counterparts??

 

Generally when you switch to 64 Bit you have to make sure that all the components are 64 Bit too. Mixing and matching 32 Bit and 64 Bit is not really an option in most cases.

Message Edited by rolfk on 05-17-2010 08:40 AM
Rolf Kalbermatter
My Blog
Message 3 of 17
(28,849 Views)

rolfk wrote:

And I go maybe a bit out on my limb here, but are you sure you have all the ActiveX components used in your LabVIEW program installed as 64 Bit ActiveX controls, and they are using the same registry name as their 32 Bit counterparts??

 

Generally when you switch to 64 Bit you have to make sure that all the components are 64 Bit too. Mixing and matching 32 Bit and 64 Bit is not really an option in most cases.

Message Edited by rolfk on 05-17-2010 08:40 AM

Nice point rolfk and I absolutely agree.

0 Kudos
Message 4 of 17
(28,839 Views)

How do I log in as an administator to make sure I have all the ActiveX components installed properly. I am still new with LabView. Any help would be much appreciated.

 

Thanks in advance.

0 Kudos
Message 5 of 17
(28,820 Views)
You do not log into LabVIEW as Administrator - you log into the computer as Administrator. That has nothing to do with LabVIEW.
0 Kudos
Message 6 of 17
(28,811 Views)
Check whether the username you are using has administrative privillage in windows...
0 Kudos
Message 7 of 17
(28,808 Views)

muks wrote:
Check whether the username you are using has administrative privillage in windows...

Actually, Windows being the "modern" operating systems that it is, this is sometimes not enough. The OS makes a distinction between the "Administrator" user, and a user with administrative privileges, and in some cases you actually have to log in as "Administrator", and not as a user who has administrative priviges. 

0 Kudos
Message 8 of 17
(28,805 Views)
I feel having an administrator rights is enough to register the required activeX components. I can actually confirm that.
0 Kudos
Message 9 of 17
(28,803 Views)

Thank you guys for the heads up. But I was trying to log in as an admin but was not able to find a way to do so. Would you guys be kind enough to teach how the steps to login?

 

Any help is much much appreciated.

 

Thanks again

0 Kudos
Message 10 of 17
(28,781 Views)