beautypg.com

4 pause(), Ause – Teledyne LeCroy Verification Script Engine (VSE) Manual User Manual

Page 113

background image

Teledyne LeCroy

Verification Script Engine Reference Manual




Page 113 of 115



24.4 Pause()


Pauses script running. Later, script execution can be resumed or cancelled.


Format:

Pause()


Example:


If(Something_Interesting())
{

GotoEvent(); # Jump to the trace view.

Pause(); # Pause script execution.

}


Remark:

This function works only for a VS Engine controlled via a GUI. For VSEs controlled by COM/Automation™
clients, it does nothing.

When script execution is paused, the Run Verification Script window looks like:

Click this button to resume
script running.

Click right mouse button and
select 'Stop verification
script(s)' menu item to
cancel script execution.