NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Teststand engine did not finish its cleanup procedure

I have a VB.NET application that creates an instance of the TestStand engine and then makes two calls to the GetTestStandPath method. That's all. When I close my application I get an error message saying, "The TestStand engine did not finish its cleanup procedure."

 

How do I make that go away?

 

I have tried calling Shutdown and waiting for the UIMsg_ShutdownComplete message. That doesn't work.

 

I have tried calling GC.Collect and GC.WaitForPendingFinalizers after doing that. I still get that error.

 

Any thoughts?

0 Kudos
Message 1 of 4
(1,526 Views)

Hello Skeptical,

 

Did you found a solution for your problem in the meantime?

 

Best Rgds 

MAGL21

0 Kudos
Message 2 of 4
(1,300 Views)

What I did instead was to  simply call the .NET method Environment.GetEnvironmentVariable("TestStandPublic64").

0 Kudos
Message 3 of 4
(1,296 Views)

Hi,

Thanks for feedback -> I found a solution for my case.

May this can help if someone has the same Error in future.

Solved: Re: How to release components correctly via Api (especially Users.ini) in vb.net - NI Commun...

 

Best Rgds 

MAGL21

Message 4 of 4
(1,286 Views)