NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

clearing seq view

Hi  ,

 

I have the following 2 declared in my class :

   public NationalInstruments.TestStand.Interop.UI.Ax.AxSequenceView axSequenceView = new NationalInstruments.TestStand.Interop.UI.Ax.AxSequenceView();
        public NationalInstruments.TestStand.Interop.UI.Ax.AxExecutionViewMgr axExecutionViewMgr = new NationalInstruments.TestStand.Interop.UI.Ax.AxExecutionViewMgr();
    

 

The sequence view is being updated correctly  .

 

I wish to know how to clear it's text resat it's content for a new run  .

 

any ideas?

 

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

3bnv -

 

You should be able to handle the EndExecution event of the ExecutionViewMgr. This event fires when the execution that corresponds to ExecutionViewMgr.Execution completes. Within the EndExecution event handler, you can call ApplicationMgr.CloseExecution(ExecutionViewMgr.Execution) to close the execution and clear the SequenceView.

 

Hope this helps.

Manooch H.
National Instruments
0 Kudos
Message 2 of 2
(2,806 Views)