NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

C# UI (Teststand 4.2) Exception - Execution is not paused

Solved!
Go to solution

Hi,

 

I'm trying to work on an old Teststand version (4.2) on windows XP for a client that can't justify migrating to newer version of teststand because it is a product that are end-of-life but they aren't dead yet and can't tell when they will be.

 

I need to be able to extract the failure from the SequenceContext but each time I try to get the SequenceContext, an exception is raised telling "Execution is not paused".

 

First of all, how to I pause an execution from the C# UI ?

I've tried to get the SequenceContext from the following events without any success :

- axApplicationMgr_UserMessage

- axExecutionViewMgr_EndExecution

- axExecutionViewMgr_Break

- axApplicationMgr_EndExecution

 

Any idea what I'm doing wrong?

I'm pretty sure it is simple to do but can't figure out what I'm doing wrong..

 

Thanks

 

0 Kudos
Message 1 of 2
(1,874 Views)
Solution
Accepted by topic author ebonneau9

Ok, I've answered myself to the problem.


I used the ResultObject and ResultStatus to extract the ResultList PropertyObject and extract data.

 

I that way, no need to get the SequenceContext object and have problem with pausing it.

 

Hope this helps someone one day.

0 Kudos
Message 2 of 2
(1,851 Views)