StopAndWaitForCompletion Method
Synchronously stops any XJEase tests or code that is currently running, and waits until completion before returning.
Type: Runner
Namespace: XJTAG.Integration.XJRunner
Syntax
public void StopAndWaitForCompletion()
Exceptions
- System.ObjectDisposedException
The Runner has already been disposed.
Remarks
Because this runs synchronously and only returns when tests complete, this method should not be called directly inside event handlers for Runner events. Doing so could prevent XJEase from completing and cause a deadlock. To stop XJEase from an event handler, instead use StopTesting or StopFunction to stop execution asynchronously.
Once tests have been aborted, the XJLink sets pins to high impedance, and the GlobalVariables are reset to their initial values - that is the value they had before the first test or XJEase was run.
See Also
XJTAG v4.2.5
