10-31-2023 08:44 AM
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
11-02-2023 01:31 AM
Hi Zuc,
which Versions of TS / LV are you using?
Cheers
Oli
11-02-2023 09:54 AM
Hi Oli,
I'm using TestStand 2021 (21.0) and labview 2021 both at 32bit.
Best Regards,
Zuc
11-02-2023 10:02 AM
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.
11-06-2023 07:20 AM
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
12-05-2023 02:35 AM
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
12-07-2023 12:51 AM - edited 12-07-2023 12:52 AM
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