NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to launch the 'LabVIEW.Application' ActiveX Automation server

I have migrated to Labview 2022 Q3 from LabView 2018. Done a mass compile of the all the VI files in the project. When I try to update the adapter configurations in NI TestStand (2017) via Configure -> Adapters -> LabView -> Configure -> LabView Development System -> Selected the active LabView version, I'm getting an error:

Unable to launch the 'LabVIEW.Application' ActiveX Automation server.

CoCreateInstance returned '0x80080005':

Server execution failed [Error Code: -18001]

LabView_error_TestStand_1.JPG

0 Kudos
Message 1 of 6
(817 Views)

I'd try re-booting (you probably have done so already)

 

Could also be a compatibility issue between TS2017 and LV2022... I wasn't able to find sth like a compatibiity chart 

 

Telling from your user name: have you asked any colleagues in your orpanization? Guess you're not the first one to move to a more recent LV version there

0 Kudos
Message 2 of 6
(803 Views)

Hi, 

This could happen due to multiple reasons. Some of them are:

  1. Are you launching LabVIEW or TestStand with different user privileges. Make sure none of them are not being launch as administrator.
  2. Are you using different bitness of LabVIEW and TestStand? Ideally the bitness should match. 
  3. It is possible that LV did not get registered correctly when it was installed. From the folder where LabVIEW is installed, try running LabVIEW.exe /RegServer from a command prompt. Then shutdown LV and try to configure LabVIEW adapter in TestStand again. 
  4. Do you still get this error when LabVIEW is already launched and your try to configure the adapter in TestStand?

 

Hope this helps, 

Regards, 

Anand Jain

NI

0 Kudos
Message 3 of 6
(781 Views)

Yes, restart doesn't solve the issue.

I'm trying to get information from all directions but haven't got the solution yet anywhere.

0 Kudos
Message 4 of 6
(752 Views)

Hi Anand,

I'm using both the applications with the same user privileges. I could also to run the LabView VIs and that's working fine as well.

 

I try to open the LabView application and try to do the Adapter Configuration, I do not see this error message anymore. 

But I see that error message every time after the restart of the test machine. Once I open LabView and try, it's fine.

I know I don't need to do the configuration every time, but I wanted to check if the issue is really solved or not.

 

So now I'm not sure whether the error message whatever I am observing can be ignored or not.

0 Kudos
Message 5 of 6
(749 Views)

Hi, 

It does look like the registration of LV is not correct. Did you try item 3 from my list above? Can do it both as a regular user and as an administrator?

Regards, 

Anand Jain

NI

0 Kudos
Message 6 of 6
(734 Views)