02-25-2010 11:29 AM
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?
03-10-2010 10:18 PM
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.