NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX error for a vi called by a Sequence

Hi,

I have a sequence that calls two different vi. I have run that sequence for a lot of time without problem and also the vi were perfect. Today, during a test I have received these two errors:

 

- Error 1:

 

Details

No details

ErrorCode

-18001; An error occurred accessing the LabVIEW ActiveX automation server.

 

- Error 2:

 

Details

Lost ActiveX connection with LabVIEW server. The LabVIEW Adapter will try to reconnect on the next execution attempt.

Error Code

-18001; An error occurred accessing the LabVIEW ActiveX automation server.

 

The error number 1 is related to a vi while the seconds is related to a completely different one. What can cause the problem? How can I control or debug the ActiveX Server Status to understand something more about this random error?

 

Thank you for the help!

 

Best Regards,

Zuc

0 Kudos
Message 1 of 7
(1,223 Views)

Hi Zuc,

 

which Versions of TS / LV are you using?

 

Cheers

Oli

0 Kudos
Message 2 of 7
(1,196 Views)

Hi Oli,

 

I'm using TestStand 2021 (21.0) and labview 2021 both at 32bit.

 

Best Regards,

Zuc

0 Kudos
Message 3 of 7
(1,187 Views)

OK, I have seen this several times last week on some NI training computers during a TestStand Training. But we wer working with TS2021 and LV2023Q3.

 

Some of those occurences were IMHO related to code being recompiled in 2023Q3 and users not confirming LV dialog boxes.

Yet once the error had occured, dismissing the message boxes wouldn't help anymore and LabVIEW had to be shut down. 

0 Kudos
Message 4 of 7
(1,184 Views)

Hi Oli,

 

for me it's the second time that an error like that, assuming that it was the same cause, happens. I have always used TS and LabVIEW 2021, so I don't have any kind of recompilation. Unfortunatly, I don't have much more info in my hands. Moreover I know very little about the ActiveX part.

 

Fell free to ask any kind of log or info that you may need.

 

Best Regards,

Zuc

0 Kudos
Message 5 of 7
(1,165 Views)

Hi,

 

i'm still having this kind of error and i don't know what to do, is there someone who has a clue on the matter? At least how to avoid that my test stops for this problem.

 

Thank you for the help.

 

Best Regards,

Zuc

 

20231204_ActiveX eroor.PNG

0 Kudos
Message 6 of 7
(1,063 Views)

Hi, 

It looks like LabVIEW crashed while running the VI in that step.

 

Can you try to isolate the code in that VI that is causing LV to crash? Start with skipping that step and verifying that you do not get the error. If so, then strip out parts of the VI until the error stops happening. 

 

Regards, 

Anand Jain

NI

0 Kudos
Message 7 of 7
(1,041 Views)