NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How can a separate thread terminate TestStand execution?

I have a separate thread that is started by calling a DLL from TestStand. It monitors UPS fault bits using a simple DIO. When a fault condition occurs, I need TestStand to terminate execution. How do I accomplish this using TestStand?
0 Kudos
Message 1 of 4
(3,631 Views)

Hi,

Easies way would be to Call the method Engine.TerminateAll

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 4
(3,627 Views)

Within my C# code, which library do I include?

 

0 Kudos
Message 3 of 4
(3,585 Views)
Howdy Jeff -

You can find the Engine.TerminateAll( ) method in the NationalInstruments.TestStand.Interop.API assembly.  It is located in <TestStand 3.5 Dir>\API\DotNet\Assemblies\CurrentVersion.

Have a great day!

Regards,

Andrew W || Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,564 Views)