Resets the running program.
Reset [ All | Uut lUutIndex]
This statement calls the OnReset event of the application modules. After the events were called the next statement following the reset statement is executed.
The sequence of OnReset event called is as follows:
Program.OnReset (if a program is currently running)
Driver(i).OnReset
System.OnReset
In ATEasy v8 the All and Uut optional clauses were added to support multiple UUT execution. The All keyword is used to mark all UUTs as pending reset. If you need to reset specific UUT use the optional UUT keyword followed by the index of the UUT (0 based number, similar to App.UutIndex) of the UUT you want to reset. When ATEasy switches to the UUT marked for reset the UUT OnReset sequence will start.
The following code is the OnClick event for the mnuReset menu item in the MainForm form which allows the user to control the application:
! MainForm.mnuReset.OnClick
print "-- Resetting application --"
Reset
Abort, OnReset, AProgram.Reset, Reset Events, About Module Events, App.UutIndex